public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@codeaurora.org>
To: Dave Airlie <airlied@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	linux-arm-msm@vger.kernel.org, jcrouse@codeaurora.org
Subject: Re: Closed source userspace graphics drivers with an open source  kernel component
Date: Thu, 01 Jul 2010 16:29:35 -0700	[thread overview]
Message-ID: <1278026975.7738.89.camel@c-dwalke-linux.qualcomm.com> (raw)
In-Reply-To: <AANLkTinNrpcBg0TXTS78qaI5kPQKD-IbnLpDStu4_BIg@mail.gmail.com>

On Fri, 2010-07-02 at 08:57 +1000, Dave Airlie wrote:
> On Fri, Jul 2, 2010 at 8:51 AM, Daniel Walker <dwalker@codeaurora.org> wrote:
> > On Fri, 2010-07-02 at 08:36 +1000, Dave Airlie wrote:
> >> On Fri, Jul 2, 2010 at 8:10 AM, Dave Airlie <airlied@gmail.com> wrote:
> >> > Now this is just my opinion as maintainer of the drm, and doesn't
> >> > reflect anyone or any official policy, I've also no idea if Linus
> >> > agrees or not.
> >> >
> >> > We are going to start to see a number of companies in the embedded
> >> > space submitting 3D drivers for mobile devices to the kernel. I'd like
> >> > to clarify my position once so they don't all come asking the same
> >> > questions.
> >> >
> >> > If you aren't going to create an open userspace driver (either MIT or
> >> > LGPL) then don't waste time submitting a kernel driver to me.
> >
> > If , for whatever reason, you changed you mind on this what sort of
> > connection between kernel and userspace would these components use?
> >
> > I ask only because I think UIO hold most (if not all) the driver in
> > userspace .. So you would have to use some other interface if you wanted
> > a more half and half solution ..
> >
> 
> The thing is UIO doesn't solve the problem 3D graphics drivers need to
> solve. Which is we need to let unprivileged users access the graphics
> device in an efficient manner, hence why DRI/DRM exists. Now I think
> the tegra guys have done some evil hacks with a userspace daemon to
> replace the kernel functionality, so all they have in-kernel is a
> framebuffer device, since they can't really get away with shipping the
> binary nvidia driver linked to the kernel in a real device. So all
> their userspace closed bits talk to the daemon running as root with
> direct access to the lowlevel hw.

Oh, man .. It seems like any driver model that straddles userspace and
kernel space is kind of asking for trouble (my opinion anyway)..

Would you accept a userspace component that supported some subset of the
features ? You would have a kernel space driver, and userspace both open
source and GPL'd , but the userspace component wouldn't support ever
feature available .. Then the company would be free to make another
proprietary userspace with more features based off the open source one.

Daniel
-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.


  reply	other threads:[~2010-07-01 23:29 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 22:10 Closed source userspace graphics drivers with an open source kernel component Dave Airlie
2010-07-01 22:36 ` Dave Airlie
2010-07-01 22:51   ` Daniel Walker
2010-07-01 22:57     ` Dave Airlie
2010-07-01 23:29       ` Daniel Walker [this message]
2010-07-01 23:37         ` Dave Airlie
2010-07-02  0:08           ` Daniel Walker
2010-07-02  0:13             ` Dave Airlie
2010-07-02  0:18               ` Saravana Kannan
     [not found]                 ` <AANLkTilsqmCZwLUNJhvDKkralHQZzlRV3ZxaIGbt9-xB@mail.gmail.com>
     [not found]                   ` <AANLkTinvzJrx4AqgWYuMg66Djf-snouLQZE7wI9Bu0Kv@mail.gmail.com>
2010-07-02  0:42                     ` Timothy Meade
2010-07-02  2:46                       ` Dave Airlie
2010-07-02  3:01                         ` Piotr Gluszenia Slawinski
2010-07-02  4:54                           ` Howard Chu
2010-07-02  6:52                             ` Piotr Gluszenia Slawinski
2010-07-14 13:24                           ` Pavel Machek
2010-07-16  0:42                             ` Tim HRM
2010-07-01 23:51 ` Piotr Gluszenia Slawinski
2010-07-02  1:27   ` Corbin Simpson
2010-07-02  7:48 ` Christoph Hellwig
2010-07-02  9:58 ` Luc Verhaegen
2010-07-02 10:15   ` Christoph Hellwig
2010-07-02 11:12     ` Luc Verhaegen
2010-07-02 11:26       ` Dave Airlie
2010-07-02 10:23   ` Dave Airlie
2010-07-02 11:10     ` Luc Verhaegen
2010-07-02 11:53       ` Dave Airlie
2010-07-02 12:07         ` "C. Bergström"
2010-07-02 14:45           ` Xavier Bestel
2010-07-02 15:03             ` "C. Bergström"
     [not found]         ` <AANLkTinZXHi_mbmsX1HTzbMNjQx7j0rbEfTKSoz-02CF@mail.gmail.com>
2010-07-04  7:27           ` Dave Airlie
2010-07-04 11:03             ` Theodore Tso
2010-07-04 15:37               ` Matthew Garrett
2010-07-04 20:05               ` Dave Airlie
2010-07-02 14:01       ` Anton Vorontsov
2010-07-03  0:41   ` Ian Romanick

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=1278026975.7738.89.camel@c-dwalke-linux.qualcomm.com \
    --to=dwalker@codeaurora.org \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jcrouse@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox