summaryrefslogtreecommitdiff
path: root/tools/intel_vbt_decode.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-06-01 18:15:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-06-22 15:37:30 +0300
commit9df98c9f29dd611d4fefec9a1b75871d3ed1a601 (patch)
treeb93e3a36ca94f5a0d6b1c64142276c03dcb348a6 /tools/intel_vbt_decode.c
parentf14164120c15ee5419c4933d851a4f6e04523e44 (diff)
tools/intel_vbt_decode: update vbt defs from kernel
Sync up the the VBT definitions from kernel commit 24b8b74eb2eb ("drm/i915: Parse max link rate from the eDP BDB block") and adjust the actual code to match. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_vbt_decode.c')
-rw-r--r--tools/intel_vbt_decode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index b063af84..2419ee10 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -460,7 +460,7 @@ static void dump_child_device(struct context *context,
printf("\t\tOffset to DTD buffer for edidless CHILD: 0x%02x\n", child->dtd_buf_ptr);
printf("\t\tEdidless EFP: %s\n", YESNO(child->edidless_efp));
printf("\t\tCompression enable: %s\n", YESNO(child->compression_enable));
- printf("\t\tCompression method CPS: %s\n", YESNO(child->compression_method));
+ printf("\t\tCompression method CPS: %s\n", YESNO(child->compression_method_cps));
printf("\t\tDual pipe ganged eDP: %s\n", YESNO(child->ganged_edp));
printf("\t\tCompression structure index: 0x%02x)\n", child->compression_structure_index);
printf("\t\tSlave DDI port: 0x%02x (%s)\n", child->slave_port, dvo_port(child->slave_port));
@@ -634,9 +634,9 @@ static void dump_lvds_data(struct context *context,
ptrs = ptrs_block->data;
lfp_data_size =
- ptrs->ptr[1].fp_timing_offset - ptrs->ptr[0].fp_timing_offset;
+ ptrs->ptr[1].fp_timing.offset - ptrs->ptr[0].fp_timing.offset;
dvo_offset =
- ptrs->ptr[0].dvo_timing_offset - ptrs->ptr[0].fp_timing_offset;
+ ptrs->ptr[0].dvo_timing.offset - ptrs->ptr[0].fp_timing.offset;
num_entries = block->size / lfp_data_size;