]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tc: Add a mode for the TypeC PHY's disconnected state
authorImre Deak <imre.deak@intel.com>
Wed, 29 Sep 2021 13:28:29 +0000 (16:28 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 29 Sep 2021 20:57:48 +0000 (23:57 +0300)
commitf6f2ce20fd117da1216315ac84a3ae9db27b9685
tree3b2b85676887d0f26a4dc647abd400d84857fc81
parentfc73b723d9cdada6b0f02234c4fc2ef2b89e83f9
drm/i915/tc: Add a mode for the TypeC PHY's disconnected state

A follow-up change will start to disconnect/re-connect PHYs around AUX
transfers and modeset enable/disables. To prepare for that add a new
TypeC PHY disconnected mode, to help tracking the TC-cold blocking power
domain status (no power domain in disconnected state, mode dependent
power domain in connected state).

v2: Move the !disconnected mode and phy-owned asserts in
    __intel_tc_port_lock() later in the patchset, when the asserts will
    hold. (Jose)

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210929132833.2253961-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_tc.c