]> 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)
commit1e1824de33c1a44640778fd04106e240e819866b
treed666eae3e38ab24e62a580ab48675c3dd1ac008a
parent131b1252e76af0ee462e31df428d6fdafee48532
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