OSDN Git Service

drm/i915: Sanitize the ADL-S power well definition
authorImre Deak <imre.deak@intel.com>
Thu, 14 Apr 2022 21:06:52 +0000 (00:06 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 20 Apr 2022 17:42:12 +0000 (20:42 +0300)
commiteb6dedcc194a5bdbe7e47ad111771abb4ebdd2b8
tree511156b3323fd609147d9440f30949947a6af2bd
parent13344a9bdd38a8938dad385521ce601cecf4f4f7
drm/i915: Sanitize the ADL-S power well definition

Instead of the skip_mask special casing of the ADL-S power well
descriptors, add a power well descriptor list for ADL-S as well reusing
the TGL descriptors, w/o the TC-cold power well. ADL-S doesn't have
TypeC PHYs, so a better way would be having ADL-S specific AUX
descriptors, but I left changing this for a follow-up.

This changes the ordering of the AUX and TC-cold vs. PW_4/5 power wells
on TGL and ADL-S, but this shouldn't make a difference (PW_4/5 don't
depend on the AUX/TC-cold power wells).

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-13-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power_map.c