From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id C9257891FB for ; Tue, 14 Sep 2021 12:37:56 +0000 (UTC) References: <20210914112559.556898-1-bhanuprakash.modem@intel.com> From: "Sharma, Swati2" Message-ID: <3916cedc-6097-a405-f2e6-33a1e920599d@intel.com> Date: Tue, 14 Sep 2021 18:07:51 +0530 MIME-Version: 1.0 In-Reply-To: <20210914112559.556898-1-bhanuprakash.modem@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] tests/kms_color_chamelium: Skip CTM test if property is not present List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Bhanuprakash Modem , igt-dev@lists.freedesktop.org Cc: Uma Shankar List-ID: LGTM. However, we need to add fixes tag. Once bug is filed; can you please float another version with that tag? Reviewed-by: Swati Sharma On 14-Sep-21 4:55 PM, Bhanuprakash Modem wrote: > CRTC property "CTM" is required for all CTM tests. > > Cc: Uma Shankar > Cc: Swati Sharma > Signed-off-by: Bhanuprakash Modem > --- > tests/kms_color_chamelium.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c > index bc4356bfa..7173bc69e 100644 > --- a/tests/kms_color_chamelium.c > +++ b/tests/kms_color_chamelium.c > @@ -398,6 +398,8 @@ static void test_pipe_limited_range_ctm(data_t *data, > struct chamelium_port *port; > char *connected_ports[4]; > > + igt_require(igt_pipe_obj_has_prop(primary->pipe, IGT_CRTC_CTM)); > + > degamma_linear = generate_table(data->degamma_lut_size, 1.0); > gamma_linear = generate_table(data->gamma_lut_size, 1.0); > > -- ~Swati Sharma