[igt-dev] [i-g-t] lib/igt_fb: Stop using rendercopy for linear buffers on XE

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Jun 21 08:14:05 UTC 2023


Stop using rendercopy for linear buffers on XE driver, instead
use the mmap.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 lib/igt_fb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 9be312a28..402fadf41 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -2511,7 +2511,6 @@ static bool use_enginecopy(const struct igt_fb *fb)
 
 	return fb->modifier == I915_FORMAT_MOD_Yf_TILED ||
 	       is_ccs_modifier(fb->modifier) ||
-	       (is_xe_device(fb->fd) && fb->modifier == DRM_FORMAT_MOD_LINEAR) ||
 	       (is_i915_device(fb->fd) && !gem_has_mappable_ggtt(fb->fd));
 }
 
-- 
2.40.0



More information about the igt-dev mailing list