From 504f5594e7f2e78ec828a3b30bbb749a3bc91472 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Thu, 23 Jan 2014 13:26:09 +0800 Subject: assembler/skl: Redefine the cache agent type for some fixed functions 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(+) (limited to 'assembler') diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h index f74342ce..6ca3e171 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 -- cgit v1.2.3