isl: Fix Xe2 protected mask

BSpec 71045 and 57023 still points that protected/encrypted bit is still
bit 0, bit 1 should not be set or undesired MOCS index could be set.

Fixes: 7be8bc2c97 ("isl: Add mocs for xe2")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30369>
This commit is contained in:
José Roberto de Souza
2024-07-16 14:13:34 -07:00
committed by Marge Bot
parent 79389b9f6f
commit 79f95a3711

View File

@@ -114,7 +114,7 @@ isl_device_setup_mocs(struct isl_device *dev)
/* L3+L4=WB; BSpec: 71582 */
dev->mocs.internal = 1 << 1;
dev->mocs.external = 1 << 1;
dev->mocs.protected_mask = 3 << 0;
dev->mocs.protected_mask = 1 << 0;
/* TODO: Setting to uncached
* WA 14018443005:
* Ensure that any compression-enabled resource from gfx memory subject