drm/i915: Apply the force-detect VGA w/a to Valleyview
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Aug 2013 22:51:06 +0000 (19:51 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2013 09:10:55 +0000 (11:10 +0200)
commit10603caacf599297c7da0c4f4db440d015b8131a
tree1982b2a47c80f0bdfc021b9669d980e9009b14cd
parent97e4eed7dc532e20208b0bdf7ad1136569da2f35
drm/i915: Apply the force-detect VGA w/a to Valleyview

It appears that Valleyview shares its VGA encoder with more recent
siblings and requires the same forced detection cycle after a hardware
reset before we can rely on hotplugging.

Reported-and-tested-by: kobeqin <kobe.qin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67733
Tested-by: kobeqin <kobe.qin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Check for gen >= 5 insted, acked by Chris.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c