From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: Multiple issues with omapdrm Date: Wed, 5 Jun 2013 14:35:30 +0300 Message-ID: <51AF2282.9000004@ti.com> References: <51AEFDEF.7060602@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1816766989==" Return-path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by gabe.freedesktop.org (Postfix) with ESMTP id B1D44E64CD for ; Wed, 5 Jun 2013 04:35:32 -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 --===============1816766989== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2EXJWMADEAUXPRMDVPQQD" ------enig2EXJWMADEAUXPRMDVPQQD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/06/13 13:57, Rob Clark wrote: > 1) drmOpen("omap") will try to modprobe "omap", not "omapdrm" so we > need to rename the .ko Has something been changed that broke that? Or was "omapdrm" just a badly chosen name from the start? If drmOpen("omapdrm") works now, doesn't changing the module name break userspace compatibility? I had a quick look at libdrm. It calls server_info->load_module() but I couldn't figure out where that call actually goes... > 2) sorting out the modprobe of panel drivers.. although with the > current structure of omapdrm+omapdss I can't think of any clean way to > handle this. I suppose we could do a hack with a bunch of > request_module()s If omapdrm and omapdss were merged, what would be the clean way be? Or did you mean some other structure? I'm no expert on this, but my understanding is that udev (or such) should load the modules for the devices that the board has. If it's a requirement that the drm drivers are loaded only by a call to drmOpen() (why is that?), then maybe udev could load only the panel drivers. Tomi ------enig2EXJWMADEAUXPRMDVPQQD 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/ iQIcBAEBAgAGBQJRryKCAAoJEPo9qoy8lh71ZekP/2nS16OtfiLs1qO2QRCkvhY6 V+mJ/JtNk35xl5goqoeJm0J0m6o2ZHgjApAQBKhj0RyyDEBFqev9bG0VS6HeWhzk iriQCElZw0IK7eysxp2H2h+ubEmD3sGli4TC/bgYGgwS77fqYBFVR4md/FYYcUDH UOCHWxQV1jF83j7Pk+AHA0mAXPdG0sey0SxvDRpMwCnNbXGlZvi8952Xu6BwxwpW 1E7MsvjPSIQfzz6L2Tare1iZnrYK4mvzbqm9tllgGXqlZTEgSozaytUwhAWQJ/++ MV1kkXuPKJAE7Q719RfpoKTqYtpoHuLehsg3uuqFfqzfIu+EsuC+v7w/6vL/B3oN hsUj83MeT9/uIkIvrToSQYb5mEiPwvwgcSYnmV6Q9B59iY1FfK6IplZAxr3gL05W JOVxxBz4m0JyMCLI4yir8qG1vkl26cE0fNxxF+hZjnzVMK/7dRsSCk7NeT88sL+R jnw+EN+tAV6rKlUxQe5xB0nRTCbVexm/3Zx+ebfXswNBaYM7XWgeXbtJ3b6JXLwu XAS3QHWUt7oFmxCOfbxQdBJLmJxD6Gz4aoIx1NcALZw16glMP/BqFEmNZie+5/7K LA7EeHul/xXyibHIlVvFS4nteQHYBi6X87X/uNXWw99eZIPFw8EOz9fiR8+rmc0Z EFe7ABxWeandv73sWQaN =IrOk -----END PGP SIGNATURE----- ------enig2EXJWMADEAUXPRMDVPQQD-- --===============1816766989== 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 --===============1816766989==--