OSDN Git Service

drm/i915/tc: Add TC PHY hook to get the PHY HPD live status
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:14 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:30 +0000 (11:35 +0300)
commit34a658b7e7128b35daf71cc003fbb659f914f7a7
treec30ad3eb8cf1100374944afcbc062334904ce5f8
parentc5879999641f7860495cb9655de6775c96999103
drm/i915/tc: Add TC PHY hook to get the PHY HPD live status

Add a table of TC PHY hooks which can be used to call platform specific
TC PHY handlers, replacing the corresponding if ladders.

Add the hook to retrieve the PHY's HPD live status. Move the common part
fixing up the VBT legacy port flag to the generic helper.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-9-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c