drm/i915: Prevent double dpms on
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Sep 2010 15:17:22 +0000 (16:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:16:41 +0000 (11:16 +0100)
commit032d2a0d068b0368296a56469761394ef03207c3
treed0cba8d5d5befb12334c7da93e16b97f09d2f5b4
parent52be11964869c948fbbb9ec7845f9c52b0d3dc09
drm/i915: Prevent double dpms on

Arguably this is a bug in drm-core in that we should not be called twice
in succession with DPMS_ON, however this is still occuring and we see
FDI link training failures on the second call leading to the occassional
blank display. For the time being ignore the repeated call.

Original patch by Dave Airlie <airlied@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_display.c