From: Simon Farnsworth <simon.farnsworth@onelan.com>
To: intel-gfx@lists.freedesktop.org
Cc: "Anholt, Eric" <eric.anholt@intel.com>
Subject: Re: [PATCH 1/4] introduce intel_ring_buffer structure
Date: Tue, 18 May 2010 17:19:32 +0100 [thread overview]
Message-ID: <201005181719.33501.simon.farnsworth@onelan.com> (raw)
In-Reply-To: <41EFD7A46E18724CAB128DAD0073348006A62B7DBE@shsmsx502.ccr.corp.intel.com>
On Tuesday 18 May 2010, "Zou, Nanhai" <nanhai.zou@intel.com> wrote:
> >>-----Original Message-----
> >>From: Daniel Vetter [mailto:daniel@ffwll.ch]
> >>Sent: 2010年5月18日 1:43
> >>Well, that's exactly the problem. You simply can't optimize a kernel
> >>interface once it's in use. And if you try to, your users will get the
> >>pitchforks and scream bloody murder trying to get you ;) So we need to
> >>get these patches right (at least the semantics of the interface)
> >>beforehand.
> >>
> Hi,
> Since VAAPI will be the only client for this multi ring buffer for a period
> of time. We may not have so much pain to optimize both kernel and user
> space. This approach touches little user space interface, only 1 new flag
> is added to IOCTL. We have new kinds of ring buffer to come in
> SandyBridge and later chips. Since we are still enabling SandyBridge. I
> can not for cast how those rings would be synchronized to each other. We
> may use minimum API to work first.
>
Be aware that you cannot expect users to bump both their userspace VAAPI
library and their kernel at the same time; there are good reasons for this.
If you do tie the VAAPI library version and the kernel version too tightly
together, you get into a position where users get upset - if I bump my kernel
from 2.6.32 to 2.6.36 to get support for a new WiFi chipset and a new TV
capture card, I'm likely to get quite upset if I then have to also respin my
userspace.
There are also issues around bisection as a tool for isolating regressions -
if I have to carefully bump userspace and kernel in lock-step, it's very
difficult for me to bisect down until I find the changeset that broke things. As
most of the bugs you'll get reported from users like me won't reproduce in
your lab, making it harder for me to give you helpful information is not in
your interests.
In conclusion, as Daniel's been saying, you must get the kernel interface
mostly right first time. If it's too slow, a new interface to improve
performance isn't hard to add in parallel to the old interface; if the old
interface is a DoS vector or worse, you're going to get stuck in a very bad
place.
--
Simon Farnsworth
Software Engineer
ONELAN Limited
http://www.onelan.com/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2010-05-18 16:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 1:20 [PATCH 1/4] introduce intel_ring_buffer structure Zou Nan hai
2010-05-06 1:20 ` [PATCH 2/4] convert render engine to use intel_ring_buffer Zou Nan hai
2010-05-06 1:20 ` [PATCH 3/4] add BSD ring buffer support Zou Nan hai
2010-05-06 1:20 ` [PATCH 4/4] adapt intel_ring_buffer into gem Zou Nan hai
2010-05-07 21:34 ` [PATCH 1/4] introduce intel_ring_buffer structure Eric Anholt
2010-05-08 18:15 ` Thomas Bächler
2010-05-11 22:24 ` Daniel Vetter
2010-05-14 1:39 ` Zou, Nanhai
2010-05-14 9:51 ` Daniel Vetter
2010-05-14 15:03 ` Daniel Vetter
2010-05-17 1:59 ` Zou, Nanhai
2010-05-17 17:52 ` Daniel Vetter
2010-05-14 17:43 ` Owain Ainsworth
2010-05-17 1:43 ` Zou, Nanhai
2010-05-17 17:42 ` Daniel Vetter
2010-05-18 2:20 ` Zou, Nanhai
2010-05-18 16:19 ` Simon Farnsworth [this message]
2010-05-19 1:09 ` Zou, Nanhai
2010-05-19 9:00 ` Simon Farnsworth
2010-05-19 16:54 ` Eric Anholt
2010-05-19 17:33 ` Simon Farnsworth
-- strict thread matches above, loose matches on Subject: below --
2010-05-05 3:17 Zou Nan hai
2010-05-05 18:23 ` Daniel Vetter
2010-05-06 2:25 ` Zou, Nanhai
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=201005181719.33501.simon.farnsworth@onelan.com \
--to=simon.farnsworth@onelan.com \
--cc=eric.anholt@intel.com \
--cc=intel-gfx@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.