From: Eric Anholt Subject: Re: [PATCH] Add second DRI driver name (DRI2DriverVDPAU) Date: Mon, 26 Aug 2013 13:40:35 -0700 Message-ID: <87y57op4n0.fsf@eliezer.anholt.net> References: <1376649073.392605286@f12.i.mail.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0987826921==" Return-path: In-Reply-To: <1376649073.392605286@f12.i.mail.ru> 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: =?utf-8?B?0JjQsdGA0LDQs9C40LzQvtCyINCg0LjQvdCw0YI=?= , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0987826921== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =D0=98=D0=B1=D1=80=D0=B0=D0=B3=D0=B8=D0=BC=D0=BE=D0=B2 =D0=A0=D0=B8=D0=BD= =D0=B0=D1=82 writes: > libvdpau uses second DRI driver name to determine which VDPAU driver > to use. This patch will allow libvdpau choose libvdpau_i965.so on systems > with Intel GPUs, libvdpau_nvidia.so on those with nVidia ones, and so on. > I'm experimenting now with generic vdpau driver using OpenGL/VA-API, > it would be convenient to have this driver selection working without manu= al > driver selection. If it's a generic driver, why would it need a "i965" string passed over the DRI2 protocol to find it? One of the things I'm planning on doing is removing use of the protocol-provided DRI2 driver name from Mesa -- Mesa knows what drivers it has built, and it knows how to detect those devices (in the EGL code), so why would we pay attention to what the X Server thinks our driver's name is? Seems like vdpau could probably do the same. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSG71DAAoJELXWKTbR/J7otW4P/jRNaL3b71FwZLNq0EsSpglk sjM8jlSb9LodYA1FgfuBbgAIv45qPUxyaOcfZnPrFEvh5G1hYZ4RTWpPdz/j0TPt PjFJWoVvcrIfSMMcgzIBaqPl+sT3H2rgTMohH/de3qAw23tk8z7tjVMx3HJfWsbb QV3NB6hWG5oTYcmU/NgUcjNgN7aE9JWUj8SMBm0v46wv2AllNo6vvPSXMi0DREAh TdIbn0XfwabO/KT5OFnXI+eZ06g09sh4/+Un39Sm7CjDj7hxpKqJ2Yt7kE79HO6V DsJOj/4UY8DPp2IXVijuTdL/icuRLAMt2Gn3QiS06kQc7gg9UKpMFbBS/hAnQgz3 Neowu87vv4c9hJwqpFCG19WXTYOkozU+5gJ0iDkzM8ZQqpDh5Y9xYoi3mhIckZwm 8xeufkjEEztEtCppsgNWrs9uG/Nu+Q2VO206bE8VyMnwneoHBu+PNnnZ0PSZQvjg NXI3w3EWjUUngGtQyDvhCes2vEmIt3kfxtzbEsFM+iGKUQQx7IdE6wtCyqPzbern oCgvTwQT8HdALGFTn5XyMHqTYUOaTJ/ogcLyRW73f4pEQ39s5urqKsNcFK1+sXLg MJV5snOf/M6wOZemG14qaeXkjuLlYkUaXveFbSFyBY+6iIEIdWm8jJKoJuByBUxL 8RtObcmGeoUrMfOZmfLD =O6N6 -----END PGP SIGNATURE----- --=-=-=-- --===============0987826921== 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 --===============0987826921==--