projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6cf43
)
anv/icl: Add gen11 mocs defines
author
Anuj Phogat
<anuj.phogat@gmail.com>
Fri, 26 May 2017 17:55:22 +0000
(10:55 -0700)
committer
Anuj Phogat
<anuj.phogat@gmail.com>
Fri, 16 Feb 2018 19:10:31 +0000
(11:10 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_private.h
b/src/intel/vulkan/anv_private.h
index d38dd9e4220bd81373b5dd4a169fbddaec0a999b..009f5304f29ba6ca4da36070215676560db9e394 100644
(file)
--- a/
src/intel/vulkan/anv_private.h
+++ b/
src/intel/vulkan/anv_private.h
@@
-1148,6
+1148,17
@@
_anv_combine_address(struct anv_batch *batch, void *location,
.IndextoMOCSTables = 1 \
}
+/* Ice Lake MOCS defines are duplicates of Skylake MOCS defines. */
+#define GEN11_MOCS (struct GEN11_MEMORY_OBJECT_CONTROL_STATE) { \
+ /* TC=LLC/eLLC, LeCC=WB, LRUM=3, L3CC=WB */ \
+ .IndextoMOCSTables = 2 \
+ }
+
+#define GEN11_MOCS_PTE { \
+ /* TC=LLC/eLLC, LeCC=WB, LRUM=3, L3CC=WB */ \
+ .IndextoMOCSTables = 1 \
+ }
+
struct anv_device_memory {
struct anv_bo * bo;
struct anv_memory_type * type;