public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/WA: Mark FF_MODE2 as WO for TGL
@ 2019-11-20 14:57 Ramalingam C
  2019-11-20 15:29 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ramalingam C @ 2019-11-20 14:57 UTC (permalink / raw)
  To: igt-dev

On TGL till B0 stepping FF_MODE2(0x6604) register is not readable. But
we need to program this register for Wa_1604555607 for better
performance. Hence to skip the verification attempt on this register
through read, we are marking this register as write only.

As of now I have marked this register as write only for gen12, we can
narrow it down to TGL <= B0, if we can retrieve the stepping of the
platform at IGT.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_workarounds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_workarounds.c b/tests/i915/gem_workarounds.c
index dd6316ea3b4e..57d307b9991b 100644
--- a/tests/i915/gem_workarounds.c
+++ b/tests/i915/gem_workarounds.c
@@ -51,8 +51,8 @@ static struct write_only_list {
 	unsigned int gen;
 	uint32_t addr;
 } wo_list[] = {
-	{ 10, 0xE5F0 } /* WaForceContextSaveRestoreNonCoherent:cnl */
-
+	{ 10, 0xE5F0 }, /* WaForceContextSaveRestoreNonCoherent:cnl */
+	{ 12, 0x6604 }	/* FIXME: Stepping > B0 might be readable */
 	/*
 	 * FIXME: If you are contemplating adding stuff here
 	 * consider this as a temporary solution. You need to
-- 
2.20.1

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-21  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 14:57 [igt-dev] [PATCH i-g-t] tests/i915/WA: Mark FF_MODE2 as WO for TGL Ramalingam C
2019-11-20 15:29 ` Chris Wilson
2019-11-20 15:39 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-11-21  7:10 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox