drm/i915: Suspend the framebuffer console during driver shutdown
authorImre Deak <imre.deak@intel.com>
Thu, 4 Jan 2024 08:30:01 +0000 (10:30 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 8 Jan 2024 16:51:32 +0000 (18:51 +0200)
commitf4ed123ae295e3ce6f52d054540fdce258ea47e1
treea580f8a2114f156250fa084c9e1ef9c630571b24
parent24b412b1bfebb29ffca93bec215d26fd3a85a405
drm/i915: Suspend the framebuffer console during driver shutdown

Suspend the FB console during driver shutdown the same way this is done
during system resume. This should prevent any HPD event to trigger a new
FB probe/modeset cycle happening in parallel with the display HW
disable/uninitialize steps.

A preceding FB HPD event handling may be still pending, resulting in a
probe/modeset like the above, these will be prevented by a later change
in this patchset.

Link: https://patchwork.freedesktop.org/patch/msgid/20240104083008.2715733-6-imre.deak@intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_driver.c