From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50A006E3F5 for ; Wed, 29 Jan 2020 18:31:31 +0000 (UTC) Date: Wed, 29 Jan 2020 20:24:18 +0200 From: Imre Deak Message-ID: <20200129182418.GB20394@ideak-desk.fi.intel.com> References: <20200129181601.15918-1-imre.deak@intel.com> <20200129181601.15918-9-imre.deak@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200129181601.15918-9-imre.deak@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 9/9] tests/kms_plane: Fix format/mod for reference FB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: imre.deak@intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: On Wed, Jan 29, 2020 at 08:16:01PM +0200, Imre Deak wrote: > Fix the use of uninited format, modifier. Ignore this patch, missed the place where they are inited. > > Signed-off-by: Imre Deak > --- > tests/kms_plane.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/kms_plane.c b/tests/kms_plane.c > index 9ef3a7f3..7d7316d5 100644 > --- a/tests/kms_plane.c > +++ b/tests/kms_plane.c > @@ -683,7 +683,7 @@ static bool test_format_plane(data_t *data, enum pipe pipe, > struct igt_fb test_fb; > int ret; > > - igt_create_fb(data->drm_fd, 64, 64, format, > + igt_create_fb(data->drm_fd, 64, 64, ref_format, > LOCAL_DRM_FORMAT_MOD_NONE, &test_fb); > > igt_plane_set_fb(plane, &test_fb); > @@ -704,7 +704,7 @@ static bool test_format_plane(data_t *data, enum pipe pipe, > const color_t *c = &data->colors[i]; > > test_format_plane_color(data, pipe, plane, > - format, modifier, > + ref_format, ref_modifier, > width, height, > IGT_COLOR_YCBCR_BT709, > IGT_COLOR_YCBCR_LIMITED_RANGE, > -- > 2.23.1 > > _______________________________________________ > igt-dev mailing list > igt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/igt-dev _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev