[PATCH i-g-t 1/3] lib/intel_mocs: fix wb mocs entry for MTL
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Jul 3 06:30:34 UTC 2025
Likely there was some typo when adding mocs for MTL. Valid
entry for WB is equal 1, not 10.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Matthew Auld <matthew.auld at intel.com>
---
lib/intel_mocs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/intel_mocs.c b/lib/intel_mocs.c
index 5698c6cca0..e0c33c31c0 100644
--- a/lib/intel_mocs.c
+++ b/lib/intel_mocs.c
@@ -29,7 +29,7 @@ static void get_mocs_index(int fd, struct drm_intel_mocs_index *mocs)
mocs->defer_to_pat_index = 0;
} else if (IS_METEORLAKE(devid)) {
mocs->uc_index = 5;
- mocs->wb_index = 10;
+ mocs->wb_index = 1;
} else if (IS_DG2(devid)) {
mocs->uc_index = 1;
mocs->wb_index = 3;
--
2.43.0
More information about the igt-dev
mailing list