Unverified Commit 0a86a9e8 authored by Rodrigo Vivi's avatar Rodrigo Vivi
Browse files

drm/xe/display: Delay hpd_init resume



Align with i915 and only initialize hotplugs after the display driver
access has been resumed.

Reviewed-by: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241113225016.208673-5-rodrigo.vivi@intel.com


Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent bd5dd979
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -439,11 +439,12 @@ static void __xe_display_pm_resume(struct xe_device *xe, bool runtime)
		drm_mode_config_reset(&xe->drm);

	intel_display_driver_init_hw(xe);
	intel_hpd_init(xe);

	if (!runtime && has_display(xe))
		intel_display_driver_resume_access(xe);

	intel_hpd_init(xe);

	if (!runtime && has_display(xe)) {
		intel_display_driver_resume(xe);
		drm_kms_helper_poll_enable(&xe->drm);