diff options
author | Alban Browaeys <prahal@yahoo.com> | 2012-02-24 17:12:45 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 10:32:39 -0700 |
commit | 46ef1956475fd62f21ee67b3f49dbfe2a60fa13d (patch) | |
tree | 29deaf0113cc7ab774cb6b9e25650cf076de7b86 /arch/arm/mach-lpc32xx | |
parent | 9eb9e47632735bb3bb3da343663ea10a6954ef31 (diff) | |
download | kernel_samsung_smdk4412-46ef1956475fd62f21ee67b3f49dbfe2a60fa13d.zip kernel_samsung_smdk4412-46ef1956475fd62f21ee67b3f49dbfe2a60fa13d.tar.gz kernel_samsung_smdk4412-46ef1956475fd62f21ee67b3f49dbfe2a60fa13d.tar.bz2 |
drm/i915: Prevent a machine hang by checking crtc->active before loading lut
commit aed3f09db39596e539f90b11a5016aea4d8442e1 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>
Diffstat (limited to 'arch/arm/mach-lpc32xx')
0 files changed, 0 insertions, 0 deletions