diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-08-24 21:54:04 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-08-25 16:18:28 +0300 |
commit | 21907e722b1dcec6fa6ec4c2a65bdc108b5f4b9c (patch) | |
tree | 6fd8f3d3a7ba0cdb67c0664209e41050d0e92cdf /drivers/gpu/drm/i915/intel_vbt_defs.h | |
parent | cc9985893aacc3d9ed10929b0095dfe527a58e5f (diff) |
drm/i915/bios: throw away struct old_child_dev_config
The old_child_dev_config struct is no longer needed except for its size;
replace with a macro. No functional change.
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/4bfa6e45fecd33af797ec218635504ec8a09f788.1503600621.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_vbt_defs.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_vbt_defs.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/gpu/drm/i915/intel_vbt_defs.h b/drivers/gpu/drm/i915/intel_vbt_defs.h index c8c15e5425e0..fc67b2ed6a20 100644 --- a/drivers/gpu/drm/i915/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/intel_vbt_defs.h @@ -230,32 +230,7 @@ struct bdb_general_features { #define DEVICE_PORT_DVOB 0x01 #define DEVICE_PORT_DVOC 0x02 -/* - * We used to keep this struct but without any version control. We should avoid - * using it in the future, but it should be safe to keep using it in the old - * code. Do not change; we rely on its size. - */ -struct old_child_dev_config { - u16 handle; - u16 device_type; - u8 device_id[10]; /* ascii string */ - u16 addin_offset; - u8 dvo_port; /* See Device_PORT_* above */ - u8 i2c_pin; - u8 slave_addr; - u8 ddc_pin; - u16 edid_ptr; - u8 dvo_cfg; /* See DEVICE_CFG_* above */ - u8 dvo2_port; - u8 i2c2_pin; - u8 slave2_addr; - u8 ddc2_pin; - u8 capabilities; - u8 dvo_wiring;/* See DEVICE_WIRE_* above */ - u8 dvo2_wiring; - u16 extended_type; - u8 dvo_function; -} __packed; +#define LEGACY_CHILD_DEVICE_CONFIG_SIZE 33 /* * The child device config, aka the display device data structure, provides a |