mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
anv/icl: Add gen11 mocs defines
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
1d6cf433d2
commit
413d475b44
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue