]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow platforms to share power well descriptors
authorImre Deak <imre.deak@intel.com>
Thu, 14 Apr 2022 21:06:50 +0000 (00:06 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 20 Apr 2022 17:42:12 +0000 (20:42 +0300)
commit4b60a60c5067da5f24c7d2a1140cd344c38e2708
treee5a9dda78391fcce5170df16884b23dadd246881
parentf3d0d25136fec8b97e215f4ab3811887c7b99a91
drm/i915: Allow platforms to share power well descriptors

Some power wells - like always-on and skl+/icl+ PW_1 - with the same
name, domain list, flags, ops are used by multiple platforms, so allow
platforms to reuse the descriptors of such power wells.

This change also lets the follow up patches to simplify the DG1/RKL
power well definitions, and remove the ADL-S skip_mask special casing.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220414210657.1785773-11-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power_map.c