mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
intel/isl: Enable MOCS 61 for external surfaces on TGL
Reworks: * Lionel/Francisco: Add comment Cc: mesa-stable Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12292>
This commit is contained in:
parent
0f812e1295
commit
333b2185d8
1 changed files with 2 additions and 3 deletions
|
|
@ -107,9 +107,8 @@ isl_device_setup_mocs(struct isl_device *dev)
|
|||
*/
|
||||
dev->mocs.external = 5 << 1;
|
||||
} else {
|
||||
/* TODO: Set PTE to MOCS 61 when the kernel is ready */
|
||||
/* TC=1/LLC Only, LeCC=1/Uncacheable, LRUM=0, L3CC=1/Uncacheable */
|
||||
dev->mocs.external = 3 << 1;
|
||||
/* TC=1/LLC Only, LeCC=1/UC, LRUM=0, L3CC=3/WB */
|
||||
dev->mocs.external = 61 << 1;
|
||||
/* TC=LLC/eLLC, LeCC=WB, LRUM=3, L3CC=WB */
|
||||
dev->mocs.internal = 2 << 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue