Skip to content
Commit 492be2a0 authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

drm/xe/display: Match i915 driver suspend/resume sequences better



Suspend fbdev sooner, and disable user access before suspending to
prevent some races. I've noticed this when comparing xe suspend to
i915's.

Matches the following commits from i915:
24b412b1 ("drm/i915: Disable intel HPD poll after DRM poll init/enable")
1ef28d86 ("drm/i915: Suspend the framebuffer console earlier during system suspend")
bd738d85 ("drm/i915: Prevent modesets during driver init/shutdown")

Thanks to Imre for pointing me to those commits.

Driver shutdown is currently missing, but I have some idea how to
implement it next.

Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240806105044.596842-2-maarten.lankhorst@linux.intel.com


Signed-off-by: default avatarMaarten Lankhorst,,, <maarten.lankhorst@linux.intel.com>
parent 7116c35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment