drm/i915/tc: Fix PHY ownership programming in HDMI legacy mode
authorImre Deak <imre.deak@intel.com>
Tue, 26 Jul 2022 13:43:13 +0000 (16:43 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 15 Aug 2022 10:52:24 +0000 (13:52 +0300)
commite99ba96247764e2963bcabf2fe2d91b4455c6bc7
tree4bb51783cee8c5ffc1d3c86da181b8c06f9e547c
parent36e599e179db51d61d2b30ea63bead7abfae8506
drm/i915/tc: Fix PHY ownership programming in HDMI legacy mode

Make sure the TypeC PHY ownership flag is not getting reset during
an HDMI modeset on the given port. Besides the WARN this triggered, it
didn't cause other issues, since for TypeC legacy mode setting the
PHY ownership flag is optional (there is no other user of the PHY
besides display).

Reported-and-tested-by: Shawn C Lee <shawn.c.lee@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220726134313.1484763-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c