]> 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)
commit59cf9de9e2a45a18a8124476f5dcd3e88754ebf2
treee5a9dda78391fcce5170df16884b23dadd246881
parent93b308b53110322b806d08a4ff3dbc7785dd8138
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