[igt-dev] [PATCH i-g-t 3/6] tests/kms_ccs: Fix small aux stride subtest

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Aug 31 17:48:40 UTC 2021


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

On 27.8.2021 17.57, Imre Deak wrote:
> Use the correct CCS plane stride for the small aux stride subtest.
> 
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> ---
>   tests/kms_ccs.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
> index 5bc50b4bb..52252c633 100644
> --- a/tests/kms_ccs.c
> +++ b/tests/kms_ccs.c
> @@ -307,7 +307,7 @@ static void generate_fb(data_t *data, struct igt_fb *fb,
>   		if (fb_flags & FB_SMALL_AUX_STRIDE) {
>   			igt_skip_on_f(width <= 1024,
>   				      "FB already has the smallest possible stride\n");
> -			f.pitches[index] = ALIGN(f.pitches[1]/2, 128);
> +			f.pitches[index] = ALIGN(f.pitches[index]/2, 128);
>   		}
>   
>   		if (fb_flags & FB_ZERO_AUX_STRIDE)
> 



More information about the igt-dev mailing list