Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fixup! drm/xe/uc: Store firmware binary in system-memory backed BO
@ 2023-12-12 14:20 Maarten Lankhorst
  2023-12-12 14:20 ` [PATCH 2/2] fixup! drm/xe/uapi: Reject bo creation of unaligned size Maarten Lankhorst
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Maarten Lankhorst @ 2023-12-12 14:20 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

From: Maarten Lankhorst <dev@lankhorst.se>

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c
index 6c3f601f4c1a..73d6938c921d 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.c
+++ b/drivers/gpu/drm/xe/xe_uc_fw.c
@@ -762,7 +762,7 @@ int xe_uc_fw_init(struct xe_uc_fw *uc_fw)
 	if (!fw)
 		return 0;
 
-	err = uc_fw_copy(uc_fw, fw->data, ALIGN(fw->size, PAGE_SIZE),
+	err = uc_fw_copy(uc_fw, fw->data, fw->size,
 			 XE_BO_CREATE_SYSTEM_BIT | XE_BO_CREATE_GGTT_BIT);
 
 	uc_fw_release(fw);
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-12-12 15:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 14:20 [PATCH 1/2] fixup! drm/xe/uc: Store firmware binary in system-memory backed BO Maarten Lankhorst
2023-12-12 14:20 ` [PATCH 2/2] fixup! drm/xe/uapi: Reject bo creation of unaligned size Maarten Lankhorst
2023-12-12 14:29   ` Francois Dugast
2023-12-12 14:23 ` ✓ CI.Patch_applied: success for series starting with [1/2] fixup! drm/xe/uc: Store firmware binary in system-memory backed BO Patchwork
2023-12-12 14:23 ` ✗ CI.checkpatch: warning " Patchwork
2023-12-12 14:24 ` ✓ CI.KUnit: success " Patchwork
2023-12-12 14:28 ` [PATCH 1/2] " Francois Dugast
2023-12-12 14:31 ` ✓ CI.Build: success for series starting with [1/2] " Patchwork
2023-12-12 14:32 ` ✓ CI.Hooks: " Patchwork
2023-12-12 14:33 ` ✓ CI.checksparse: " Patchwork
2023-12-12 15:07 ` ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox