[PATCH i-g-t 07/20] tools/intel_vbt_decode: Use "(LFP<n>)" to indicate LFP panel type
Ville Syrjala
ville.syrjala at linux.intel.com
Fri May 31 14:23:41 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
The normal panel type is for "LFP" panels. It is also possible
that some of the LFP blocks (IIRC blocks 43 and 44) would
also apply to EFP panels (declared via the child devices' efp_index).
To make that somewhat possible in the future use the "(LFP<n>)" format
when indicating the LFP panel type match.
TODO: figure out how to dig out the index/indices and indicate
which LFP data applies to which EFP panels...
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_vbt_decode.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 318069ee948e..f01f90b301f7 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -101,13 +101,13 @@ static const char *panel_str(const struct context *context, int panel_type)
{
if (panel_type == context->panel_type &&
panel_type == context->panel_type2)
- return " (1)(2)";
+ return " (LFP1)(LFP2)";
if (panel_type == context->panel_type)
- return " (1)";
+ return " (LFP1)";
if (panel_type == context->panel_type2)
- return " (2)";
+ return " (LFP2)";
return "";
}
--
2.44.1
More information about the igt-dev
mailing list