drm/i915/bios: iterate over child devices to initialize ddi_port_info
Iterate over child devices instead of ports in parse_ddi_ports() to initialize ddi_port_info. We'll eventually need to decide some stuff based on the child device order, which may be different from the port order. As a bonus, this allows better abstractions for e.g. dvo port mapping. There's a subtle change in the DDC pin and AUX channel sanitization as we change the order. Otherwise, this should not change behaviour. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190322121008.4456-1-jani.nikula@intel.com
此提交包含在:
@@ -957,6 +957,7 @@ struct ddi_vbt_port_info {
|
||||
#define HDMI_LEVEL_SHIFT_UNKNOWN 0xff
|
||||
u8 hdmi_level_shift;
|
||||
|
||||
u8 present:1;
|
||||
u8 supports_dvi:1;
|
||||
u8 supports_hdmi:1;
|
||||
u8 supports_dp:1;
|
||||
|
新增問題並參考
封鎖使用者