[igt-dev] [PATCH i-g-t 2/2] tools/vbt_decode: Fix PSR2 decoded training pattern duration
Dhinakaran Pandiyan
dhinakaran.pandiyan at intel.com
Sat Jul 20 01:37:35 UTC 2019
Noticed that I introduced a typo, the value corresponding 0x3 in the PSR2
TP2/TP3 field is 50us not 5us.
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
---
tools/intel_vbt_decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index ea64eee2..4af944cd 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1015,7 +1015,7 @@ static void dump_psr(struct context *context,
if (context->bdb->version >= 226) {
int index;
- static const uint16_t psr2_tp_times[] = {500, 100, 2500, 5};
+ static const uint16_t psr2_tp_times[] = {500, 100, 2500, 50};
index = (psr2_tp_time >> (i * 2)) & 0x3;
printf("\t\tPSR2 TP2/TP3 wakeup time: %d usec (0x%x)\n",
--
2.17.1
More information about the igt-dev
mailing list