]> 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)
commit19fe4ac6f0e7163daf9375a4d39947389ae465fa
treedd6d7273c1bdcd77df3d320d5cdb3828eda36c41
parent5f8be91161b37e9396a8a4d4e014decbbe30383b
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
drivers/gpu/drm/i915/i915_drv.c