public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Matt Roper <matthew.d.roper@intel.com>
To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
	Francisco Jerez <francisco.jerez.plata@intel.com>
Subject: [igt-dev] [PATCH i-g-t] i915/gem_mocs_settings: Update TGL MOCS table
Date: Wed, 13 Nov 2019 08:51:03 -0800	[thread overview]
Message-ID: <20191113165103.5255-1-matthew.d.roper@intel.com> (raw)
In-Reply-To: <20191113163941.GS21445@mdroper-desk1.amr.corp.intel.com>

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>
---
 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] = { 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},
 };
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

       reply	other threads:[~2019-11-13 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20191113163941.GS21445@mdroper-desk1.amr.corp.intel.com>
2019-11-13 16:51 ` Matt Roper [this message]
2019-11-13 21:25   ` [igt-dev] [PATCH i-g-t] i915/gem_mocs_settings: Update TGL MOCS table Lucas De Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191113165103.5255-1-matthew.d.roper@intel.com \
    --to=matthew.d.roper@intel.com \
    --cc=francisco.jerez.plata@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox