]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b7100c9f7c2c7754e83ad7c97149758e66c3e98
tree2be92f4ca98b47cd232ab2681f31fd2b36dbeb59
parent203ea754685ef82cc5903c5f6fe97e4c3564bc68
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