From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71EC089C52 for ; Mon, 14 Jun 2021 09:47:52 +0000 (UTC) From: "Kulkarni, Vandita" Date: Mon, 14 Jun 2021 09:47:48 +0000 Message-ID: <3c9716b4408c43d09b6a81c47ce96a49@intel.com> References: <20210614082746.7951-1-karthik.b.s@intel.com> In-Reply-To: <20210614082746.7951-1-karthik.b.s@intel.com> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_dp_dsc: Assign the proper output List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: "B S, Karthik" , "igt-dev@lists.freedesktop.org" Cc: "Joshi, Kunal1" List-ID: > -----Original Message----- > From: B S, Karthik > Sent: Monday, June 14, 2021 1:58 PM > To: igt-dev@lists.freedesktop.org > Cc: Kulkarni, Vandita ; Joshi, Kunal1 > ; B S, Karthik > Subject: [PATCH i-g-t] tests/kms_dp_dsc: Assign the proper output > > Use 'output' here rather than 'data->output' as it is still not populated. > > Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/3494 Fixes - patch that introduced this Closes - issue id With that fixed, LGTM. Reviewed-by: Vandita Kulkarni Thanks, Vandita > > Signed-off-by: Karthik B S > --- > tests/kms_dp_dsc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/kms_dp_dsc.c b/tests/kms_dp_dsc.c index > 2446fd82..12180b19 100644 > --- a/tests/kms_dp_dsc.c > +++ b/tests/kms_dp_dsc.c > @@ -228,7 +228,7 @@ static void run_test(data_t *data, igt_output_t > *output, { > enum pipe pipe; > > - data->mode = igt_output_get_mode(data->output); > + data->mode = igt_output_get_mode(output); > igt_create_pattern_fb(data->drm_fd, data->mode->hdisplay, > data->mode->vdisplay, > DRM_FORMAT_XRGB8888, > -- > 2.22.0 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev