drm/i915/gt: Add dedicated function for non-ctx register tuning settings
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 16 Aug 2022 21:06:00 +0000 (14:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 17 Aug 2022 05:29:08 +0000 (22:29 -0700)
commit7e55536c9c488febfeedacebae0831c070e72c36
tree2be92f4ca98b47cd232ab2681f31fd2b36dbeb59
parent8676145eb2f53a9940ff70910caf0125bd8a4bc2
drm/i915/gt: Add dedicated function for non-ctx register tuning settings

The bspec performance tuning section gives recommended settings that the
driver should program for various MMIO registers.  Although these
settings aren't "workarounds" we use the workaround infrastructure to do
this programming to make sure it is handled at the appropriate places
and doesn't conflict with any real workarounds.

Since more of these are starting to show up on recent platforms, it's a
good time to create a dedicated function to hold them so that there's
less ambiguity about how/where to implement new ones.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220816210601.2041572-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c