All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "Zou, Nanhai" <nanhai.zou@intel.com>
Cc: "Anholt, Eric" <eric.anholt@intel.com>,
	Intel GFX <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/4] introduce intel_ring_buffer structure
Date: Mon, 17 May 2010 19:42:33 +0200	[thread overview]
Message-ID: <20100517174232.GA3546@viiv.ffwll.ch> (raw)
In-Reply-To: <41EFD7A46E18724CAB128DAD0073348006A62B749A@shsmsx502.ccr.corp.intel.com>

Hi

On Mon, May 17, 2010 at 09:43:02AM +0800, Zou, Nanhai wrote:
> 	You may check how user space works in VAAPI code, if you have an Ironlake system.
> We have install guide at http://intellinuxgraphics.org/h264.html.
> We have some customer requests for H.264 decoding, so we point to an
> early kernel and a similar patch on that page.

I'll try this out. But likely takes a while till I get around - there's
enough other stuff going on to keep me busy.

> Actually no additional synchronize was add to user space, after BSD
> decoding is done, we map the BSD output for media pipe input command
> stream, at this point kernel will wait BSD decoding done before it begin
> media pipe.
> 
> so unprivileged client can not damage GPU with this.
> 
> Though this is not the most efficient way to do the work, 
> 
> One of our optimize plan is to have double ring buffer for H.264
> decoding later, e.g. while BSD is decoding to one buffer, media pipe may
> consume another buffer,
> 
> So media and BSD ring can work in parallel. Once we begin to do that, we
> may need to design a better synchronize method.

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.

> Thanks
> Zou Nan hai

Yours, Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

  reply	other threads:[~2010-05-17 17:41 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 [this message]
2010-05-18  2:20           ` Zou, Nanhai
2010-05-18 16:19             ` Simon Farnsworth
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=20100517174232.GA3546@viiv.ffwll.ch \
    --to=daniel@ffwll.ch \
    --cc=eric.anholt@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=nanhai.zou@intel.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.