[PATCH] tgl-mocs
Chris Wilson
chris at chris-wilson.co.uk
Wed Oct 14 08:26:38 UTC 2020
---
drivers/gpu/drm/i915/gt/intel_mocs.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_mocs.c b/drivers/gpu/drm/i915/gt/intel_mocs.c
index 39179a3eee98..a44fe6c5dc7e 100644
--- a/drivers/gpu/drm/i915/gt/intel_mocs.c
+++ b/drivers/gpu/drm/i915/gt/intel_mocs.c
@@ -234,17 +234,10 @@ static const struct drm_i915_mocs_entry broxton_mocs_table[] = {
L3_1_UC)
static const struct drm_i915_mocs_entry tgl_mocs_table[] = {
- /*
- * NOTE:
- * Reserved and unspecified MOCS indices have been set to (L3 + LCC).
- * These reserved entries should never be used, they may be changed
- * to low performant variants with better coherency in the future if
- * more entries are needed. We are programming index I915_MOCS_PTE(1)
- * only, __init_mocs_table() take care to program unused index with
- * this entry.
- */
- MOCS_ENTRY(1, LE_3_WB | LE_TC_1_LLC | LE_LRUM(3),
- L3_3_WB),
+ MOCS_ENTRY(I915_MOCS_PTE,
+ LE_0_PAGETABLE | LE_TC_0_PAGETABLE,
+ L3_1_UC),
+
GEN11_MOCS_ENTRIES,
/* Implicitly enable L1 - HDC:L1 + L3 + LLC */
--
2.20.1
More information about the Intel-gfx-trybot
mailing list