drm/i915: mark display port DPMS state as 'ON' when enabling output
authorKeith Packard <keithp@keithp.com>
Sun, 3 Oct 2010 20:33:49 +0000 (13:33 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Oct 2010 09:16:09 +0000 (10:16 +0100)
commit2c6be944111a873ce96865f1a6033056bdf0d0e2
tree5bc4b69e9669e878dd45ad72078d2591d95e750e
parent35b62a89b0723ca05831f2edfff6deebe1806f21
drm/i915: mark display port DPMS state as 'ON' when enabling output

The display port DPMS state is tracked internally in the display port
driver so that when a hotplug event comes along, the driver can know
whether to try retraining the link. This doesn't work well if the
driver never sets the DPMS state to ON when the output is enabled.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c