[PATCH i-g-t] lib/igt_fb: on Xe device don't apply legacy blitter rules

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Mar 1 12:27:58 UTC 2024


Those ci listed issues don't seem to have anything to do with this change.

On 28.2.2024 16.39, Juha-Pekka Heikkila wrote:
> On Xe device legacy blitter size rules don't need to be applied
> 
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> ---
>   lib/igt_fb.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> index 65e0638c2..0ac2a76b0 100644
> --- a/lib/igt_fb.c
> +++ b/lib/igt_fb.c
> @@ -2513,6 +2513,9 @@ static bool blitter_ok(const struct igt_fb *fb)
>   	     is_gen12_mc_ccs_modifier(fb->modifier))
>   		return false;
>   
> +	if (is_xe_device(fb->fd))
> +		return true;
> +
>   	for (int i = 0; i < fb->num_planes; i++) {
>   		int width = fb->plane_width[i];
>   



More information about the igt-dev mailing list