OSDN Git Service

drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it
authorImre Deak <imre.deak@intel.com>
Mon, 8 Feb 2021 15:43:03 +0000 (17:43 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 9 Feb 2021 12:24:30 +0000 (14:24 +0200)
commitf48993e5d26b079e8c80fff002499a213dbdb1b4
treef1ed0e3b838483a598b7a7c39ad1c27c4cab92ad
parent5e4b7385f374e10e94e6378cf7d030b66a342a0c
drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it

The TypeC FIA can be powered down if the TC-COLD power state is allowed,
so block the TC-COLD state when initializing the FIA.

Note that this isn't needed on ICL where the FIA is never modular and
which has no generic way to block TC-COLD (except for platforms with a
legacy TypeC port and on those too only via these legacy ports, not via
a DP-alt/TBT port).

Cc: <stable@vger.kernel.org> # v5.10+
Cc: José Roberto de Souza <jose.souza@intel.com>
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3027
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210208154303.6839-1-imre.deak@intel.com
Reviewed-by: Jos� Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_tc.c