Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/2] lib/media_fill: Use RENDER engine flag to work on Xe
Date: Thu,  3 Aug 2023 09:49:01 +0200	[thread overview]
Message-ID: <20230803074902.172493-2-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20230803074902.172493-1-zbigniew.kempczynski@intel.com>

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);
 
 	intel_bb_destroy(ibb);
 }
-- 
2.34.1

  reply	other threads:[~2023-08-03  7:49 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 ` Zbigniew Kempczyński [this message]
2023-08-03 21:11   ` [igt-dev] [PATCH i-g-t 1/2] lib/media_fill: Use RENDER engine flag to work on Xe Manszewski, Christoph
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=20230803074902.172493-2-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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