drm/xe/display: Change HPD to polling on runtime suspend
Subsystems (3)
PATCH v3 1/1 drm/xe/display: Change HPD to polling on runtime suspend
HPD is interrupt based and on runtime suspend change it to polling as HPD is not a wakeup event. A worker thread is scheduled for doing this polling and it keeps polling for HPD live status on an internval of 10s. On runtime resume disable polling and fallback to interrupt mechanism.
v2: move poll_enable() to xe_display(Imre)
v3: removed un-wanted comments (Jani)
--- drivers/gpu/drm/xe/display/xe_display.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/xe/display/xe_display.c +3 -0
@@ -315,6 +315,9 @@ void xe_display_pm_suspend(struct xe_device *xe, bool runtime)intel_hpd_cancel_work (xe); +if (runtime) +intel_hpd_poll_enable (xe); +intel_suspend_encoders (xe);intel_opregion_suspend (xe, s2idle ?PCI_D1 : PCI_D3cold);
Signature · 1 line
2.25.1
Patchwork
CI✗ CI.Patch_applied: failure for drm/xe/display: Change HPD to polling on runtime suspend (rev2)
== Series Details ==
== Series Details ==
Series: drm/xe/display: Change HPD to polling on runtime suspend (rev2)
URL : https://patchwork.freedesktop.org/series/137025/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: a95e3e46063d drm-tip: 2024y-08m-10d-04h-20m-54s UTC integration manifest === git am output follows ===
error: patch failed: drivers/gpu/drm/xe/display/xe_display.c:315
error: drivers/gpu/drm/xe/display/xe_display.c: patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Applying: drm/xe/display: Change HPD to polling on runtime suspend Patch failed at 0001 drm/xe/display: Change HPD to polling on runtime suspend
Patchwork
CI✗ Fi.CI.BUILD: failure for drm/xe/display: Change HPD to polling on runtime suspend (rev2)
In reply to Arun R Murthy== Series Details ==
== Series Details ==
Series: drm/xe/display: Change HPD to polling on runtime suspend (rev2)
URL : https://patchwork.freedesktop.org/series/137026/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/137026/revisions/2/mbox/ not applied
Applying: drm/xe/display: Change HPD to polling on runtime suspend
Using index info to reconstruct a base tree...
M drivers/gpu/drm/xe/display/xe_display.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/xe/display/xe_display.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/xe/display/xe_display.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/xe/display: Change HPD to polling on runtime suspend
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced
Jani Nikula
maintainerRe: ✗ Fi.CI.BUILD: failure for drm/xe/display: Change HPD to polling on runtime suspend (rev2)
Quoted 8 lines · Patchwork
== Series Details ==
Series: drm/xe/display: Change HPD to polling on runtime suspend (rev2)
URL : https://patchwork.freedesktop.org/series/137026/
State : failure== Summary ==
Quoted 14 lines
Error: patch https://patchwork.freedesktop.org/api/1.0/series/137026/revisions/2/mbox/ not applied
Applying: drm/xe/display: Change HPD to polling on runtime suspend
Using index info to reconstruct a base tree...
Mdrivers/gpu/drm/xe/display/xe_display.c
Falling back to patching base and 3-way merge...
Auto-mergingdrivers/gpu/drm/xe/display/xe_display.c
CONFLICT (content): Merge conflict indrivers/gpu/drm/xe/display/xe_display.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/xe/display: Change HPD to polling on runtime suspend
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced
Please rebase, the last one already failed to apply.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel