tools/vbt_decode: Update PSR1 training pattern decode
PATCH 1/2 tools/vbt_decode: Update PSR1 training pattern decode
The bit field corresponding to PSR1 training patterns used to be platform agnostic. But, for VBT versions above 205 on gen9+, the values map to hardware supported duration. The only exception being BXT, which follows the legacy mapping.
--- tools/intel_vbt_decode.c | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-)
tools/intel_vbt_decode.c +30 -7
@@ -945,14 +945,20 @@ static void dump_psr(struct context *context,const struct bdb_psr *psr_block = block->data;int i;uint32_t psr2_tp_time; +const char *bxt_str ="$VBT_BROXTON" ; +bool is_bxt;/* The same block ID was used for something else before? */ if (context->bdb->version <165 )return ; + is_bxt = !strncmp ((char *)context->vbt->signature, bxt_str, +strlen (bxt_str)); psr2_tp_time = psr_block->psr2_tp2_tp3_wakeup_time; +for (i =0 ; i <16 ; i++) {const struct psr_table *psr = &psr_block->psr_table[i]; +static const uint16_t psr1_tp_times[] = {500 ,100 ,2500 ,0 };if (i != context->panel_type && !context->dump_all_panel_types)continue ;
@@ -979,16 +985,33 @@ static void dump_psr(struct context *context,break ; } -printf ("\t\tIdle frames to for PSR enable: %d\n" , +printf ("\t\tIdle frames to wait for PSR enable: %d\n" , psr->idle_frames); -printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , - psr->tp1_wakeup_time *100 , - psr->tp1_wakeup_time); -printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , - psr->tp2_tp3_wakeup_time *100 , - psr->tp2_tp3_wakeup_time); +if (is_bxt || context->bdb->version <205 ) +printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , + psr->tp1_wakeup_time *100 , + psr->tp1_wakeup_time); +else if (psr->tp1_wakeup_time <=2 ) +printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , + psr1_tp_times[psr->tp1_wakeup_time], + psr->tp1_wakeup_time); +else +printf ("\t\tTP1 wakeup time invalid (0x%x)" , + psr->tp1_wakeup_time); + +if (is_bxt || context->bdb->version <205 ) +printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , + psr->tp2_tp3_wakeup_time *100 , + psr->tp2_tp3_wakeup_time); +else if (psr->tp2_tp3_wakeup_time <=2 ) +printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , + psr1_tp_times[psr->tp2_tp3_wakeup_time], + psr->tp2_tp3_wakeup_time); +else +printf ("\t\tTP2/3 wakeup time invalid (0x%x)" , + psr->tp2_tp3_wakeup_time);if (context->bdb->version >=226 ) {int index;
Signature · 6 lines
2.17.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/2 tools/vbt_decode: Fix PSR2 decoded training pattern duration
Noticed that I introduced a typo, the value corresponding 0x3 in the PSR2 TP2/TP3 field is 50us not 5us.
--- tools/intel_vbt_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/intel_vbt_decode.c +1 -1
@@ -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",
Signature · 6 lines
2.17.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode
In reply to Dhinakaran Pandiyan== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode
URL : https://patchwork.freedesktop.org/series/63958/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5105 -> IGTPW_3282
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3282 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_3282, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/63958/revisions/1/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3282:
### IGT changes ###
#### Possible regressions ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-icl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-icl-u2/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_3282 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_create@basic:
- fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-icl-u3/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#109485])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-kbl-7500u/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: [INCOMPLETE][7] ([fdo#107718]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-blb-e6850/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-blb-e6850/igt@[email protected]
* igt@i915_selftest@live_contexts:
- fi-skl-iommu: [INCOMPLETE][9] ([fdo#111050]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-skl-iommu/igt@i915_selftest@live_contexts.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-skl-iommu/igt@i915_selftest@live_contexts.html
* igt@kms_chamelium@dp-edid-read:
- fi-kbl-7500u: [WARN][11] ([fdo#109483]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5105/fi-kbl-7500u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/fi-kbl-7500u/igt@[email protected]
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
[fdo#111050]: https://bugs.freedesktop.org/show_bug.cgi?id=111050
Participating hosts (52 -> 47)
------------------------------
Additional (1): fi-skl-lmem
Missing (6): fi-kbl-soraka fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* IGT: IGT_5105 -> IGTPW_3282
CI_DRM_6515: a9fbb0055257ca5040e81c155212609c1bd6dc0e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3282: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/
IGT_5105: c77beecef80ec6a19d24347ed1a423805ac8a535 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3282/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode (rev2)
In reply to Dhinakaran Pandiyan== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode (rev2)
URL : https://patchwork.freedesktop.org/series/63958/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6576 -> IGTPW_3307
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/63958/revisions/2/mbox/
Known issues
------------
Here are the changes found in IGTPW_3307 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/fi-icl-u3/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][3] -> [FAIL][4] ([fdo#103167])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/fi-icl-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@kms_busy@basic-flip-a:
- fi-kbl-7567u: [SKIP][5] ([fdo#109271] / [fdo#109278]) -> [PASS][6] +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/fi-kbl-7567u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/fi-kbl-7567u/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [FAIL][7] ([fdo#109483]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/fi-icl-u2/igt@[email protected]
- fi-kbl-7500u: [FAIL][9] ([fdo#109485]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/fi-kbl-7500u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
[fdo#110566]: https://bugs.freedesktop.org/show_bug.cgi?id=110566
Participating hosts (51 -> 45)
------------------------------
Missing (6): fi-icl-u4 fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5115 -> IGTPW_3307
CI-20190529: 20190529
CI_DRM_6576: 4040b4c4ab647422d82100c8b091d34b6a82f572 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3307: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/
IGT_5115: 21be7a02ac8a8ff46b561c36a69e4dd5a0c2938b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode (rev2)
In reply to Dhinakaran Pandiyan== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] tools/vbt_decode: Update PSR1 training pattern decode (rev2)
URL : https://patchwork.freedesktop.org/series/63958/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6576_full -> IGTPW_3307_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/63958/revisions/2/mbox/
Known issues
------------
Here are the changes found in IGTPW_3307_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-flip-vs-wf_vblank:
- shard-hsw: [PASS][1] -> [INCOMPLETE][2] ([fdo#103540]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-hsw8/igt@kms_flip@basic-flip-vs-wf_vblank.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-hsw8/igt@kms_flip@basic-flip-vs-wf_vblank.html
* igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack:
- shard-iclb: [PASS][3] -> [FAIL][4] ([fdo#103167]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- shard-iclb: [PASS][5] -> [INCOMPLETE][6] ([fdo#107713])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb7/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109642] / [fdo#111068])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb2/igt@kms_psr2_su@page_flip.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb6/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#109441])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb8/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-kbl: [PASS][11] -> [DMESG-WARN][12] ([fdo#108566]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-kbl2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-kbl4/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_isolation@rcs0-s3:
- shard-kbl: [DMESG-WARN][13] ([fdo#108566]) -> [PASS][14] +6 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-kbl3/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-kbl3/igt@[email protected]
* igt@gem_exec_balancer@smoke:
- shard-iclb: [SKIP][15] ([fdo#110854]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb6/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb2/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-snb: [DMESG-WARN][17] ([fdo#110684] / [fdo#111115]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-snb6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-snb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-alpha-opaque:
- shard-kbl: [FAIL][19] ([fdo#103232]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-kbl1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-kbl3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
- shard-glk: [FAIL][21] ([fdo#105363]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-glk5/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-glk4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [INCOMPLETE][23] ([fdo#103540]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-hsw7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-hsw8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:
- shard-iclb: [FAIL][25] ([fdo#103167]) -> [PASS][26] +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-glk: [FAIL][27] ([fdo#103167]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-glk3/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-glk2/igt@[email protected]
- shard-apl: [FAIL][29] ([fdo#103167]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-apl5/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-apl6/igt@[email protected]
- shard-kbl: [FAIL][31] ([fdo#103167]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-kbl6/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-kbl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [DMESG-WARN][33] ([fdo#108566]) -> [PASS][34] +4 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-apl5/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-apl1/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][35] ([fdo#109441]) -> [PASS][36] +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb6/igt@kms_psr@psr2_cursor_render.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][37] ([fdo#99912]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-apl2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-apl4/igt@[email protected]
* igt@kms_vblank@pipe-c-wait-forked-busy-hang:
- shard-iclb: [INCOMPLETE][39] ([fdo#107713]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-iclb7/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-iclb3/igt@[email protected]
* igt@prime_busy@wait-hang-vebox:
- shard-glk: [DMESG-WARN][41] ([fdo#111256]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-glk7/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-glk8/igt@[email protected]
#### Warnings ####
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [DMESG-WARN][43] ([fdo#108566]) -> [INCOMPLETE][44] ([fdo#103665])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6576/shard-kbl2/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/shard-kbl6/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110684]: https://bugs.freedesktop.org/show_bug.cgi?id=110684
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111115]: https://bugs.freedesktop.org/show_bug.cgi?id=111115
[fdo#111256]: https://bugs.freedesktop.org/show_bug.cgi?id=111256
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5115 -> IGTPW_3307
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6576: 4040b4c4ab647422d82100c8b091d34b6a82f572 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3307: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/
IGT_5115: 21be7a02ac8a8ff46b561c36a69e4dd5a0c2938b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3307/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 15 lines · Dhinakaran Pandiyan
The bit field corresponding to PSR1 training patterns used to be platform agnostic. But, for VBT versions above 205 on gen9+, the values map to hardware supported duration. The only exception being BXT, which follows the legacy mapping.
Signed-off-by Dhinakaran Pandiyan <[email protected]>--- tools/intel_vbt_decode.c | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-)tools/intel_vbt_decode.c +0
-0
tools/intel_vbt_decode.c static void dump_psr(struct context *context, · line 948
Quoted 4 lines
tools/intel_vbt_decode.c +1
-0@@ -945,14 +945,20 @@ static void dump_psr(struct context *context,const struct bdb_psr *psr_block = block->data;int i;uint32_t psr2_tp_time; +const char *bxt_str ="$VBT_BROXTON" ;
I don't think you can trust that. IS_BROXTON(context->devid) might be more reliable. *shrug*.
BR,
Jani.
Quoted 57 lines
tools/intel_vbt_decode.c +29
-7+bool is_bxt;/* The same block ID was used for something else before? */ if (context->bdb->version <165 )return ; + is_bxt = !strncmp ((char *)context->vbt->signature, bxt_str, +strlen (bxt_str)); psr2_tp_time = psr_block->psr2_tp2_tp3_wakeup_time; +for (i =0 ; i <16 ; i++) {const struct psr_table *psr = &psr_block->psr_table[i]; +static const uint16_t psr1_tp_times[] = {500 ,100 ,2500 ,0 };if (i != context->panel_type && !context->dump_all_panel_types)continue ;@@ -979,16 +985,33 @@ static void dump_psr(struct context *context,break ; } -printf ("\t\tIdle frames to for PSR enable: %d\n" , +printf ("\t\tIdle frames to wait for PSR enable: %d\n" , psr->idle_frames); -printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , - psr->tp1_wakeup_time *100 , - psr->tp1_wakeup_time); -printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , - psr->tp2_tp3_wakeup_time *100 , - psr->tp2_tp3_wakeup_time); +if (is_bxt || context->bdb->version <205 ) +printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , + psr->tp1_wakeup_time *100 , + psr->tp1_wakeup_time); +else if (psr->tp1_wakeup_time <=2 ) +printf ("\t\tTP1 wakeup time: %d usec (0x%x)\n" , + psr1_tp_times[psr->tp1_wakeup_time], + psr->tp1_wakeup_time); +else +printf ("\t\tTP1 wakeup time invalid (0x%x)" , + psr->tp1_wakeup_time); + +if (is_bxt || context->bdb->version <205 ) +printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , + psr->tp2_tp3_wakeup_time *100 , + psr->tp2_tp3_wakeup_time); +else if (psr->tp2_tp3_wakeup_time <=2 ) +printf ("\t\tTP2/TP3 wakeup time: %d usec (0x%x)\n" , + psr1_tp_times[psr->tp2_tp3_wakeup_time], + psr->tp2_tp3_wakeup_time); +else +printf ("\t\tTP2/3 wakeup time invalid (0x%x)" , + psr->tp2_tp3_wakeup_time);if (context->bdb->version >=226 ) {int index;
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev