From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Subject: [PATCH i-g-t 3/3] tests/intel/xe_oa: Use buf->bo_size for xe_bo_map
Date: Mon, 9 Dec 2024 18:08:12 -0800 [thread overview]
Message-ID: <20241210020812.1513475-3-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20241210020812.1513475-1-ashutosh.dixit@intel.com>
From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Doing so fixes crashes on ATSM.
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
---
tests/intel/xe_oa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index c660720ea0..4483a5a19c 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -742,7 +742,7 @@ static void *buf_map(int fd, struct intel_buf *buf, bool write)
void *p;
if (is_xe_device(fd)) {
- buf->ptr = xe_bo_map(fd, buf->handle, buf->surface[0].size);
+ buf->ptr = xe_bo_map(fd, buf->handle, buf->bo_size);
p = buf->ptr;
} else {
if (gem_has_llc(fd))
--
2.47.1
next prev parent reply other threads:[~2024-12-10 2:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 2:08 [PATCH i-g-t 1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info Ashutosh Dixit
2024-12-10 2:08 ` [PATCH i-g-t 2/3] Revert "tests/xe_oa: Drop TestOa from metric_set()" Ashutosh Dixit
2024-12-10 11:14 ` Kamil Konieczny
2024-12-12 1:28 ` Dixit, Ashutosh
2024-12-10 2:08 ` Ashutosh Dixit [this message]
2024-12-10 2:53 ` ✗ i915.CI.BAT: failure for series starting with [i-g-t,1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info Patchwork
2024-12-10 3:08 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-10 4:10 ` ✗ Xe.CI.Full: failure " Patchwork
2024-12-10 11:15 ` [PATCH i-g-t 1/3] " Kamil Konieczny
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=20241210020812.1513475-3-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=umesh.nerlige.ramappa@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.