Re: [PATCH i-g-t 3/8] tools/intel_vbt_defs: sync intel_vbt_defs.h with kernel commit 4d33c77cf2c3

Karthik B S
2026-04-27T05:12:32Z

On 4/22/2026 9:13 AM, Ankit Nautiyal wrote:
> Synchronize intel_vbt_defs.h with kernel commit:
>
> 4d33c77cf2c3 ("drm/i915/vbt: Add eDP Data rate overrride field in VBT")
>
> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
> tools/intel_vbt_defs.h | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
> index 6612d3a4ec49..70e31520c560 100644
> --- a/tools/intel_vbt_defs.h
> +++ b/tools/intel_vbt_defs.h
> @@ -437,6 +437,22 @@ enum vbt_gmbus_ddi {
> #define BDB_230_VBT_DP_MAX_LINK_RATE_UHBR13P5 6
> #define BDB_230_VBT_DP_MAX_LINK_RATE_UHBR20 7
>
> +/* EDP link rate 263+ */
> +#define BDB_263_VBT_EDP_LINK_RATE_1_62 BIT_U32(0)
> +#define BDB_263_VBT_EDP_LINK_RATE_2_16 BIT_U32(1)
> +#define BDB_263_VBT_EDP_LINK_RATE_2_43 BIT_U32(2)
> +#define BDB_263_VBT_EDP_LINK_RATE_2_7 BIT_U32(3)
> +#define BDB_263_VBT_EDP_LINK_RATE_3_24 BIT_U32(4)
> +#define BDB_263_VBT_EDP_LINK_RATE_4_32 BIT_U32(5)
> +#define BDB_263_VBT_EDP_LINK_RATE_5_4 BIT_U32(6)
> +#define BDB_263_VBT_EDP_LINK_RATE_6_75 BIT_U32(7)
> +#define BDB_263_VBT_EDP_LINK_RATE_8_1 BIT_U32(8)
> +#define BDB_263_VBT_EDP_LINK_RATE_10 BIT_U32(9)
> +#define BDB_263_VBT_EDP_LINK_RATE_13_5 BIT_U32(10)
> +#define BDB_263_VBT_EDP_LINK_RATE_20 BIT_U32(11)
> +#define BDB_263_VBT_EDP_NUM_RATES 12
> +#define BDB_263_VBT_EDP_RATES_MASK GENMASK(BDB_263_VBT_EDP_NUM_RATES - 1, 0)
> +
> /*
> * The child device config, aka the display device data structure, provides a
> * description of a port and its configuration on the platform.
> @@ -547,6 +563,8 @@ struct child_device_config {
> u8 dp_max_link_rate:3; /* 216+ */
> u8 dp_max_link_rate_reserved:5; /* 216+ */
> u8 efp_index; /* 256+ */
> + u32 edp_data_rate_override:12; /* 263+ */
> + u32 edp_data_rate_override_reserved:20; /* 263+ */
> } __packed;
>
> struct bdb_general_definitions {