drm/i915: Disable crtcs gracefully before GPU reset on gen3/4
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Nov 2014 19:54:30 +0000 (21:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Dec 2014 08:29:39 +0000 (09:29 +0100)
commitf98ce92fea8a865b044d3bc4097e88a81efb74b5
tree9c4d550af2d8089bc1c22e95afdf6150796e5e83
parent7514747d27632f2d71dd2f1e6abd6e0451dcbf3f
drm/i915: Disable crtcs gracefully before GPU reset on gen3/4

The GPU reset also resets the display on gen3/4. The g33 docs say we
should disable all planes before flipping the reset switch. Just
disable all the crtcs instead. That seems a nicer thing to do anyway.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_uncore.c