From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: Multiple issues with omapdrm Date: Thu, 6 Jun 2013 10:14:44 +0300 Message-ID: <51B036E4.5080802@ti.com> References: <51AEFDEF.7060602@ti.com> <51AF2282.9000004@ti.com> <51AF2C04.9010406@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1816827914==" Return-path: Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by gabe.freedesktop.org (Postfix) with ESMTP id CD929E6607 for ; Thu, 6 Jun 2013 00:14:47 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Rob Clark Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org --===============1816827914== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2LJSMJFCHPFFHXQFEHKAT" ------enig2LJSMJFCHPFFHXQFEHKAT Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/06/13 17:58, Rob Clark wrote: > could be udev or something else was triggering the module to load? > Not 100% sure offhand. Well in my case I load them manually. But if there are applications out there, that at the moment use drmOpen("omapdrm"), then the change would break those apps. >> Why do you "need" drmOpen("omap")? Is it just a convention to use that= >> kind of name, instead of "omapdrm" style name? >=20 > all of the /dev/dri/cardN get opened, and then DRM_IOCTL_VERSION ioctl > to get the driver name/version, which is compared against the name > passed in to drmOpen(). So drmOpen("omapdrm") shouldn't really work Ok, so normally nobody will call drmOpen("omapdrm") explicitly, but somebody (X?) will just do what you described to get the modules loaded? If so, I guess it's unlikely that there would be an app with drmOpen("omapdrm"). Of course, we could also rename the name returned via DRM_IOCTL_VERSION to be "omapdrm", right? But looking at the names of other drivers, "omap" is probably better. Tomi ------enig2LJSMJFCHPFFHXQFEHKAT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRsDbkAAoJEPo9qoy8lh71BFEP/iUAxRdiIOqoqpvI6Ounvh5k euTqs0ROpG97bLGQyleAHotv15Zffp0qIziz82kkM77hrC+T2PHPHSieIL+DhBT/ AzMfLEJvZ+DjOoG11WxbH5cFv9oCVHvdWmc2kzEaametbai/tCn1CWIQY59KBb6g nvA9+tFepViPm8lqRMRRHV86lXjA/8aXrsDrBZb+xCz4YLr+WOJ4A3/UBqRqeOdA cCy1h52TEipoLMqn1q/73Ah0AuP2654q8eLSmt0VzSpgY2g/vQVo/1/xxzCJrNRD FHhZYu2eTTQYBvFBUTwu875uSgnx3bvbQRN+cfbmkA4kyxpaAc2L6EW3ZH87UkDO 48ZkAZBoht7ptYKko7UAnloPQ/h2lJTZH9HRYILXlyRMJDP/V6IEZDXGM4lS/NDm UcRiIAsthmvxFFXU7EjPjTBJEJ9ykp+jG+9qVmjHmTIq7cPjq259JfSF7/zrgNtU g8TCLQn9+1DKxgBzvYfG6i0qIqSGnJJ/NLi2BMjUctRQD6oWdXCJ/1kdsWxF7Ype fF++rUHccuc72/N1/uHBYGhXrkWKPZxe25AExTcaPoIk0oRD6rInSlJ2Azl6whaO Cbx2k2Rp54qxQF40cSnjrZMV/4LcSBzQ0EMRWrICL7OiGlXFeprozdhzn1a82oNX RT2z/lQrvd0y9Bc4516D =fM+E -----END PGP SIGNATURE----- ------enig2LJSMJFCHPFFHXQFEHKAT-- --===============1816827914== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1816827914==--