]> 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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Jan 2021 10:10:34 +0000 (12:10 +0200)
commitb3a321bd456ba9f8a3a9e936265ce5fb2982d4c9
tree56c013b2764c5a5796dcefe271356557a330b81e
parent064e14819d06de5d80174bbfc99f14e54c3a7629
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: 4bef0e789624 ("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