* [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge
@ 2024-10-22 8:09 Jani Nikula
2024-10-22 8:19 ` Matthew Auld
2024-10-22 8:21 ` ✗ CI.Patch_applied: failure for " Patchwork
0 siblings, 2 replies; 4+ messages in thread
From: Jani Nikula @ 2024-10-22 8:09 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: jani.nikula, Rodrigo Vivi
../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 [-Werror=incompatible-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);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Fixes: c141cf76918e ("Merge drm/drm-next into drm-intel-next")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/xe/display/xe_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 957ae763531d..ca00a365080f 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -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)
--
2.39.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge
2024-10-22 8:09 [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge Jani Nikula
@ 2024-10-22 8:19 ` Matthew Auld
2024-10-22 9:13 ` Jani Nikula
2024-10-22 8:21 ` ✗ CI.Patch_applied: failure for " Patchwork
1 sibling, 1 reply; 4+ messages in thread
From: Matthew Auld @ 2024-10-22 8:19 UTC (permalink / raw)
To: Jani Nikula, intel-gfx, intel-xe; +Cc: Rodrigo Vivi
On 22/10/2024 09:09, Jani Nikula wrote:
> ../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 [-Werror=incompatible-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);
> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
>
> Fixes: c141cf76918e ("Merge drm/drm-next into drm-intel-next")
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Matthew Auld <matthew.auld@intel.com>
> ---
> drivers/gpu/drm/xe/display/xe_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
> index 957ae763531d..ca00a365080f 100644
> --- a/drivers/gpu/drm/xe/display/xe_display.c
> +++ b/drivers/gpu/drm/xe/display/xe_display.c
> @@ -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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* ✗ CI.Patch_applied: failure for drm/xe: fix build failure originating from backmerge
2024-10-22 8:09 [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge Jani Nikula
2024-10-22 8:19 ` Matthew Auld
@ 2024-10-22 8:21 ` Patchwork
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2024-10-22 8:21 UTC (permalink / raw)
To: Jani Nikula; +Cc: intel-xe
== Series Details ==
Series: drm/xe: fix build failure originating from backmerge
URL : https://patchwork.freedesktop.org/series/140297/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: aa0898115bcf drm-tip: 2024y-10m-21d-17h-57m-13s 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: drm/xe: fix build failure originating from backmerge
Patch failed at 0001 drm/xe: fix build failure originating from backmerge
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".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge
2024-10-22 8:19 ` Matthew Auld
@ 2024-10-22 9:13 ` Jani Nikula
0 siblings, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2024-10-22 9:13 UTC (permalink / raw)
To: Matthew Auld, intel-gfx, intel-xe; +Cc: Rodrigo Vivi
On Tue, 22 Oct 2024, Matthew Auld <matthew.auld@intel.com> wrote:
> On 22/10/2024 09:09, Jani Nikula wrote:
>> ../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 [-Werror=incompatible-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);
>> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
>>
>> Fixes: c141cf76918e ("Merge drm/drm-next into drm-intel-next")
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> Acked-by: Matthew Auld <matthew.auld@intel.com>
Thanks, pushed to din.
BR,
Jani.
>
>
>> ---
>> drivers/gpu/drm/xe/display/xe_display.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
>> index 957ae763531d..ca00a365080f 100644
>> --- a/drivers/gpu/drm/xe/display/xe_display.c
>> +++ b/drivers/gpu/drm/xe/display/xe_display.c
>> @@ -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)
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-22 9:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 8:09 [drm-intel-next PATCH] drm/xe: fix build failure originating from backmerge Jani Nikula
2024-10-22 8:19 ` Matthew Auld
2024-10-22 9:13 ` Jani Nikula
2024-10-22 8:21 ` ✗ CI.Patch_applied: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox