Skip to contentSkip to conversation

fixup! drm/xe/uc: Store firmware binary in system-memory backed BO

PATCH In review Francois Dugast 3 participants 3 messages Dec 5, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! drm/xe/uc: Store firmware binary in system-memory backed BO

---
 drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_uc_fw.c +1 -1
index 9abae65c6b23..f25c920ed8af 100644
@@ -760,7 +760,7 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw)
 	if (!fw)
 		return 0;
 
-	err = uc_fw_copy(uc_fw, fw->data, fw->size,
+	err = uc_fw_copy(uc_fw, fw->data, ALIGN(fw->size, PAGE_SIZE),
 			 XE_BO_CREATE_SYSTEM_BIT | XE_BO_CREATE_GGTT_BIT);
 
 	uc_fw_release(fw);
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Francois Dugast

-Michał

Quoted 20 lines
---
 drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_uc_fw.c +1 -1
index 9abae65c6b23..f25c920ed8af 100644
@@ -760,7 +760,7 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw)
 	if (!fw)
 		return 0;
 
-	err = uc_fw_copy(uc_fw, fw->data, fw->size,
+	err = uc_fw_copy(uc_fw, fw->data, ALIGN(fw->size, PAGE_SIZE),
 			 XE_BO_CREATE_SYSTEM_BIT | XE_BO_CREATE_GGTT_BIT);
 
 	uc_fw_release(fw);
Signature · 1 line
2.34.1
#2 lore raw

[Intel-xe] ✗ CI.Patch_applied: failure for fixup! drm/xe/uc: Store firmware binary in system-memory backed BO

In reply to Francois Dugast
== Series Details ==

== Series Details ==

Series: fixup! drm/xe/uc: Store firmware binary in system-memory backed BO
URL : https://patchwork.freedesktop.org/series/127349/
State : failure

== Summary ==

=== Applying kernel patches on branch 'drm-xe-next' with base: ===
Base commit: ac7b89571 drm/xe/uapi: Kill exec_queue_set_property
=== git am output follows ===
error: patch failed: drivers/gpu/drm/xe/xe_uc_fw.c:760
error: drivers/gpu/drm/xe/xe_uc_fw.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: fixup! drm/xe/uc: Store firmware binary in system-memory backed BO Patch failed at 0001 fixup! drm/xe/uc: Store firmware binary in system-memory backed BO 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".