From: Damien Lespiau Subject: [PATCH i-g-t 17/26] assembler/skl: Redefine the cache agent type for some fixed functions Date: Fri, 26 Sep 2014 15:03:15 +0100 Message-ID: <1411740204-25709-17-git-send-email-damien.lespiau@intel.com> References: <1411740204-25709-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id C27D46E0A3 for ; Fri, 26 Sep 2014 07:05:06 -0700 (PDT) In-Reply-To: <1411740204-25709-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Zhao Yakui The different cache agent type is defined for SKL although it still uses the same function ID as the previous generations. Signed-off-by: Zhao Yakui Signed-off-by: Ben Widawsky Signed-off-by: Damien Lespiau --- assembler/brw_defines.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h index f74342c..6ca3e17 100644 --- a/assembler/brw_defines.h +++ b/assembler/brw_defines.h @@ -880,6 +880,13 @@ enum brw_message_target { HSW_SFID_DATAPORT_DATA_CACHE1 = 0x0c, HSW_SFID_CRE = 0x0d, + + /* There is no Sampler data port cache(0x04) on SKL and it is used + * as the extension of DP_DC0/DP_DC1. + */ + SKL_SFID_DATAPORT_DATA_CACHE2 = 0x4, + /* Data Read only Data port cache */ + SKL_SFID_DATAPORT_DCR0 = 0x9, }; #define BRW_SAMPLER_RETURN_FORMAT_FLOAT32 0 -- 1.8.3.1