From: Jesse Barnes Subject: Re: [PATCH 1/2] drm/i915: set interlaced bits for TRANSCONF Date: Wed, 8 Feb 2012 14:58:33 -0800 Message-ID: <20120208145833.2a6fca86@jbarnes-desktop> References: <1328298435-24807-1-git-send-email-przanoni@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1435542866==" Return-path: Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by gabe.freedesktop.org (Postfix) with SMTP id 732EC9E7E2 for ; Wed, 8 Feb 2012 14:58:38 -0800 (PST) In-Reply-To: <1328298435-24807-1-git-send-email-przanoni@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Paulo Zanoni Cc: intel-gfx@lists.freedesktop.org, Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org --===============1435542866== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/3iZ27jSVNmRjYqptgcPBaQ3"; protocol="application/pgp-signature" --Sig_/3iZ27jSVNmRjYqptgcPBaQ3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 3 Feb 2012 17:47:15 -0200 Paulo Zanoni wrote: > From: Paulo Zanoni >=20 > I'm not sure why they are needed (I didn't notice any difference in my > tests), but these bits are in our documentation and they are also set by > the Windows driver. >=20 > Signed-off-by: Paulo Zanoni > --- This makes me think we should really just split the PCH related stuff into separate functions and headers with their own register and bit definitions. Duplicate code is better than fragility and having to scour through multiple docs when shared code is modified. But obviously that's a much bigger cleanup that can come after this patch. Ideally, anytime we had a register block with any different offsets or bits than a previous generation, we'd fork it into its own reg definition header and add function hooks for it. --=20 Jesse Barnes, Intel Open Source Technology Center --Sig_/3iZ27jSVNmRjYqptgcPBaQ3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJPMv4aAAoJEIEoDkX4Qk9hsvYP/074KUP8v7kEJPLyZ+Pajfk9 ragMELgbQKkYgSRmId9k91QUdV7bH2j1uMBeanQplotyZX/IxhM6mE/4sZBJkrim vHx2YxJFJonTp98mprSUKNhLXkacmE1jMgwbS9WGmqBU+oeHaACNf2qWeT+01eNs aGipATK0Iy58kWbe5K0S2MiruU7euPbCC1IRJsccUQXMHqBEUOZ3VjxoIAuZKLaC iI8wrtQiizSuZMzVEgp8i0s0YwGtnSKtIWUDP4MB+/zPUPZ87pZTi8mSkXgSOR4H BJnoTn0GIFAS+mV8TmtITwkcsT56gtppu89CFf9XLKtVGi96BnHGN7EU5eGtuBZu U77wPtbvh8B9Cub2Zb+YfjYeYsTmvLz4r1SHdYSSKsz6fbD7CuPjVopIFR00p6wx M3+5i6xNdJdHBw2c8hx6g1n14uUj4bX3dy8tNxfx3eZbz+f4xG2AsAdSE8Iovz0K pw57YqhL/0BG5Sy3WYlEcq8V3ZoKI8jbsl/WSBIZrLqhAt97l+jBdLfGOhtP29nD XXXME+AlBPJcLxVSQurY4UROrr8EmJnIZyaZ2E7OATa9PQjchFQr8iF/juCd8QF3 5N3333jBoApUu8SzfbeiVVGulbO5HAk+MhU3klMPArhH2SuKaVbkZbOe/L2QxXrM SQJq1t3FXHJ+PKfeHa62 =fswO -----END PGP SIGNATURE----- --Sig_/3iZ27jSVNmRjYqptgcPBaQ3-- --===============1435542866== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1435542866==--