drm/i915: Short-circuit no-op vga_set_state()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2014 20:37:03 +0000 (18:37 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:52:56 +0000 (18:52 +0100)
commitc0cc8a556680afbfc6dc5033bdf9c8d2b85088e2
tree6ddaad6df7b4d031ae960727edf6f1a34b1c0ff1
parent75fa041de7d520007cdf519fed5c208f5ffffdf4
drm/i915: Short-circuit no-op vga_set_state()

Touching the VGA registers risks a hard machine hang, at least on this
ivb machine after removing a conflicting efifb. This is more than likely
related to the discovery that VGA IO decode on the more recent PCH
platforms is terminally broken.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c