All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Zou Nanhai <nanhai.zou@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/2] split render engine batch buffer and BLT engine
Date: Tue, 26 Oct 2010 10:13:24 +0100	[thread overview]
Message-ID: <b9dded$gt4at7@orsmga002.jf.intel.com> (raw)
In-Reply-To: <41EFD7A46E18724CAB128DAD0073348018E24C713F@shsmsx502.ccr.corp.intel.com>

On Tue, 26 Oct 2010 16:23:24 +0800, "Zou, Nanhai" <nanhai.zou@intel.com> wrote:
> 	I do not quite understand your point.
> How can we mix blitter command with render command in a batch buffer?

We can't. We also can't mix render targets/sources between concurrent
batch buffers either, at the moment. (I'd much rather finish the kernel
synchronisation before teaching X how to synchronise a pair of
interdependent concurrent batch buffers).  So in order to get any
synchronisation between the rings you have to flush the BLT batch when
starting a RENDER operation (if that operation accesses a BLT buffer and
vice versa).  Hence why I think that a single, modal batch buffer will be
no less efficient than maintaining a pair (or more) concurrent batch
buffers. X's request model means that we will process many sequential ops
from a single client in a single pass which will intermix BLT/RENDER
commands (or just use RENDER predominantly). I do not foresee X attaining
any great level of parallelism between the rings.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  parent reply	other threads:[~2010-10-26  9:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  7:33 [PATCH 1/2] split render engine batch buffer and BLT engine Zou Nan hai
2010-10-26  7:33 ` [PATCH 2/2] use BLT command to accelerate uxa on gen6 Zou Nan hai
2010-10-26  8:17 ` [PATCH 1/2] split render engine batch buffer and BLT engine Chris Wilson
2010-10-26  8:23   ` Zou, Nanhai
2010-10-26  8:31     ` Zou, Nanhai
2010-10-26  8:37       ` Chris Wilson
2010-10-26  8:59         ` Zou, Nanhai
2010-10-26  9:13     ` Chris Wilson [this message]
2010-10-27  0:33       ` 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='b9dded$gt4at7@orsmga002.jf.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --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.