From: Marius Vlad Subject: Re: [PATCH i-g-t 7/7] kms_panel_fitting: Add support for LVDS and DSI connectors. Date: Sat, 23 Apr 2016 01:31:31 +0300 Message-ID: <20160422223131.GB5517@mcvlad-wk.rb.intel.com> References: <1461360300-20668-1-git-send-email-robert.foss@collabora.com> <1461360300-20668-8-git-send-email-robert.foss@collabora.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2035726017==" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id D2D736E01E for ; Fri, 22 Apr 2016 22:28:44 +0000 (UTC) In-Reply-To: <1461360300-20668-8-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: Jani Nikula , daniel.vetter@ffwll.ch, intel-gfx@lists.freedesktop.org, marius.vlad@intel.com List-Id: intel-gfx@lists.freedesktop.org --===============2035726017== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Sr1nOIr3CvdE5hEN" Content-Disposition: inline --Sr1nOIr3CvdE5hEN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Think you can squash the last two into one (you're removing what you've added in the previous one). Also see https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617= =2Ehtml. On Fri, Apr 22, 2016 at 05:25:00PM -0400, robert.foss@collabora.com wrote: > From: Robert Foss >=20 > Add support for DRM_MODE_CONNECTOR_LVDS and DRM_MODE_CONNECTOR_DSI > connectors. >=20 > Signed-off-by: Robert Foss > --- > tests/kms_panel_fitting.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c > index 60a22b0..933776c 100644 > --- a/tests/kms_panel_fitting.c > +++ b/tests/kms_panel_fitting.c > @@ -140,9 +140,15 @@ static void test_panel_fitting(data_t *d) > for_each_connected_output(display, output) { > drmModeModeInfo *mode, native_mode; > =20 > - if (output->config.connector->connector_type !=3D > - DRM_MODE_CONNECTOR_eDP) > - continue; > + switch (output->config.connector->connector_type) > + { > + case DRM_MODE_CONNECTOR_LVDS: > + case DRM_MODE_CONNECTOR_eDP: > + case DRM_MODE_CONNECTOR_DSI: > + break; > + default: > + continue; > + } > =20 > pipe =3D output->config.pipe; > igt_output_set_pipe(output, pipe); > --=20 > 2.5.0 >=20 > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx --Sr1nOIr3CvdE5hEN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXGqZDAAoJELmLWIAQzyE+uokH/2Sx/XJkSjYXJGBJDFZIA5Ln 5GmjaLOYk+J6hBAStM1BbHAKkdbmWFsJHEohQCGxO1gwBkA5mQE+QmWPUZVqNSK9 I5En2JaMowYo6Op+pXMbYA0GU5RwAyP3VDSipwM/EruybxI6u7JtPvf04rNGodhh OTR+gCpIlWii2mDwImnicL6zCQKSOhQO6aNOYIW0qepd/rHiLxt3fgxDkh1dwHIo Q4POtr9m8qsjLPTqkc1RaxLAkPw/KArtwaB0uqmSnGs2Bv+oPQyE/q6jssv4vJ5m jzX6gTZk40pPQ7DRZhTJxXXTvGpM5cfTge1j6cRogqYMPdKS0eVHHguMfggOfv0= =uhFX -----END PGP SIGNATURE----- --Sr1nOIr3CvdE5hEN-- --===============2035726017== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============2035726017==--