Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 1/2] lib/xe: on xe driver use blitter with all tiling
@ 2023-09-22 16:54 Bommithi Sakeena
  2023-09-22 16:54 ` [Intel-xe] [PATCH 2/2] tests/xe_drm_fdinfo: Add tests to read and verify fdinfo Bommithi Sakeena
  2023-09-22 16:56 ` [Intel-xe] ✗ CI.Patch_applied: failure for series starting with [1/2] lib/xe: on xe driver use blitter with all tiling Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Bommithi Sakeena @ 2023-09-22 16:54 UTC (permalink / raw)
  To: intel-xe; +Cc: Swati Sharma

From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

on xe driver need to use blitter with all tiling modifiers

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
---
 lib/igt_fb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 4b592825d..c8a7b31a8 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -2557,7 +2557,8 @@ static bool use_blitter(const struct igt_fb *fb)
 	return fb->modifier == I915_FORMAT_MOD_4_TILED ||
 	       fb->modifier == I915_FORMAT_MOD_Y_TILED ||
 	       fb->modifier == I915_FORMAT_MOD_Yf_TILED ||
-	       (is_i915_device(fb->fd) && !gem_has_mappable_ggtt(fb->fd));
+	       (is_i915_device(fb->fd) && !gem_has_mappable_ggtt(fb->fd)) ||
+	       is_xe_device(fb->fd);
 }
 
 static void init_buf_ccs(struct intel_buf *buf, int ccs_idx,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-22 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 16:54 [Intel-xe] [PATCH 1/2] lib/xe: on xe driver use blitter with all tiling Bommithi Sakeena
2023-09-22 16:54 ` [Intel-xe] [PATCH 2/2] tests/xe_drm_fdinfo: Add tests to read and verify fdinfo Bommithi Sakeena
2023-09-22 16:56 ` [Intel-xe] ✗ CI.Patch_applied: failure for series starting with [1/2] lib/xe: on xe driver use blitter with all tiling Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox