From: "Grzegorzek, Dominik" <dominik.grzegorzek@intel.com>
To: "Kempczynski, Zbigniew" <zbigniew.kempczynski@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t 2/2] lib/intel_batchbuffer: Be ready to use xe2 render-copy on newer hardware
Date: Tue, 23 Apr 2024 08:30:25 +0000 [thread overview]
Message-ID: <a0a7117ef110b1b0d6cb63f24d6aef1e9702a77e.camel@intel.com> (raw)
In-Reply-To: <20240423070449.150518-3-zbigniew.kempczynski@intel.com>
Reviewed-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
On Tue, 2024-04-23 at 09:04 +0200, Zbigniew Kempczyński wrote:
> Newer hardware seems to have same 3D functionality so lets prepare
> batchbuffer to reuse Xe2 pipeline and shader for render-copy.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
> ---
> lib/intel_batchbuffer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
> index c8c6e9a193..824e928319 100644
> --- a/lib/intel_batchbuffer.c
> +++ b/lib/intel_batchbuffer.c
> @@ -660,7 +660,7 @@ igt_render_copyfunc_t igt_get_render_copyfunc(int devid)
> copy = mtl_render_copyfunc;
> else if (IS_DG2(devid))
> copy = gen12p71_render_copyfunc;
> - else if (IS_GEN(devid, 20))
> + else if (AT_LEAST_GEN(devid, 20))
> copy = xe2_render_copyfunc;
> else if (IS_GEN12(devid))
> copy = gen12_render_copyfunc;
next prev parent reply other threads:[~2024-04-23 8:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 7:04 [PATCH i-g-t 0/2] Use xe2 render-copy on newer hardware Zbigniew Kempczyński
2024-04-23 7:04 ` [PATCH i-g-t 1/2] lib/rendercopy: Fix horizontal stride Zbigniew Kempczyński
2024-04-23 8:29 ` Grzegorzek, Dominik
2024-04-23 7:04 ` [PATCH i-g-t 2/2] lib/intel_batchbuffer: Be ready to use xe2 render-copy on newer hardware Zbigniew Kempczyński
2024-04-23 8:30 ` Grzegorzek, Dominik [this message]
2024-04-23 9:29 ` ✓ Fi.CI.BAT: success for Use " Patchwork
2024-04-23 9:58 ` ✓ CI.xeBAT: " Patchwork
2024-04-23 15:20 ` ✗ CI.xeFULL: failure " Patchwork
2024-04-24 6:08 ` Zbigniew Kempczyński
2024-04-24 8:07 ` ✓ Fi.CI.IGT: success " 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=a0a7117ef110b1b0d6cb63f24d6aef1e9702a77e.camel@intel.com \
--to=dominik.grzegorzek@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--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