1
0
Fork 0
alistair23-linux/drivers/gpu/drm/i915
Steve Aarnio 67eabc0553 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>
2009-02-20 12:21:12 +10:00
..
Makefile drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00
dvo.h drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
dvo_ch7xxx.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ch7017.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ivch.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_sil164.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_tfp410.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_dma.c drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_drv.c drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_drv.h drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_gem.c drm/i915: Unpin the hws if we fail to kmap. 2009-02-20 12:21:11 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c drm/i915: Add /proc debugging entry for reading out the HWS. 2008-12-29 17:47:22 +10:00
i915_gem_tiling.c drm/i915: hold mutex for unreference() in i915_gem_tiling.c 2009-02-20 12:21:09 +10:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_mem.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
i915_opregion.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
i915_reg.h drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_suspend.c drm/i915: Save/restore HWS_PGA on suspend/resume 2008-11-26 15:47:25 +10:00
intel_bios.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_bios.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_crt.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
intel_display.c drm/i915: Set framebuffer alignment based upon the fence constraints. 2009-02-20 12:21:11 +10:00
intel_drv.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_dvo.c drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
intel_fb.c drm/i915: Unpin the fb on error during construction. 2009-02-20 12:21:11 +10:00
intel_hdmi.c drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00
intel_i2c.c i2c: Delete many unused adapter IDs 2009-01-26 21:19:52 +01:00
intel_lvds.c drm/i915: Don't add panel_fixed_mode to the probed modes list at LVDS init. 2009-02-20 12:21:12 +10:00
intel_modes.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_sdvo.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00
intel_sdvo_regs.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_tv.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00