drm/i915: Disable outputs during unregister
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Dec 2020 16:16:01 +0000 (16:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Dec 2020 19:21:09 +0000 (19:21 +0000)
commit9d8fddf8579a2a20d0e8a8b631547069a62b953e
tree03240ea0dd258b4d28644dc2eeaecba306ab4bad
parent005650283a9b97993629daa1ab5e0aa127282fd1
drm/i915: Disable outputs during unregister

Switch off the scanout during driver unregister, so we can shutdown the
HW immediately for unbind.

v2: Remove the old shutdown from remove, it should now be redundant.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201204161601.20897-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c