From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Rob Clark <robdclark@gmail.com>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: Multiple issues with omapdrm
Date: Thu, 6 Jun 2013 10:14:44 +0300 [thread overview]
Message-ID: <51B036E4.5080802@ti.com> (raw)
In-Reply-To: <CAF6AEGu_ZVK6pi3ev26Ceeb70Z9B0A6Emx7BeQDbQdRFdYVGmg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1062 bytes --]
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?
>
> 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
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2013-06-06 7:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 8:59 Multiple issues with omapdrm Tomi Valkeinen
2013-06-05 10:43 ` Rob Clark
2013-06-05 10:55 ` Tomi Valkeinen
2013-06-05 10:57 ` Rob Clark
2013-06-05 11:35 ` Tomi Valkeinen
2013-06-05 11:52 ` Rob Clark
2013-06-05 12:16 ` Tomi Valkeinen
2013-06-05 14:58 ` Rob Clark
2013-06-06 7:14 ` Tomi Valkeinen [this message]
2013-06-06 11:25 ` Rob Clark
2013-06-06 19:35 ` Dave Airlie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B036E4.5080802@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=robdclark@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.