[Intel-gfx] [PATCH i-g-t 17/26] assembler/skl: Redefine the cache agent type for some fixed functions
Damien Lespiau
damien.lespiau at intel.com
Fri Sep 26 16:03:15 CEST 2014
From: Zhao Yakui <yakui.zhao at intel.com>
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 <yakui.zhao at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
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
More information about the Intel-gfx
mailing list