[PATCH i-g-t 18/20] tools/intel_vbt_decode: Make device handle names more compact

Ville Syrjala ville.syrjala at linux.intel.com
Fri May 31 14:23:52 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Drop the extra "(HDMI/eDP/...)" part from the device handle names.
We'll be using these names when decoding bitfields that have
multiple bits set, and the extra junk is making the output rather
hard on the eyes.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tools/intel_vbt_decode.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 485e0bdb5a59..dcfa3a5db90f 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -801,12 +801,12 @@ static const struct {
 	const char *name;
 } child_device_handles[] = {
 	{ DEVICE_HANDLE_CRT, "CRT" },
-	{ DEVICE_HANDLE_EFP1, "EFP 1 (HDMI/DVI/DP)" },
-	{ DEVICE_HANDLE_EFP2, "EFP 2 (HDMI/DVI/DP)" },
-	{ DEVICE_HANDLE_EFP3, "EFP 3 (HDMI/DVI/DP)" },
-	{ DEVICE_HANDLE_EFP4, "EFP 4 (HDMI/DVI/DP)" },
-	{ DEVICE_HANDLE_LFP1, "LFP 1 (eDP)" },
-	{ DEVICE_HANDLE_LFP2, "LFP 2 (eDP)" },
+	{ DEVICE_HANDLE_EFP1, "EFP1" },
+	{ DEVICE_HANDLE_EFP2, "EFP2" },
+	{ DEVICE_HANDLE_EFP3, "EFP3" },
+	{ DEVICE_HANDLE_EFP4, "EFP4" },
+	{ DEVICE_HANDLE_LFP1, "LFP1" },
+	{ DEVICE_HANDLE_LFP2, "LFP2" },
 };
 static const int num_child_device_handles =
 	sizeof(child_device_handles) / sizeof(child_device_handles[0]);
-- 
2.44.1



More information about the igt-dev mailing list