]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear unused fields of mode for framebuffer creation
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Nov 2012 22:25:07 +0000 (22:25 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:46 +0000 (23:51 +0100)
commit0b1419d5992d50b62a826bba4047edbac7f76dd8
tree1fe00a8b54655cb7bdd4e5a3234560948c68bf93
parentc3f4b436af5a6a053d37b95de4d946d94a8f53d6
drm/i915: Clear unused fields of mode for framebuffer creation

With the stricter checks introduced in
commit ac911edae5960d7dccd9883f5fa5d25b591520de
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Oct 31 17:50:19 2012 +0200

    drm/i915: Check the framebuffer offset

(and friends), it became especially prudent to make sure that the
additional fields inside the mode were cleared before attempting to
create a framebuffer. In particular, the fb created for load detection
failed to do so and hence failed.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c