[Intel-gfx] [PATCH i-g-t] 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 Cc: Lucas De Marchi Cc: Francisco Jerez Cc: Tomasz Lis Signed-off-by: Matt Roper --- tests/i915/gem_mocs_settings.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c index fc2ccb21..8f8f0768 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] = { 0x0057, 0x0030, 0x1}, [14] = { 0x0067, 0x0010, 0x1}, [15] = { 0x0067, 0x0030, 0x1}, - [16] = { 0x4005, 0x0010, 0x1}, - [17] = { 0x4005, 0x0030, 0x1}, [18] = { 0x00060037, 0x0030, 0x1}, [19] = { 0x0737, 0x0030, 0x1}, [20] = { 0x0337, 0x0030, 0x1}, @@ -108,7 +106,7 @@ static const struct mocs_entry tigerlake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = { [50] = { 0x0037, 0x0010, 0x1}, [51] = { 0x0005, 0x0010, 0x1}, [60] = { 0x0037, 0x0010, 0x1}, - [61] = { 0x4005, 0x0030, 0x1}, + [61] = { 0x0005, 0x0030, 0x1}, [62] = { 0x0037, 0x0010, 0x1}, [63] = { 0x0037, 0x0010, 0x1}, }; -- 2.21.0 ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH i-g-t] i915/gem_mocs_settings: Update TGL MOCS table
On Wed, Nov 13, 2019 at 08:51:03AM -0800, Matt Roper wrote: 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 Cc: Lucas De Marchi Cc: Francisco Jerez Cc: Tomasz Lis Signed-off-by: Matt Roper Reviewed-by: Lucas De Marchi Lucas De Marchi --- tests/i915/gem_mocs_settings.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c index fc2ccb21..8f8f0768 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] = { 0x0057, 0x0030, 0x1}, [14] = { 0x0067, 0x0010, 0x1}, [15] = { 0x0067, 0x0030, 0x1}, - [16] = { 0x4005, 0x0010, 0x1}, - [17] = { 0x4005, 0x0030, 0x1}, [18] = { 0x00060037, 0x0030, 0x1}, [19] = { 0x0737, 0x0030, 0x1}, [20] = { 0x0337, 0x0030, 0x1}, @@ -108,7 +106,7 @@ static const struct mocs_entry tigerlake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = { [50] = { 0x0037, 0x0010, 0x1}, [51] = { 0x0005, 0x0010, 0x1}, [60] = { 0x0037, 0x0010, 0x1}, - [61] = { 0x4005, 0x0030, 0x1}, + [61] = { 0x0005, 0x0030, 0x1}, [62] = { 0x0037, 0x0010, 0x1}, [63] = { 0x0037, 0x0010, 0x1}, }; -- 2.21.0 ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx