]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen12: Add recommended hardware tuning value
authorCaz Yokoyama <caz.yokoyama@intel.com>
Wed, 24 Mar 2021 20:04:59 +0000 (13:04 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 9 Apr 2021 06:41:19 +0000 (23:41 -0700)
commit377615d0a71a52b8950bf5d7796aed0eb1858e3b
tree5c56b532a3b6fa6db29f7d5c0026d27abf2d869b
parentc75147f0e7fafc80f01d78515aaab711c4db3fa4
drm/i915/gen12: Add recommended hardware tuning value

Follow Bspec 31870 to set recommended tuning values for certain GT
register.  These values aren't workarounds per-se, but it's best to
handle them in the same general area of the driver, especially since
there may be real workarounds that update other bits of the same
registers.

At the moment the only value we need to worry about is the
TDS_TIMER setting in FF_MODE2.  This setting was previously
described as "Wa_1604555607" on some platforms, but the spec
tells us that we should continue to program this on all current
gen12 platforms, even those that do not have that WA.

Bspec: 31870

v2: Rephrase some comments to make them clearer (Matt)

Cc: Clinton Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210324200502.1731265-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c