diff options
author | Anuj Phogat <[email protected]> | 2017-05-10 10:49:04 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2018-02-15 16:14:56 -0800 |
commit | d6b26649a6af8dee47a28b98df457b995e946722 (patch) | |
tree | a15d165461b5aebe1ce44bae51dc246246fac20d /src/mesa/drivers/dri/i965/brw_state.h | |
parent | e9ad5c9a5d71e7c4312a1ad025b9e5a9c26a10f4 (diff) |
i965/icl: Define and use icl mocs settings
Gen11 MOCS settings are duplicate of Gen10 MOCS settings.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index dd3c3c36d2b..9acb6257401 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -386,6 +386,12 @@ void gen11_init_atoms(struct brw_context *brw); /* TC=LLC/eLLC, LeCC=PTE, LRUM=3, L3CC=WB */ #define CNL_MOCS_PTE (1 << 1) +/* Ice Lake uses same MOCS settings as Cannonlake */ +/* TC=LLC/eLLC, LeCC=WB, LRUM=3, L3CC=WB */ +#define ICL_MOCS_WB (2 << 1) +/* TC=LLC/eLLC, LeCC=PTE, LRUM=3, L3CC=WB */ +#define ICL_MOCS_PTE (1 << 1) + uint32_t brw_get_bo_mocs(const struct gen_device_info *devinfo, struct brw_bo *bo); |