[PATCH i-g-t 14/20] tools/intel_vbt_decode: Sort dumper table
Ville Syrjala
ville.syrjala at linux.intel.com
Fri May 31 14:23:48 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Sort the block dumper table by the block ID. Makes it a
bit easier to double check which blocks we have implemented
vs. not.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_vbt_decode.c | 52 ++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index a77c1ec3335d..95ed97c5f499 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -2666,11 +2666,37 @@ struct dumper dumpers[] = {
.name = "General definitions block",
.dump = dump_general_definitions,
},
+ {
+ .id = BDB_PSR,
+ .min_bdb_version = 165,
+ .name = "PSR block",
+ .dump = dump_psr,
+ },
{
.id = BDB_CHILD_DEVICE_TABLE,
.name = "Legacy child devices block",
.dump = dump_legacy_child_devices,
},
+ {
+ .id = BDB_DRIVER_FEATURES,
+ .name = "Driver feature data block",
+ .dump = dump_driver_feature,
+ },
+ {
+ .id = BDB_SDVO_LVDS_OPTIONS,
+ .name = "SDVO LVDS options block",
+ .dump = dump_sdvo_lvds_options,
+ },
+ {
+ .id = BDB_SDVO_LVDS_DTD,
+ .name = "SDVO LVDS DTD",
+ .dump = dump_sdvo_lvds_dtd,
+ },
+ {
+ .id = BDB_EDP,
+ .name = "eDP block",
+ .dump = dump_edp,
+ },
{
.id = BDB_LFP_OPTIONS,
.name = "LFP options block",
@@ -2696,32 +2722,6 @@ struct dumper dumpers[] = {
.name = "LFP power conservation features block",
.dump = dump_lfp_power,
},
- {
- .id = BDB_SDVO_LVDS_OPTIONS,
- .name = "SDVO LVDS options block",
- .dump = dump_sdvo_lvds_options,
- },
- {
- .id = BDB_SDVO_LVDS_DTD,
- .name = "SDVO LVDS DTD",
- .dump = dump_sdvo_lvds_dtd,
- },
- {
- .id = BDB_DRIVER_FEATURES,
- .name = "Driver feature data block",
- .dump = dump_driver_feature,
- },
- {
- .id = BDB_EDP,
- .name = "eDP block",
- .dump = dump_edp,
- },
- {
- .id = BDB_PSR,
- .min_bdb_version = 165,
- .name = "PSR block",
- .dump = dump_psr,
- },
{
.id = BDB_MIPI_CONFIG,
.name = "MIPI configuration block",
--
2.44.1
More information about the igt-dev
mailing list