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

Ankit Nautiyal
2026-04-17T04:25:43Z

Synchronize intel_vbt_defs.h with kernel commit:
4d33c77cf2c3 ("drm/i915/vbt: Add eDP Data rate overrride field in VBT")

v2: Correct the commit id that matches with changes in intel_vbt_defs.h
(Kamil)

v3: Split the header sync and tool update into separate patches. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@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 550a9bfba868..acdd973bd006 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 (1 << 0)
+#define BDB_263_VBT_EDP_LINK_RATE_2_16 (1 << 1)
+#define BDB_263_VBT_EDP_LINK_RATE_2_43 (1 << 2)
+#define BDB_263_VBT_EDP_LINK_RATE_2_7 (1 << 3)
+#define BDB_263_VBT_EDP_LINK_RATE_3_24 (1 << 4)
+#define BDB_263_VBT_EDP_LINK_RATE_4_32 (1 << 5)
+#define BDB_263_VBT_EDP_LINK_RATE_5_4 (1 << 6)
+#define BDB_263_VBT_EDP_LINK_RATE_6_75 (1 << 7)
+#define BDB_263_VBT_EDP_LINK_RATE_8_1 (1 << 8)
+#define BDB_263_VBT_EDP_LINK_RATE_10 (1 << 9)
+#define BDB_263_VBT_EDP_LINK_RATE_13_5 (1 << 10)
+#define BDB_263_VBT_EDP_LINK_RATE_20 (1 << 11)
+#define BDB_263_VBT_EDP_NUM_RATES 12
+#define BDB_263_VBT_EDP_RATES_MASK 0xfff
+
/*
* 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 {
--
2.45.2