From: Daniel Vetter Subject: Re: [PATCH 1/4] introduce intel_ring_buffer structure Date: Fri, 14 May 2010 17:03:24 +0200 Message-ID: <20100514150324.GE3413@viiv.ffwll.ch> References: <1273108805-1354-1-git-send-email-nanhai.zou@intel.com> <20100511222425.GB3930@viiv.ffwll.ch> <41EFD7A46E18724CAB128DAD007334800544E081BA@shsmsx502.ccr.corp.intel.com> <20100514095114.GC3413@viiv.ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.ffwll.ch (cable-static-49-187.intergga.ch [157.161.49.187]) by gabe.freedesktop.org (Postfix) with ESMTP id 254699E740 for ; Fri, 14 May 2010 08:02:50 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20100514095114.GC3413@viiv.ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Zou, Nanhai" Cc: Intel GFX , "Anholt, Eric" List-Id: intel-gfx@lists.freedesktop.org Hi all, On Fri, May 14, 2010 at 11:51:14AM +0200, Daniel Vetter wrote: > So please explain the technical reasons we need this rather complex beast > of code in the kernel? Ok, I owe you my apologies (and a beer). I've read through the HD docs and it looks like bsd decoding for avc/vc1 can't be done without the bsd command stream. What a pain. I'm currently crawling through the docs. It looks like we also need a new gpu domain (something like I915_GEM_DOMAIN_BSD) in addition to a new execution domain to properly support flushing and coherency. This way round my concerns about userspace synchronization and the flush-both-rings semantics would be void, too. Yours, Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48