All of lore.kernel.org
 help / color / mirror / Atom feed
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: Wed, 5 Jun 2013 14:35:30 +0300	[thread overview]
Message-ID: <51AF2282.9000004@ti.com> (raw)
In-Reply-To: <CAF6AEGv7Jkw_WbKyG3graGBaVZ-Ge2M4G6SQ1YNkpCFEDEQ5GA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1102 bytes --]

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



[-- 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

  reply	other threads:[~2013-06-05 11:35 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 [this message]
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
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=51AF2282.9000004@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.