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

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Jun 21 11:47:00 UTC 2023


Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>

On 21.6.2023 11.14, Bhanuprakash Modem wrote:
> 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));
>   }
>   



More information about the igt-dev mailing list