Unverified Commit 1ed59158 authored by Rodrigo Vivi's avatar Rodrigo Vivi
Browse files

drm/xe/display: Remove hpd cancel work sync from runtime pm path



This function will synchronously cancel and wait for many display
work queue items, which might try to take the runtime pm reference
causing a bad deadlock. So, remove it from the runtime_pm suspend patch.

Reported-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250212192447.402715-1-rodrigo.vivi@intel.com


Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent b7446752
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@ static void __xe_display_pm_suspend(struct xe_device *xe, bool runtime)

	xe_display_flush_cleanup_work(xe);

	if (!runtime)
		intel_hpd_cancel_work(xe);

	if (!runtime && has_display(xe)) {