From: "Manszewski, Christoph" <christoph.manszewski@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v4 09/10] lib/gpgpu_fill: Use RENDER engine flag to work on Xe
Date: Fri, 21 Apr 2023 16:00:11 +0200 [thread overview]
Message-ID: <ff12fbeb-2c95-0648-3dfa-9e47188a3e2a@intel.com> (raw)
In-Reply-To: <20230421055457.13035-10-zbigniew.kempczynski@intel.com>
On 21.04.2023 07:54, Zbigniew Kempczyński wrote:
> Using I915_EXEC_DEFAULT works fine for i915 selecting appropriate
> command streamer. Unfortunately this cannot be used on Xe as it
> requires explicit engine selection. Submitting gpgpu work on
> render is fine so change to I915_EXEC_RENDER doesn't break i915
> and allows run on valid engine on Xe.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Christoph Manszewski <christoph.manszewski@intel.com>
> ---
> lib/gpgpu_fill.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/gpgpu_fill.c b/lib/gpgpu_fill.c
> index 4f7bab68f2..4db8775145 100644
> --- a/lib/gpgpu_fill.c
> +++ b/lib/gpgpu_fill.c
> @@ -288,7 +288,7 @@ __gen9_gpgpu_fillfunc(int i915,
> intel_bb_ptr_align(ibb, 32);
>
> intel_bb_exec(ibb, intel_bb_offset(ibb),
> - I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
> + I915_EXEC_RENDER | I915_EXEC_NO_RELOC, true);
>
> intel_bb_destroy(ibb);
> }
> @@ -329,7 +329,7 @@ __xehp_gpgpu_fillfunc(int i915,
> intel_bb_ptr_align(ibb, 32);
>
> intel_bb_exec(ibb, intel_bb_offset(ibb),
> - I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
> + I915_EXEC_RENDER | I915_EXEC_NO_RELOC, true);
>
> intel_bb_destroy(ibb);
> }
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
next prev parent reply other threads:[~2023-04-21 14:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-21 5:54 [igt-dev] [PATCH i-g-t v4 00/10] Integrate intel-bb with Xe Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 01/10] lib/xe_ioctl: Add missing header for direct resolving Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 02/10] lib/xe_query: Add region helpers and missing doc Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 03/10] lib/xe_query: Remove commented out function prototype Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 04/10] lib/intel_allocator: Add allocator support for Xe Zbigniew Kempczyński
2023-04-21 16:14 ` Kamil Konieczny
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 05/10] lib/intel_bufops: Add Xe support in bufops Zbigniew Kempczyński
2023-04-21 16:28 ` Kamil Konieczny
2023-04-24 7:50 ` Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 06/10] lib/intel_batchbuffer: Add Xe support in intel-bb Zbigniew Kempczyński
2023-04-21 11:17 ` Manszewski, Christoph
2023-04-21 18:50 ` Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 07/10] tests/xe_intel_bb: Check if intel-bb Xe support correctness Zbigniew Kempczyński
2023-04-21 13:52 ` Manszewski, Christoph
2023-04-21 18:26 ` Zbigniew Kempczyński
2023-04-21 18:56 ` Zbigniew Kempczyński
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 08/10] tests/xe-fast-feedback: Add xe_intel_bb test to BAT Zbigniew Kempczyński
2023-04-21 13:55 ` Manszewski, Christoph
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 09/10] lib/gpgpu_fill: Use RENDER engine flag to work on Xe Zbigniew Kempczyński
2023-04-21 14:00 ` Manszewski, Christoph [this message]
2023-04-21 14:09 ` Manszewski, Christoph
2023-04-21 5:54 ` [igt-dev] [PATCH i-g-t v4 10/10] tests/xe_gpgpu_fill: Exercise gpgpu fill " Zbigniew Kempczyński
2023-04-21 14:11 ` Manszewski, Christoph
2023-04-21 17:57 ` Zbigniew Kempczyński
2023-04-21 6:45 ` [igt-dev] ✓ Fi.CI.BAT: success for Integrate intel-bb with Xe (rev5) Patchwork
2023-04-21 13:03 ` [igt-dev] ✓ Fi.CI.IGT: " 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=ff12fbeb-2c95-0648-3dfa-9e47188a3e2a@intel.com \
--to=christoph.manszewski@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