[igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_ccs: Fix 4tiled rc ccs and color clear tests

Kahola, Mika mika.kahola at intel.com
Tue Jun 7 09:45:55 UTC 2022


> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Juha-
> Pekka Heikkila
> Sent: Monday, June 6, 2022 12:05 PM
> To: igt-dev at lists.freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_ccs: Fix 4tiled rc ccs and
> color clear tests
> 
> 4tiled rc ccs and color clear tests were testing wrong things because wrong
> modifier was used for choosing test path.
> 

Reviewed-by: Mika Kahola <mika.kahola at intel.com>

> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> ---
>  tests/i915/kms_ccs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/i915/kms_ccs.c b/tests/i915/kms_ccs.c index
> 39bf6d58b..4df611f77 100644
> --- a/tests/i915/kms_ccs.c
> +++ b/tests/i915/kms_ccs.c
> @@ -161,7 +161,7 @@ create_fb_prepare_add(int drm_fd, int width, int height,
> static bool is_ccs_cc_modifier(uint64_t modifier)  {
>  	return modifier == I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC
> ||
> -		modifier == I915_FORMAT_MOD_4_TILED_DG2_RC_CCS;
> +		modifier == I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC;
>  }
> 
>  /*
> --
> 2.28.0



More information about the igt-dev mailing list