drm/i915/ats-m: Add thread execution tuning setting
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 26 Aug 2022 21:27:18 +0000 (14:27 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 30 Aug 2022 19:36:37 +0000 (12:36 -0700)
commit73c7a8a871dc9aa6b7876c1a30bdbe0f899eb4f6
tree627b7a8a1b19b2e4a63af3d53087061cfa4a522c
parentd9927abb4594ba940b3ed1dd86fa0447faf13a7b
drm/i915/ats-m: Add thread execution tuning setting

On client DG2 platforms, optimal performance is achieved with the
hardware's default "age based" thread execution setting.  However on
ATS-M, switching this to "round robin after dependencies" provides
better performance.  We'll add a new "tuning" feature flag to the ATS-M
device info to enable/disable this setting.

Bspec: 68331
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220826212718.409948-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h