From: Marius Vlad Subject: Re: [PATCH] kms_atomic: Fix crtc_id comparison failing. Date: Fri, 22 Apr 2016 12:54:59 +0300 Message-ID: <20160422095451.GA336@mcvlad-wk.rb.intel.com> References: <1461291868-10530-1-git-send-email-robert.foss@collabora.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1152381995==" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D3736EE75 for ; Fri, 22 Apr 2016 09:51:56 +0000 (UTC) In-Reply-To: <1461291868-10530-1-git-send-email-robert.foss@collabora.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: robert.foss@collabora.com Cc: daniel.vetter@intel.com, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1152381995== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable You've already sent this yesterday. Its pushed. On Thu, Apr 21, 2016 at 10:24:28PM -0400, robert.foss@collabora.com wrote: > From: Robert Foss >=20 > Fixed ctrc_id comparison failing due to bad initialization of > crtc variable. >=20 > Signed-off-by: Robert Foss > --- > tests/kms_atomic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c > index 13a5db1..f27ee46 100644 > --- a/tests/kms_atomic.c > +++ b/tests/kms_atomic.c > @@ -1361,7 +1361,7 @@ igt_main > =20 > igt_subtest("atomic_invalid_params") { > struct kms_atomic_state *scratch =3D atomic_state_dup(current); > - struct kms_atomic_crtc_state *crtc =3D &scratch->crtcs[0]; > + struct kms_atomic_crtc_state *crtc =3D find_crtc(scratch, true); > struct kms_atomic_plane_state *plane =3D > find_plane(scratch, NUM_PLANE_TYPE_PROPS, crtc); > struct kms_atomic_connector_state *conn =3D > --=20 > 2.5.0 >=20 > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXGfTwAAoJELmLWIAQzyE+Pl8H/1gd+bbzqIFvdEIjyu1MzxpF qgZ8CvV/qxioIXtO50CphW81fZXpNnDBHgG7XoFvGxSq5j3I8ouPDdr4Ft3A50M7 XQ1FcrZeo/T/hMghE5WUv2LPUyIFx5dDFuS+oSonytuOO3JG81A5VxOVNkGJjWVF gmjEQRWwCYh3V7/f4rkSpuXHSD6YKU/Bc6OFr2Rb1WrP6ZYO1j0QUSey/kxkQ+93 RcT8b0vOKU8YCU3XmKeOH6hvCn4BUsN3jhGclZAaa3Wtsim413vlbTFqZvzZWpI4 y5SS/pFxqnCTvK7qnapps4T7xwE7g6/J1xHIX7c7XJpZYlT2uqNkeBOYIOBPY30= =8AWG -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o-- --===============1152381995== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1152381995==--