linux/drivers/gpu/drm/i915
Jesse Barnes 06891e27a9 drm/i915: fix suspend/resume breakage in lid notifier
We now unconditionally restore the mode at lid open time since some
platforms turn off the panel, pipes or other display elements when the
lid is closed.  There's a problem with doing this at resume time
however.

At resume time, we'll get a lid event, but restoring the mode at that
time may not be safe (e.g. if we get the lid event before global state
has been restored), so check the suspended state and make sure our
restore is locked against other mode updates.

Tested-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-17 14:42:54 -07:00
..
dvo_ch7xxx.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ch7017.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ivch.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_sil164.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_tfp410.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo.h drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
i915_debugfs.c drm/i915: Pad ringbuffer with NOOPs before wrapping 2009-09-06 11:29:06 -07:00
i915_dma.c drm/i915: Implement GPU reset on i965 2009-09-17 14:36:22 -07:00
i915_drv.c drm/i915: fix suspend/resume breakage in lid notifier 2009-09-17 14:42:54 -07:00
i915_drv.h drm/i915: fix suspend/resume breakage in lid notifier 2009-09-17 14:42:54 -07:00
i915_gem_debug.c drm/i915: Catch up to obj_priv->page_list rename in disabled debug code. 2009-06-22 20:19:39 -07:00
i915_gem_tiling.c drm/i915: get the bridge device once. 2009-09-08 11:45:15 +10:00
i915_gem.c drm/i915: Make dev_priv->mm.wedged an atomic_t 2009-09-17 14:36:46 -07:00
i915_ioc32.c
i915_irq.c drm/i915: Make dev_priv->mm.wedged an atomic_t 2009-09-17 14:36:46 -07:00
i915_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915_opregion.c drm/i915: fix opregion backlight chip detect and range 2009-09-17 14:32:08 -07:00
i915_reg.h drm/i915: Implement GPU reset on i965 2009-09-17 14:36:22 -07:00
i915_suspend.c drm/i915: Refactor save/restore code 2009-09-17 14:34:27 -07:00
intel_bios.c drm/i915: Fix SSC frequence for IGDNG 2009-09-17 14:31:01 -07:00
intel_bios.h drm/i915: Add eDP support on IGDNG mobile chip 2009-07-29 15:16:19 -07:00
intel_crt.c drm/i915: Remove DAC disable in CRT force detect on IGDNG 2009-09-17 14:31:06 -07:00
intel_display.c drm/i915: Fix LVDS panel fitting on Arrandale 2009-09-17 14:31:10 -07:00
intel_dp_i2c.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_dp.c drm/i915: Set crtc/clone mask in different output devices 2009-08-24 17:01:33 -07:00
intel_dp.h drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_drv.h drm/i915: framebuffer compression for pre-GM45 2009-09-10 19:46:07 -07:00
intel_dvo.c drm/i915: Set crtc/clone mask in different output devices 2009-08-24 17:01:33 -07:00
intel_fb.c drm: fix two issues with fb consolidation. 2009-08-31 10:33:29 +10:00
intel_hdmi.c drm/i915: Set crtc/clone mask in different output devices 2009-08-24 17:01:33 -07:00
intel_i2c.c drm/i915: add dynamic clock frequency control 2009-09-04 13:05:38 -07:00
intel_lvds.c drm/i915: fix suspend/resume breakage in lid notifier 2009-09-17 14:42:54 -07:00
intel_modes.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_sdvo_regs.h drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_sdvo.c drm/i915: Add the missing clone_mask for SDVO-VGA(RGB1) 2009-09-10 11:30:54 -07:00
intel_tv.c drm/i915: select TV format according to connector type 2009-09-04 13:05:10 -07:00
Makefile drm/i915: Move i915_gem_debugfs.c to i915_debugfs.c 2009-09-04 13:05:08 -07:00