[igt-dev] [PATCH i-g-t v2 14/17] tools/intel_vbt_decode: Adjust DVO port printing
Ville Syrjala
ville.syrjala at linux.intel.com
Tue Sep 6 12:29:41 UTC 2022
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Dump the DVO port using the more standard form:
"DVO Port: <decoded name> (<raw value>)".
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_vbt_decode.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index f9b2bf0af272..9e14d5a570a7 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -972,7 +972,8 @@ static void dump_child_device(struct context *context,
}
printf("\t\tAIM offset: %d\n", child->addin_offset);
- printf("\t\tDVO Port: 0x%02x (%s)\n", child->dvo_port, dvo_port(child->dvo_port));
+ printf("\t\tDVO Port: %s (0x%02x)\n",
+ dvo_port(child->dvo_port), child->dvo_port);
printf("\t\tAIM I2C pin: 0x%02x\n", child->i2c_pin);
printf("\t\tAIM Slave address: 0x%02x\n", child->slave_addr);
--
2.35.1
More information about the igt-dev
mailing list