Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
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 1/2] lib/media_fill: Use RENDER engine flag to work on Xe
Date: Thu, 3 Aug 2023 23:11:19 +0200	[thread overview]
Message-ID: <7f16bc86-d81d-5065-3a23-afdc5e49b214@intel.com> (raw)
In-Reply-To: <20230803074902.172493-2-zbigniew.kempczynski@intel.com>

Hi Zbigniew,

On 3.08.2023 09:49, Zbigniew Kempczyński wrote:
> Due to explicit requirement of running on valid hw engine on xe
> change I915_EXEC_DEFAULT to I915_EXEC_RENDER. This change doesn't
> break i915 media pipeline allowing to create and assign valid xe
> engine to execute media fill test.
> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Christoph Manszewski <christoph.manszewski@intel.com>
> ---
>   lib/media_fill.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/media_fill.c b/lib/media_fill.c
> index e80dae1505..2520995d97 100644
> --- a/lib/media_fill.c
> +++ b/lib/media_fill.c
> @@ -281,7 +281,7 @@ __gen9_media_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);

As discussed offline - since we are the ones doing the i915 to xe engine 
type conversion, we could as well translate 'I915_EXEC_DEFAULT' to 
'DRM_XE_ENGINE_CLASS_RENDER'. But I think it's a minor thing, besides I 
already reviewed a similar change in gpgpu_fill so:

Reviewed-by: Christoph Manszewski <christoph.manszewski@intel.com>

Christoph


>   
>   	intel_bb_destroy(ibb);
>   }

  reply	other threads:[~2023-08-03 21:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03  7:49 [igt-dev] [PATCH i-g-t 0/2] Add xe_media_fill test Zbigniew Kempczyński
2023-08-03  7:49 ` [igt-dev] [PATCH i-g-t 1/2] lib/media_fill: Use RENDER engine flag to work on Xe Zbigniew Kempczyński
2023-08-03 21:11   ` Manszewski, Christoph [this message]
2023-08-04  8:21     ` Zbigniew Kempczyński
2023-08-03  7:49 ` [igt-dev] [PATCH i-g-t 2/2] tests/xe_media_fill: Exercise media fill " Zbigniew Kempczyński
2023-08-03 21:18   ` Manszewski, Christoph
2023-08-04  8:22     ` Zbigniew Kempczyński
2023-08-03  8:25 ` [igt-dev] ○ CI.xeBAT: info for Add xe_media_fill test Patchwork
2023-08-03  8:33 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-08-03 11:51 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-03 20:15   ` Zbigniew Kempczyński

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=7f16bc86-d81d-5065-3a23-afdc5e49b214@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