[PATCH i-g-t v2 10/18] tests/kms_ccs: Skip 10bpc formats with media compression
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Mon Sep 23 09:52:55 UTC 2024
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
On 18.9.2024 15.05, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> The VEBOX just hangs if we try to use a 10bpc format.
> Skip 10bpc with media compression as that would require
> using the VEBOX.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> tests/intel/kms_ccs.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/tests/intel/kms_ccs.c b/tests/intel/kms_ccs.c
> index 06f40e2c2175..7cda79412d94 100644
> --- a/tests/intel/kms_ccs.c
> +++ b/tests/intel/kms_ccs.c
> @@ -845,6 +845,11 @@ static bool try_config(data_t *data, enum test_fb_flags fb_flags,
> data->format != DRM_FORMAT_XRGB2101010)
> return false;
>
> + /* VEBOX just hangs with an actual 10bpc format */
> + if (igt_fb_is_gen12_mc_ccs_modifier(data->ccs_modifier) &&
> + data->format == DRM_FORMAT_XRGB2101010)
> + return false;
> +
> if ((fb_flags & FB_MISALIGN_AUX_STRIDE) ||
> (fb_flags & FB_SMALL_AUX_STRIDE))
> fb_width = max(fb_width, 1536);
More information about the igt-dev
mailing list