linux-next: build failure after merge of the drm-xe tree
Hi all,
After merging the drm-xe tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/gpu/drm/xe/display/xe_display.c: In function 'xe_display_pm_shutdown':drivers/gpu/drm/xe/display/xe_display.c:382:27: error: passing argument 1 of 'intel_dmc_suspend' from incompatible pointer type [-Wincompatible-pointer-types]
382 | intel_dmc_suspend(xe);
| ^~
| |
| struct xe_device *
In file included from drivers/gpu/drm/xe/display/xe_display.c:24:
drivers/gpu/drm/i915/display/intel_dmc.h:22:46: note: expected 'struct intel_display *' but argument is of type 'struct xe_device *'
22 | void intel_dmc_suspend(struct intel_display *display);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~Caused by commit
501d799a47e2 ("drm/xe: Wire up device shutdown handler")
interacting with commit
5c30cfa295cc ("drm/i915/dmc: Convert DMC code to intel_display")
from the drm-intel tree.
I have applied the following merge fix patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 1 Oct 2024 11:30:00 +1000
Subject: [PATCH] fix up for "drm/xe: Wire up device shutdown handler"
interacting with commit
5c30cfa295cc ("drm/i915/dmc: Convert DMC code to intel_display")
from the drm-intel tree.
--- drivers/gpu/drm/xe/display/xe_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/display/xe_display.c +1 -1
@@ -379,7 +379,7 @@ void xe_display_pm_shutdown(struct xe_device *xe)intel_opregion_suspend (display, PCI_D3cold); -intel_dmc_suspend (xe); +intel_dmc_suspend (display); }void xe_display_pm_runtime_suspend (struct xe_device *xe)
Signature · 5 lines
2.45.2 -- Cheers, Stephen Rothwell
Patchwork
CI✗ CI.Patch_applied: failure for linux-next: build failure after merge of the drm-xe tree
== Series Details ==
== Series Details ==
Series: linux-next: build failure after merge of the drm-xe tree
URL : https://patchwork.freedesktop.org/series/139353/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: 4e4d7873ac76 drm-tip: 2024y-09m-30d-16h-43m-25s UTC integration manifest === git am output follows ===
error: patch failed: drivers/gpu/drm/xe/display/xe_display.c:379
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
Applying: linux-next: build failure after merge of the drm-xe tree Patch failed at 0001 linux-next: build failure after merge of the drm-xe tree 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".
Patchwork
CI✗ Fi.CI.BUILD: failure for linux-next: build failure after merge of the drm-xe tree
In reply to Stephen Rothwell== Series Details ==
== Series Details ==
Series: linux-next: build failure after merge of the drm-xe tree
URL : https://patchwork.freedesktop.org/series/139354/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/139354/revisions/1/mbox/ not applied
Applying: linux-next: build failure after merge of the drm-xe tree
error: sha1 information is lacking or useless (drivers/gpu/drm/xe/display/xe_display.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 linux-next: build failure after merge of the drm-xe tree
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