From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/1] ARM: imx: add gpu device
Date: Thu, 31 Mar 2011 10:26:01 +0200 [thread overview]
Message-ID: <20110331082601.GV7285@pengutronix.de> (raw)
In-Reply-To: <AANLkTikf63wTfM1z2cpV+GuK28y1wrT7UWvw4TanBj4R@mail.gmail.com>
On Wed, Mar 30, 2011 at 05:23:12PM -0500, Matt Sealey wrote:
> Sascha,
>
> Freescale has a driver. We have a driver since we're under NDA and
> have the source.
>
> If you want it and want to boot Ubuntu on a Smartbook or Smarttop, we
> can give you a package that will run on our kernel and load the GPU
> module if present (we actually ship it as a module built inside the
> kernel, it's not external and it's dual BSD/GPL licensed). Regardless
> of where you've not seen it, it does exist. I want this code in there
> - on the basis that we have a consumer product that ships and needs
> it, and this is going to be a dependency for OpenGL, OpenVG, and
> things on top like Flash which may depend on that.
>
> I dunno if I am in the "path" for this since I have the source code
> for the driver for the kernel (it's on opensource.freescale.com/git in
> drivers/mxc/amd-gpu somewhere after the 09.12 BSP ) and for the
> userspace (it's NDA code) I don't believe there's any hard and fast
> policy that says the kernel cannot have drivers referenced that are
> not part of the mainline stack, otherwise no external module using USB
> or any other pluggable module built externally, which Linus does not
> disapprove of, would never be allowed to build against the kernel.
With USB there is a clear API defined and exported from the kernel to
userspace. This API can be used from source and yes, also from closed
source drivers.
The FSL gpu driver is different, its API has been defined for only one
closed source driver. There is no way of making use of it without closed
source. There is no way for kernel maintainers to test this API without
closed source. There is also no way to ever change this API without
having the source available.
No, there is no place for this kind of stub drivers in the kernel.
Otherwise we would also have nvidia binary driver stubs.
In any way we can delay this until there is some code using it.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2011-03-31 8:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 6:05 [PATCH v2 1/1] ARM: imx: add gpu device Richard Zhao
2011-03-30 7:16 ` Uwe Kleine-König
2011-03-30 8:16 ` Richard Zhao
2011-03-30 9:03 ` Eric Miao
2011-03-30 9:12 ` Uwe Kleine-König
2011-03-30 9:16 ` Wolfram Sang
2011-03-30 7:36 ` Sascha Hauer
2011-03-30 7:52 ` Arnaud Patard (Rtp)
2011-03-30 8:00 ` Richard Zhao
2011-03-30 8:05 ` Sascha Hauer
2011-03-30 22:23 ` Matt Sealey
2011-03-31 5:38 ` Richard Zhao
2011-04-01 0:29 ` Matt Sealey
2011-03-31 8:26 ` Sascha Hauer [this message]
2011-04-01 0:36 ` Matt Sealey
2011-04-01 13:30 ` Sascha Hauer
2011-03-31 10:00 ` Uwe Kleine-König
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=20110331082601.GV7285@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).