[PATCH i-g-t] lib/igt_fb: on Xe device don't apply legacy blitter rules
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Fri Mar 1 12:33:45 UTC 2024
On Wed, Feb 28, 2024 at 04:39:04PM +0200, 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;
> +
LGTM:
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
--
Zbigniew
> for (int i = 0; i < fb->num_planes; i++) {
> int width = fb->plane_width[i];
>
> --
> 2.25.1
>
More information about the igt-dev
mailing list