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)
committerJani Nikula <jani.nikula@intel.com>
Tue, 9 Feb 2021 18:27:31 +0000 (20:27 +0200)
commit2f51312bebb77962a518b4c6de777dd378b6110a
treeaccaaef3a2cfca6ea7bb7ffbdc06e4633e7451a0
parent92bf22614b21a2706f4993b278017e437f7785b3
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>
(cherry picked from commit f48993e5d26b079e8c80fff002499a213dbdb1b4)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_tc.c