drm/i915: Add encoder hook to get the PLL type used by TC ports
authorImre Deak <imre.deak@intel.com>
Thu, 16 Mar 2023 13:17:22 +0000 (15:17 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 22 Mar 2023 18:31:20 +0000 (20:31 +0200)
commit7c1da0683e2adb969005ea195cb6bed22f844a69
tree9b7d06219129c87f6e619b79948161a143e81d0e
parent40a55b842bbcd3d79b7a8ff7c426b22b6700768b
drm/i915: Add encoder hook to get the PLL type used by TC ports

Add an encoder hook, which can be called on enabled TC ports to
determine if the port uses a TBT or a non-TBT PLL. An upcoming patch
will use this to sanity check active TC port's PHY state wrt. the PLL
type used by the port.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316131724.359612-13-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi.h
drivers/gpu/drm/i915/display/intel_display_types.h