From patchwork Mon Nov 1 08:33:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xiang, Haihao" X-Patchwork-Id: 294042 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA18bWMi008704 for ; Mon, 1 Nov 2010 08:37:52 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 29684A08C7 for ; Mon, 1 Nov 2010 01:37:32 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id B0C639E7E7 for ; Mon, 1 Nov 2010 01:35:33 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 01 Nov 2010 01:35:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,272,1286175600"; d="scan'208";a="672904415" Received: from xhh-ilk32.sh.intel.com (HELO localhost.localdomain) ([10.239.36.76]) by orsmga001.jf.intel.com with ESMTP; 01 Nov 2010 01:35:32 -0700 From: "Xiang, Haihao" To: intel-gfx@lists.freedesktop.org Date: Mon, 1 Nov 2010 16:33:40 +0800 Message-Id: <1288600420-1021-5-git-send-email-haihao.xiang@intel.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1288600420-1021-1-git-send-email-haihao.xiang@intel.com> References: <1288600420-1021-1-git-send-email-haihao.xiang@intel.com> Subject: [Intel-gfx] [PATCH 5/5] render: use headerless render target write X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 01 Nov 2010 08:37:52 +0000 (UTC) diff --git a/src/render_program/exa_wm_write.g6a b/src/render_program/exa_wm_write.g6a index 27f91b5..55fe9c7 100644 --- a/src/render_program/exa_wm_write.g6a +++ b/src/render_program/exa_wm_write.g6a @@ -36,6 +36,7 @@ define(`slot_b_00', `m6') define(`slot_b_01', `m7') define(`slot_a_00', `m8') define(`slot_a_01', `m9') +define(`data_port_msg_2_ind', `2') mov (8) slot_r_00<1>F src_sample_r_01<8,8,1>F { align1 }; mov (8) slot_r_01<1>F src_sample_r_23<8,8,1>F { align1 }; @@ -49,20 +50,17 @@ mov (8) slot_b_01<1>F src_sample_b_23<8,8,1>F { align1 }; mov (8) slot_a_00<1>F src_sample_a_01<8,8,1>F { align1 }; mov (8) slot_a_01<1>F src_sample_a_23<8,8,1>F { align1 }; -/* pass payload in m0-m1 */ -mov (8) data_port_msg_0<1>UD g0<8,8,1>UD { align1 }; -mov (8) data_port_msg_1<1>UD g1<8,8,1>UD { align1 }; - /* write */ send (16) - data_port_msg_0_ind + data_port_msg_2_ind acc0<1>UW null write ( 0, /* binding_table */ 16, /* pixel scordboard clear, msg type simd16 single source */ 12, /* render target write */ - 0 /* no write commit message */ + 0, /* no write commit message */ + 0 /* headerless render target write */ ) mlen 10 rlen 0 diff --git a/src/render_program/exa_wm_write.g6b b/src/render_program/exa_wm_write.g6b index 9db2129..e9e4d35 100644 --- a/src/render_program/exa_wm_write.g6b +++ b/src/render_program/exa_wm_write.g6b @@ -6,9 +6,7 @@ { 0x00600001, 0x20e003be, 0x008d0260, 0x00000000 }, { 0x00600001, 0x210003be, 0x008d0280, 0x00000000 }, { 0x00600001, 0x212003be, 0x008d02a0, 0x00000000 }, - { 0x00600001, 0x20000022, 0x008d0000, 0x00000000 }, - { 0x00600001, 0x20200022, 0x008d0020, 0x00000000 }, - { 0x05800031, 0x24001cc8, 0x00000000, 0x94099000 }, + { 0x05800031, 0x24001cc8, 0x00000040, 0x94019000 }, { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 }, { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 }, { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },