]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bios: start using intel_bios_encoder_data for Type-C USB and TBT
authorJani Nikula <jani.nikula@intel.com>
Wed, 17 Mar 2021 16:36:52 +0000 (18:36 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Mar 2021 12:44:14 +0000 (14:44 +0200)
commitf08fbe6a8c6478f076ebb521b489f8972430dc30
tree956890829172307c20f7a24534870f2dba1cfce6
parent45c0673aac97e0615c28d49f3b100403d20673bc
drm/i915/bios: start using intel_bios_encoder_data for Type-C USB and TBT

Stop caching the information in ddi_port_info. We're phasing out
ddi_port_info usage completely, and prefer using the VBT child device
information directly using the provided helpers.

v2:
- Remove supports_typec_usb & supports_tbt from ddi_vbt_port_info (Lucas)

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b04bd183e7554aeb4bc3962af90d63171aa32fc2.1615998927.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_bios.h
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_drv.h