drm/i915: Disable RPM wakeref assertions during driver shutdown
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 20:39:05 +0000 (20:39 +0000)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Jan 2021 10:10:34 +0000 (12:10 +0200)
commit057fe3535eb35696ad5a849d01d61efa930d2182
tree56c013b2764c5a5796dcefe271356557a330b81e
parent00cb645fd7e29bdd20967cd20fa8f77bcdf422f9
drm/i915: Disable RPM wakeref assertions during driver shutdown

As with the regular suspend paths, also disable the wakeref assertions
as we disable the driver during shutdown.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2899
Fixes: fe0f1e3bfdfe ("drm/i915: Shut down displays gracefully on reboot")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104203905.19248-1-chris@chris-wilson.co.uk
(cherry picked from commit 19fe4ac6f0e7163daf9375a4d39947389ae465fa)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.c