From: Oded Gabbay <oded.gabbay@amd.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: AMD GPU new API for new module
Date: Thu, 9 Oct 2014 21:33:49 +0300 [thread overview]
Message-ID: <5436D50D.6070502@amd.com> (raw)
In-Reply-To: <CAKMK7uFMctajOaqr0Uj62TWNPWFCo5s1C6UtzP+PDHpo5sZKGA@mail.gmail.com>
Thanks for the input.
I do _not_ intend to fork IOCTLs for new H/W generations, if possible.
i.e, our driver now supports 2 h/w generations with the exact same set
of IOCTLs and I don't see how that would change in the future..
What I'm more worried about is supporting different sets of UMD, which
will require different IOCTLs for the same operation, e.g. CreateQueue
for HSA runtime and OpenCL runtime.
However, due to a very limited amount of UMDs, the "regular" way of
adding IOCTLs may be sufficient.
Bottom line, need to think more about it :)
Oded
On 09/10/14 18:55, Daniel Vetter wrote:
> On Thu, Oct 9, 2014 at 12:15 PM, Oded Gabbay <oded.gabbay@amd.com> wrote:
>> Well, I don't expect to reach 100 ioctls anytime soon, but I can tell
>> you that for the features we have in the pipeline, I can see the IOCTL
>> number go up to 20-30, just for the current H/W generation.
>
> So our Android folks seem to routinely run out of ioctl numbers in
> their product/downstream branches. But ime after some decent review of
> the new interfaces and not just blindly creating interfaces because
> that's easier we have rather slow ioctl number consumption in i915. So
> presuming you do decent review and dont fork your driver for every
> generation (which seems to be how every blob gfx driver team works) I
> don't think you have a problem. Of course that's a massive change in
> approach and in my experience with intel-internal discussion will
> require a lot of training.
> -Daniel
>
next prev parent reply other threads:[~2014-10-09 18:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 16:00 AMD GPU new API for new module Jerome Glisse
2014-10-08 16:43 ` Christian König
2014-10-09 6:54 ` Oded Gabbay
2014-10-09 8:02 ` Jerome Glisse
2014-10-09 10:15 ` Oded Gabbay
2014-10-09 15:55 ` Daniel Vetter
2014-10-09 18:33 ` Oded Gabbay [this message]
2014-10-11 18:30 ` Daniel Vetter
2014-10-12 8:13 ` Oded Gabbay
2014-10-12 9:33 ` Christian König
2014-10-09 7:32 ` Rob Clark
2014-10-09 7:54 ` Jerome Glisse
2014-10-09 9:49 ` Christian König
2014-10-09 12:13 ` Rob Clark
2014-10-09 9:20 ` Daniel Vetter
2014-10-13 21:13 ` Dave Airlie
2014-10-10 2:25 ` Olaf Buddenhagen
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=5436D50D.6070502@amd.com \
--to=oded.gabbay@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.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 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.