]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Program DFR enable/disable as a GT workaround
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 17 Jul 2021 05:14:22 +0000 (22:14 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 21 Jul 2021 17:44:36 +0000 (10:44 -0700)
commit6f3f78860c98c0d2b4bd9fc6e8ef52a82ef8194e
treed666eae3e38ab24e62a580ab48675c3dd1ac008a
parentb8155c660bef1d69231a5145539b9f85c2f69bbd
drm/i915: Program DFR enable/disable as a GT workaround

DFR programming (which we enable as an optimization on gen11, but must
ensure is disabled on gen12) should be handled as a GT workaround rather
than clock gating initialization.  This will ensure that the programming
of these registers is verified with our typical workaround checks.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/intel_pm.c