Return-Path: Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id F0AC389904 for ; Tue, 31 Aug 2021 17:48:46 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id u14so423521ejf.13 for ; Tue, 31 Aug 2021 10:48:46 -0700 (PDT) References: <20210827145756.3342904-1-imre.deak@intel.com> <20210827145756.3342904-4-imre.deak@intel.com> From: Juha-Pekka Heikkila Message-ID: <2c9040a2-2d6f-d57d-65d6-d637746da4b3@gmail.com> Date: Tue, 31 Aug 2021 20:48:40 +0300 MIME-Version: 1.0 In-Reply-To: <20210827145756.3342904-4-imre.deak@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [igt-dev] [PATCH i-g-t 3/6] tests/kms_ccs: Fix small aux stride subtest List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: juhapekka.heikkila@gmail.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Imre Deak , igt-dev@lists.freedesktop.org List-ID: Reviewed-by: Juha-Pekka Heikkila 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 > --- > 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) >