drm/i915/tgl: Add Wa_1608008084
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 24 Feb 2020 19:12:58 +0000 (11:12 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 27 Feb 2020 21:26:51 +0000 (13:26 -0800)
commite94bda14325ccf1a519ffb516738d1201457f97f
treeee2a17692390e011a36fa686e8e47490ab6ae6eb
parent041be4811f981dca9db1bcd5ac89d0243ef134f9
drm/i915/tgl: Add Wa_1608008084

Wa_1608008084 is an additional WA that applies to writes on FF_MODE2
register. We can't read it back either from CPU or GPU. Since the other
bits should be 0, recommendation to handle Wa_1604555607 is to actually
just write the timer value.

Do a write only and don't try to read it, neither before or after
the WA is applied.

Fixes: ff690b2111ba ("drm/i915/tgl: Implement Wa_1604555607")
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200224191258.15668-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c