]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnl: skip PW_DDI_F on certain skus
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 14 Oct 2020 19:19:28 +0000 (12:19 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Oct 2020 21:14:28 +0000 (14:14 -0700)
commitf9207234f50dc704df9a9907f0483779ab7d4ee4
tree60a05849fa21bda5480507e3ab968c0a3dbd0878
parenta670215d59f5938eb92f58c9c2932f1c97e58926
drm/i915/cnl: skip PW_DDI_F on certain skus

The skus guarded by IS_CNL_WITH_PORT_F() have port F and thus they need
those power wells. The others don't have those. Up to now we were
just overriding the number of power wells on !IS_CNL_WITH_PORT_F(),
relying on those power wells to be the last ones. Now that we have logic
in place to skip power wells by id, use it instead.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h