git: drm/i915: Use fb->pitches[0] for stride. Remove duplicate kmalloc call.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Nov 27 11:00:23 PST 2015


commit f9dc6f4420afa274bb41ddafc1109b068003050b
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Nov 26 23:00:52 2015 +0100

    drm/i915: Use fb->pitches[0] for stride. Remove duplicate kmalloc call.
    
    * We can directly use fb->pitches[0] for the stride in intel_fbdev.c.
    
    * Remove duplicate kmalloc call for struct fb_info in intel_fbdev.c.

Summary of changes:
 sys/dev/drm/i915/intel_fbdev.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9dc6f4420afa274bb41ddafc1109b068003050b


-- 
DragonFly BSD source repository


More information about the Commits mailing list