drm/i915/dg2: Program recommended HW settings
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 2 Nov 2021 22:25:11 +0000 (15:25 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 11 Nov 2021 19:09:11 +0000 (11:09 -0800)
commit212e6562f33becbab1996261677a0b89c5ab8b54
tree8efb48f87a3d66132d3a0612961e7b93e0096c8b
parent645cc0b9d972b8bfaa983623950c3a53ccd0c57a
drm/i915/dg2: Program recommended HW settings

The bspec's performance guide suggests programming specific values into
a few registers for optimal performance.  Although these aren't
workarounds, it's easiest to handle them inside the GT workaround
functions (which will also ensure that the values set here are properly
melded with other bits in the same registers that _are_ set by
workarounds).

Bspec: 68331, 45395

Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Siddiqui Ayaz A <ayaz.siddiqui@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211102222511.534310-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h