drm/i915: Zero initialize mode_cmd
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 May 2012 18:08:56 +0000 (21:08 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 11:27:58 +0000 (13:27 +0200)
commit3a7f2f6a9e43f2c5ce45d4ca19c43bf61df3f0dd
tree98bc9d0c635eeaed48b32be9fcfff2cb4b6bae29
parentde2b998552c1534e87bfbc51ec5734b02bc89020
drm/i915: Zero initialize mode_cmd

Zero initialize the mode_cmd structure when creating the kernel
framebuffer. Avoids having uninitialized data in offsets[0] for
instance.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fb.c