Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Maarten Lankhorst <dev@lankhorst.se>
Subject: [PATCH 1/2] fixup! drm/xe/uc: Store firmware binary in system-memory backed BO
Date: Tue, 12 Dec 2023 15:20:44 +0100	[thread overview]
Message-ID: <20231212142045.22182-1-maarten.lankhorst@linux.intel.com> (raw)

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


             reply	other threads:[~2023-12-12 14:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 14:20 Maarten Lankhorst [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231212142045.22182-1-maarten.lankhorst@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=dev@lankhorst.se \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox