]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46a1d295bfb9ef2d589be162ec96cb17b64ee4ea
treef1ed0e3b838483a598b7a7c39ad1c27c4cab92ad
parent98f28ade7ea890b0012430fa4985caae7022df9a
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