summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorSteve Aarnio2009-02-12 20:34:02 +0100
committerDave Airlie2009-02-20 03:21:12 +0100
commit67eabc0553a32c491fdb392ff2358a0384562050 (patch)
tree3110a71cedec4f54b8fe6fb60bb34ce7da4235b9 /drivers/gpu/drm/i915/i915_gem.c
parentdrm: Release user fbs in drm_release (diff)
downloadkernel-qcow2-linux-67eabc0553a32c491fdb392ff2358a0384562050.tar.gz
kernel-qcow2-linux-67eabc0553a32c491fdb392ff2358a0384562050.tar.xz
kernel-qcow2-linux-67eabc0553a32c491fdb392ff2358a0384562050.zip
drm/i915: Don't add panel_fixed_mode to the probed modes list at LVDS init.
In the case where no EDID data is read from the device, adding the panel_fixed_mode pointer to the probed modes list causes data corruption. If the panel_fixed_mode pointer is added to the probed modes list at init time, a copy of the mode is added again at drm_get_modes() request time. Then, the panel_fixed_mode pointer is freed because it is seen as a duplicate mode. Unfortunately, this pointer is still stored and used in mode_fixup(). Because the panel_fixed_mode data is copied and returned at drm_get_modes() time, it is unnecessary to add this information at init time. Signed-off-by: Steve Aarnio <steve.j.aarnio@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions