From: "Hajda, Andrzej" <andrzej.hajda@intel.com>
To: <priyanka.dandamudi@intel.com>, <igt-dev@lists.freedesktop.org>,
<zbigniew.kempczynski@intel.com>
Subject: Re: [PATCH i-g-t v2 1/5] lib/xe_util.h: add canonical helper for 48/57 bit vas
Date: Tue, 3 Mar 2026 09:06:28 +0100 [thread overview]
Message-ID: <de4e2745-1701-4ba9-ac76-721d18aa3829@intel.com> (raw)
In-Reply-To: <20260303053104.1674811-2-priyanka.dandamudi@intel.com>
W dniu 3.03.2026 o 06:31, priyanka.dandamudi@intel.com pisze:
> From: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
>
> Add helper which returns valid from hw perspective offset
> ready to be inserted to gpu pipeline.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Regards
Andrzej
> ---
> lib/xe/xe_util.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/lib/xe/xe_util.h b/lib/xe/xe_util.h
> index a22572f35c..8dcfd2fb7f 100644
> --- a/lib/xe/xe_util.h
> +++ b/lib/xe/xe_util.h
> @@ -7,6 +7,7 @@
> #ifndef XE_UTIL_H
> #define XE_UTIL_H
>
> +#include <linux_scaffold.h>
> #include <stdbool.h>
> #include <stddef.h>
> #include <stdint.h>
> @@ -54,4 +55,8 @@ void xe_fast_copy(int fd,
> uint32_t dst_bo, uint32_t dst_region, uint8_t dst_pat_index,
> uint64_t size);
>
> +static inline uint64_t xe_canonical_va(int fd, uint64_t offset) {
> + return sign_extend64(offset, xe_va_bits(fd) - 1);
> +}
> +
> #endif /* XE_UTIL_H */
next prev parent reply other threads:[~2026-03-03 8:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 5:30 [PATCH i-g-t v2 0/5] Add support for xe3p and prefetch fault test priyanka.dandamudi
2026-03-03 5:31 ` [PATCH i-g-t v2 1/5] lib/xe_util.h: add canonical helper for 48/57 bit vas priyanka.dandamudi
2026-03-03 8:06 ` Hajda, Andrzej [this message]
2026-03-03 5:31 ` [PATCH i-g-t v2 2/5] lib/[gpu_cmds|xehp_media]: Introduce gpu execution commands for an efficient 64bit mode priyanka.dandamudi
2026-03-03 8:25 ` Zbigniew Kempczyński
2026-03-03 8:29 ` Hajda, Andrzej
2026-03-03 5:31 ` [PATCH i-g-t v2 3/5] lib/gpgpu_shader: Add support for xe3p efficient 64bit addressing priyanka.dandamudi
2026-03-03 8:30 ` Zbigniew Kempczyński
2026-03-03 5:31 ` [PATCH i-g-t v2 4/5] scripts/generate_iga64_codes: Add support for xe3p and xe3 priyanka.dandamudi
2026-03-03 5:31 ` [PATCH i-g-t v2 5/5] tests/intel/xe_prefetch_fault: Add test for prefetch fault priyanka.dandamudi
2026-03-03 23:20 ` ✓ Xe.CI.BAT: success for Add support for xe3p and prefetch fault test (rev2) Patchwork
2026-03-03 23:43 ` ✓ i915.CI.BAT: " Patchwork
2026-03-04 14:01 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-04 17:45 ` ✗ i915.CI.Full: " 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=de4e2745-1701-4ba9-ac76-721d18aa3829@intel.com \
--to=andrzej.hajda@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=priyanka.dandamudi@intel.com \
--cc=zbigniew.kempczynski@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox