[PATCH i-g-t 4/5] tools/intel_vbt_decode: sync intel_vbt_defs.h with kernel commit 8e26690851f9

Jani Nikula jani.nikula at intel.com
Thu May 30 15:26:07 UTC 2024


Synchronize intel_vbt_defs.h with kernel commit:

8e26690851f9 ("drm/i915/bios: Rename SDVO DTD blocks a bit")

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 tools/intel_vbt_decode.c |  4 ++--
 tools/intel_vbt_defs.h   | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index bcec7eb54503..6b63bcf0bc7c 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -326,7 +326,7 @@ static size_t block_min_size(const struct context *context, int section_id)
 		return sizeof(struct bdb_driver_features);
 	case BDB_SDVO_LVDS_OPTIONS:
 		return sizeof(struct bdb_sdvo_lvds_options);
-	case BDB_SDVO_PANEL_DTDS:
+	case BDB_SDVO_LVDS_DTD:
 		/* FIXME? */
 		return 0;
 	case BDB_EDP:
@@ -2723,7 +2723,7 @@ struct dumper dumpers[] = {
 		.dump = dump_sdvo_lvds_options,
 	},
 	{
-		.id = BDB_SDVO_PANEL_DTDS,
+		.id = BDB_SDVO_LVDS_DTD,
 		.name = "SDVO panel dtds",
 		.dump = dump_sdvo_panel_dtds,
 	},
diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
index c02d808d9e35..038f489d034c 100644
--- a/tools/intel_vbt_defs.h
+++ b/tools/intel_vbt_defs.h
@@ -160,9 +160,9 @@ enum bdb_block_id {
 	BDB_OEM_CUSTOM			= 20,
 	BDB_EFP_LIST			= 21, /* workarounds for VGA hsync/vsync */
 	BDB_SDVO_LVDS_OPTIONS		= 22,
-	BDB_SDVO_PANEL_DTDS		= 23,
-	BDB_SDVO_LVDS_PNP_IDS		= 24,
-	BDB_SDVO_LVDS_POWER_SEQ		= 25,
+	BDB_SDVO_LVDS_DTD		= 23,
+	BDB_SDVO_LVDS_PNP_ID		= 24,
+	BDB_SDVO_LVDS_PPS		= 25,
 	BDB_TV_OPTIONS			= 26,
 	BDB_EDP				= 27,
 	BDB_LFP_OPTIONS			= 40,
@@ -686,11 +686,11 @@ struct bdb_sdvo_lvds_options {
 } __packed;
 
 /*
- * Block 23 - SDVO LVDS Panel DTDs
+ * Block 23 - SDVO LVDS DTD
  */
 
-struct bdb_sdvo_panel_dtds {
-	struct bdb_edid_dtd dtds[4];
+struct bdb_sdvo_lvds_dtd {
+	struct bdb_edid_dtd dtd[4];
 } __packed;
 
 /*
-- 
2.39.2



More information about the igt-dev mailing list