OSDN Git Service

drm/i915/tc: Add asserts in TC PHY hooks that the required power is on
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:26 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:31 +0000 (11:35 +0300)
commit7e696546353f659f60fd10616e04a2aa59ab2ac0
tree734d580aa6481a556aa77fdd9932defd77a4d5d6
parent16cf693e31bdb423f35ab24081575ec9699303fc
drm/i915/tc: Add asserts in TC PHY hooks that the required power is on

Add an assert to each TC PHY hook that their required power domain is
enabled.

While at it add a comment describing the domains used on each platform
and TC mode.

v2: Fix non kernel-doc multiline comments. (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-21-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c