[igt-dev] [PATCH 2/5] i915/gem_mocs_settings: do not set undefined entries to PTE

Lucas De Marchi lucas.demarchi at intel.com
Thu Jul 25 20:33:51 UTC 2019


In the Ice Lake table we are setting all undefined entries to PTE.
With Tiger Lake this won't be true anymore. Even if for test in IGT we
add a new table for Tiger Lake, in kernel they can be shares since they
are supposedly compatible (only unused entries were added or became
unused).

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 tests/i915/gem_mocs_settings.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c
index 7b1718f4..9f4e1b6d 100644
--- a/tests/i915/gem_mocs_settings.c
+++ b/tests/i915/gem_mocs_settings.c
@@ -101,7 +101,6 @@ static const struct mocs_entry icelake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = {
 	[21] = { 0x00000137, 0x0030, 0x1},
 	[22] = { 0x000003b7, 0x0030, 0x1},
 	[23] = { 0x000007b7, 0x0030, 0x1},
-	[24 ... 61] = ICELAKE_MOCS_PTE,
 	[62] = { 0x00000037, 0x0010, 0x1},
 	[63] = { 0x00000037, 0x0010, 0x1},
 };
-- 
2.21.0



More information about the igt-dev mailing list