From: Owain Ainsworth Subject: Re: [PATCH 5/5] Xv: set up pipeline for Xv on Ivybridge Date: Fri, 24 Jun 2011 06:03:09 +0100 Message-ID: <20110624050309.GI30431@melanie.nicotinebsd.org> References: <1308761267-13598-1-git-send-email-haihao.xiang@intel.com> <1308761267-13598-6-git-send-email-haihao.xiang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f177.google.com (mail-wy0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id D4E079EB93 for ; Thu, 23 Jun 2011 22:03:16 -0700 (PDT) Received: by wyf23 with SMTP id 23so2138972wyf.36 for ; Thu, 23 Jun 2011 22:03:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1308761267-13598-6-git-send-email-haihao.xiang@intel.com> 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: "Xiang, Haihao" Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Jun 23, 2011 at 12:47:47AM +0800, Xiang, Haihao wrote: > The configuration is same as that on Sandybridge, but > many state commands are changed > > Signed-off-by: Xiang, Haihao > --- > src/i965_reg.h | 132 ++++++++++++++++ > src/i965_video.c | 446 +++++++++++++++++++++++++++++++++++++++++++++++++++--- > 2 files changed, 554 insertions(+), 24 deletions(-) > > diff --git a/src/i965_reg.h b/src/i965_reg.h > index df41fba..ab6c020 100644 > --- a/src/i965_reg.h > +++ b/src/i965_reg.h > --- a/src/i965_video.c > +++ b/src/i965_video.c > @@ -1445,6 +1445,7 @@ gen6_create_blend_state(ScrnInfoPtr scrn) > > blend_state->blend1.logic_op_enable = 1; > blend_state->blend1.logic_op_func = 0xc; > + blend_state->blend1.pre_blend_clamp_enable = 1; > > drm_intel_bo_unmap(blend_bo); > return blend_bo; Can you please explain why this chunk is added for all gen6 and above? -0- -- Why was I born with such contemporaries? -- Oscar Wilde