]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Jan 2021 20:32:49 +0000 (20:32 +0000)
commitca50333752895441a18b49288e802ab307e2dfd4
treedd6d7273c1bdcd77df3d320d5cdb3828eda36c41
parent5ebb865a62a17418bc89e6331c07be45513648ca
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: 72e2ad7bdcca ("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
drivers/gpu/drm/i915/i915_drv.c