drm/i915/gen12: Apply recommended L3 hashing mask
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 1 Dec 2022 22:22:10 +0000 (14:22 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 5 Dec 2022 21:28:38 +0000 (13:28 -0800)
commitc46c5fb725bedd73cf33511b6a52d82b57eaba2a
treeb55d600e1e5e47f86b5c5518efc2fb61bf14c99e
parentc04712efb3755306ff3ab72a91df94108bff1f30
drm/i915/gen12: Apply recommended L3 hashing mask

The TGL/RKL/DG1/ADL performance tuning guide suggests programming a
literal value of 0x2FC0100F for this register.  The register's hardware
default value is 0x2FC0108F, so this translates to just clearing one
bit.

Take this opportunity to also clean up the register definition and
re-write its existing bits/fields in the preferred notation.

Bspec: 31870
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221201222210.344152-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/gt/intel_workarounds.c