diff options
author | Maarten Lankhorst <[email protected]> | 2024-08-06 12:50:43 +0200 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2024-09-04 12:24:07 -0400 |
commit | 269a3f60843b9d2045e0c09d4bd34a91ed4222aa (patch) | |
tree | d131d8d25b576ae824ff007beda44627f7e47db4 /rust/compiler_builtins.rs | |
parent | 82122d1f54ec2244fb9c367ee2390b51ce08cf44 (diff) |
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:
24b412b1bfeb ("drm/i915: Disable intel HPD poll after DRM poll init/enable")
1ef28d86bea9 ("drm/i915: Suspend the framebuffer console earlier during system suspend")
bd738d859e71 ("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: Maarten Lankhorst <[email protected]>
Cc: Imre Deak <[email protected]>
Reviewed-by: Uma Shankar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Maarten Lankhorst,,, <[email protected]>
(cherry picked from commit 492be2a070f023c66aaef6ebd664567fda28c2a6)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions