summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2019-11-13 08:51:03 -0800
committerMatt Roper <matthew.d.roper@intel.com>2019-11-14 07:35:42 -0800
commit89f09de246eca5fdd0198cebb5497549a421e50c (patch)
tree09814d41a3830a3188332013c7058a3b7a85f651
parente9c0bb948d2cc3cc4471a6e9508bcc680d9e1f53 (diff)
i915/gem_mocs_settings: Update TGL MOCS table
The TGL MOCS table was corrected in the bspec and the kernel. Since this test hardcodes its own copy of the MOCS table, we need to make corresponding fixes here. References: 046091758b50 ("Revert "drm/i915/ehl: Update MOCS table for EHL"") References: bfb0e8e63d86 ("drm/i915/tgl: MOCS table update") Cc: Prathap Kumar Valsan <prathap.kumar.valsan@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Francisco Jerez <francisco.jerez.plata@intel.com> Cc: Tomasz Lis <tomasz.lis@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
-rw-r--r--tests/i915/gem_mocs_settings.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c
index 9627d828..60f7037f 100644
--- a/tests/i915/gem_mocs_settings.c
+++ b/tests/i915/gem_mocs_settings.c
@@ -95,8 +95,6 @@ static const struct mocs_entry tigerlake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = {
[13] = { 0x00000057, 0x0030, 0x1},
[14] = { 0x00000067, 0x0010, 0x1},
[15] = { 0x00000067, 0x0030, 0x1},
- [16] = { 0x00004005, 0x0010, 0x1},
- [17] = { 0x00004005, 0x0030, 0x1},
[18] = { 0x00060037, 0x0030, 0x1},
[19] = { 0x00000737, 0x0030, 0x1},
[20] = { 0x00000337, 0x0030, 0x1},
@@ -108,7 +106,7 @@ static const struct mocs_entry tigerlake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = {
[50] = { 0x00000037, 0x0010, 0x1},
[51] = { 0x00000005, 0x0010, 0x1},
[60] = { 0x00000037, 0x0010, 0x1},
- [61] = { 0x00004005, 0x0030, 0x1},
+ [61] = { 0x00000005, 0x0030, 0x1},
[62] = { 0x00000037, 0x0010, 0x1},
[63] = { 0x00000037, 0x0010, 0x1},
};