Files
linux/drivers
Alban Browaeys 46ef195647 drm/i915: Prevent a machine hang by checking crtc->active before loading lut
commit aed3f09db3 upstream.

Before loading the lut (gamma), check the active state of intel_crtc,
otherwise at least on gen2 hang ensue.

This is reproducible in Xorg via:
  xset dpms force off
then
  xgamma -rgamma 2.0 # freeze.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44505
Signed-off-by: Alban Browaeys <prahal@yahoo.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-12 10:32:39 -07:00
..
2012-02-06 09:24:01 -08:00
2011-05-26 17:12:32 -07:00
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2011-05-06 09:27:55 -07:00
2012-01-25 17:24:44 -08:00
2012-03-12 10:32:38 -07:00
2011-06-14 15:15:25 +09:00
2012-01-06 14:13:48 -08:00
2011-05-30 11:14:15 +09:30
2011-11-21 14:31:14 -08:00