drm/i915: Prevent double dpms on
commitadae873370266265202de840d19650a0a8289cd1
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Sep 2010 15:17:22 +0000 (6 16:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:14 +0000 (20 13:18 -0700)
tree70afad89512a5d39884ee85138420ad45e681312
parent079908f18d73154f76b8abb656d63bfeda0e201f
drm/i915: Prevent double dpms on

commit 032d2a0d068b0368296a56469761394ef03207c3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c