diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-08-25 17:15:43 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-08-29 17:26:19 +0300 |
commit | 66d88e6093a7aa682ee4baa1573dda7c7f70c3b4 (patch) | |
tree | 2fba45172e310e9fee8ebf7769dde91bcdf88858 /tools/intel_vbt_decode.c | |
parent | e1db4c4e0e708f01c63fc6c790059caed8153f14 (diff) |
tools/intel_vbt_decode: migrate edp dumping to kernel struct
No functional changes.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/intel_vbt_decode.c')
-rw-r--r-- | tools/intel_vbt_decode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c index 8330b856..20f7569a 100644 --- a/tools/intel_vbt_decode.c +++ b/tools/intel_vbt_decode.c @@ -44,6 +44,7 @@ typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; +typedef uint64_t u64; #define __packed __attribute__ ((packed)) #define _INTEL_BIOS_PRIVATE @@ -797,17 +798,17 @@ static void dump_edp(struct context *context, } if (context->bdb->version >= 162) { - bool val = (edp->s3d_feature >> i) & 1; + bool val = (edp->edp_s3d_feature >> i) & 1; printf("\t\tStereo 3D feature: %s\n", YESNO(val)); } if (context->bdb->version >= 165) { - bool val = (edp->t3_optimization >> i) & 1; + bool val = (edp->edp_t3_optimization >> i) & 1; printf("\t\tT3 optimization: %s\n", YESNO(val)); } if (context->bdb->version >= 173) { - int val = (edp->vswing_preemph_table_selection >> (i * 4)) & 0xf; + int val = (edp->edp_vswing_preemph >> (i * 4)) & 0xf; printf("\t\tVswing/preemphasis table selection: "); switch (val) { |