diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-08-25 12:30:20 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-08-29 17:26:19 +0300 |
commit | dff8b304e3fcf1f3fe4103113240ab7a2a92d3ca (patch) | |
tree | cca424a03d2156b173d73aaf03bd9a84d2bcd9dd /tools/intel_bios.h | |
parent | ef52ae2cf9a52d8380a7335e5e87c495f557f8e9 (diff) |
tools/intel_vbt_decode: migrate child device dumping to kernel struct
Retain the legacy definition for the obsolete child device block, at
least for now. No functional changes.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/intel_bios.h')
-rw-r--r-- | tools/intel_bios.h | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/tools/intel_bios.h b/tools/intel_bios.h index 8d1bf7ae..3f441a6d 100644 --- a/tools/intel_bios.h +++ b/tools/intel_bios.h @@ -72,7 +72,7 @@ #define DEVICE_PORT_DPC 8 #define DEVICE_PORT_DPD 9 -struct child_device_config { +struct legacy_child_device_config { uint16_t handle; uint16_t device_type; /* See DEVICE_TYPE_* above */ uint8_t device_id[10]; @@ -94,65 +94,11 @@ struct child_device_config { uint8_t dvo_function; } __attribute__ ((packed)); -struct efp_child_device_config { - uint16_t handle; - uint16_t device_type; - uint8_t i2c_speed; - uint8_t dp_onboard_redriver; /* 158 */ - uint8_t dp_ondock_redriver; /* 158 */ - uint8_t hdmi_level_shifter_value:4; /* 169 */ - uint8_t hdmi_max_data_rate:4; /* 204 */ - uint16_t dtd_buf_ptr; /* 161 */ - uint8_t edidless_efp:1; /* 161 */ - uint8_t compression_enable:1; /* 198 */ - uint8_t compression_method:1; /* 198 */ - uint8_t ganged_edp:1; /* 202 */ - uint8_t skip0:4; - uint8_t compression_structure_index:4; /* 198 */ - uint8_t skip1:4; - uint8_t slave_port; /* 202 */ - uint8_t skip2; - uint16_t addin_offset; - uint8_t port; - uint8_t i2c_pin; /* for add-in card */ - uint8_t slave_addr; /* for add-in card */ - uint8_t ddc_pin; - uint16_t edid_ptr; - uint8_t dvo_config; - uint8_t efp_docked_port:1; /* 158 */ - uint8_t lane_reversal:1; /* 184 */ - uint8_t onboard_lspcon:1; /* 192 */ - uint8_t iboost_enable:1; /* 196 */ - uint8_t hpd_invert:1; /* BXT 196 */ - uint8_t slip3:3; - uint8_t hdmi_compat:1; - uint8_t dp_compat:1; - uint8_t tmds_compat:1; - uint8_t skip4:5; - uint8_t aux_chan; - uint8_t dongle_detect; - uint8_t pipe_cap:2; - uint8_t sdvo_stall:1; /* 158 */ - uint8_t hpd_status:2; - uint8_t integrated_encoder:1; - uint8_t skip5:2; - uint8_t dvo_wiring; - uint8_t mipi_bridge_type; /* 171 */ - uint16_t device_class_ext; - uint8_t dvo_function; - uint8_t dp_usb_type_c:1; /* 195 */ - uint8_t skip6:7; - uint8_t dp_usb_type_c_2x_gpio_index; /* 195 */ - uint16_t dp_usb_type_c_2x_gpio_pin; /* 195 */ - uint8_t iboost_dp:4; /* 196 */ - uint8_t iboost_hdmi:4; /* 196 */ -} __attribute__ ((packed)); - #define DEVICE_CHILD_SIZE 7 struct bdb_child_devices { uint8_t child_structure_size; - struct child_device_config children[DEVICE_CHILD_SIZE]; + struct legacy_child_device_config children[DEVICE_CHILD_SIZE]; } __attribute__ ((packed)); struct blc_struct { |