Skip to contentSkip to conversation

tools/vbt_decode: Print DRRS and PSR flags

PATCH In review Dhinakaran Pandiyan 4 participants 6 messages May 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/vbt_decode: Print DRRS and PSR flags

These bits are useful for debug.

---
 tools/intel_vbt_decode.c | 2 ++
 1 file changed, 2 insertions(+)
tools/intel_vbt_decode.c +2 -0
index d7cbc436..e61f0a8c 100644
@@ -721,6 +721,8 @@ static void dump_driver_feature(struct context *context,
 	printf("\tLegacy CRT max Y: %d\n", feature->legacy_crt_max_y);
 	printf("\tLegacy CRT max refresh: %d\n",
 	       feature->legacy_crt_max_refresh);
+	printf("\tEnable DRRS: %s\n", YESNO(feature->drrs_enabled));
+	printf("\tEnable PSR: %s\n", YESNO(feature->psr_enabled));
 }
 
 static void dump_edp(struct context *context,
Signature · 6 lines
2.14.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tools/vbt_decode: Print DRRS and PSR flags

== Series Details ==

== Series Details ==

Series: tools/vbt_decode: Print DRRS and PSR flags
URL : https://patchwork.freedesktop.org/series/42913/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4160 -> IGTPW_1330 =

== Summary - SUCCESS ==

No regressions found.

External URL: https://patchwork.freedesktop.org/api/1.0/series/42913/revisions/1/mbox/

== Known issues ==

Here are the changes found in IGTPW_1330 that come from known issues:

=== IGT changes ===

    ==== Issues hit ====

    igt@kms_frontbuffer_tracking@basic:
      fi-hsw-4200u:       PASS -> DMESG-FAIL (fdo#106103, fdo#102614)

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
      fi-snb-2520m:       PASS -> INCOMPLETE (fdo#103713)

    
    ==== Possible fixes ====

    igt@gem_exec_suspend@basic-s4-devices:
      fi-kbl-7500u:       DMESG-WARN (fdo#105128) -> PASS

    igt@kms_chamelium@hdmi-hpd-fast:
      fi-kbl-7500u:       FAIL (fdo#102672, fdo#103841) -> SKIP

    igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
      fi-glk-j4005:       DMESG-WARN (fdo#106235) -> PASS +1

    igt@pm_rpm@basic-pci-d3-state:
      fi-glk-j4005:       DMESG-WARN (fdo#106097) -> PASS

    igt@prime_vgem@basic-fence-flip:
      fi-ilk-650:         FAIL (fdo#104008) -> PASS

fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#102672 https://bugs.freedesktop.org/show_bug.cgi?id=102672
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#105128 https://bugs.freedesktop.org/show_bug.cgi?id=105128
fdo#106097 https://bugs.freedesktop.org/show_bug.cgi?id=106097
fdo#106103 https://bugs.freedesktop.org/show_bug.cgi?id=106103
fdo#106235 https://bugs.freedesktop.org/show_bug.cgi?id=106235

== Participating hosts (41 -> 37) ==

Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-skl-6700hq

== Build changes ==

* IGT: IGT_4467 -> IGTPW_1330

CI_DRM_4160: 6d9a2ccf9fca7c006f24b7ff6193ee356b6d3503 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1330: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1330/
IGT_4467: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4467: dd20daa579c816498f61e08c819117ad6eb4b4a5 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1330/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tools/vbt_decode: Print DRRS and PSR flags

In reply to Dhinakaran Pandiyan
== Series Details ==

== Series Details ==

Series: tools/vbt_decode: Print DRRS and PSR flags
URL : https://patchwork.freedesktop.org/series/42913/
State : failure

== Summary ==

= CI Bug Log - changes from IGT_4467_full -> IGTPW_1330_full =

== Summary - FAILURE ==

Serious unknown changes coming with IGTPW_1330_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_1330_full, 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/42913/revisions/1/mbox/

== Possible new issues ==

Here are the unknown changes that may have been introduced in IGTPW_1330_full:

=== IGT changes ===

    ==== Possible regressions ====

    igt@drv_selftest@live_hangcheck:
      shard-kbl:          PASS -> DMESG-FAIL
      shard-glk:          PASS -> DMESG-FAIL

    igt@drv_selftest@mock_breadcrumbs:
      shard-hsw:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_dmabuf:
      shard-glk:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_evict:
      shard-snb:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_requests:
      shard-kbl:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_vma:
      shard-apl:          PASS -> DMESG-WARN +8

    
    ==== Warnings ====

    igt@drv_selftest@live_execlists:
      shard-glk:          PASS -> SKIP +1

    igt@drv_selftest@live_guc:
      shard-kbl:          PASS -> SKIP +5

    igt@gem_mocs_settings@mocs-rc6-dirty-render:
      shard-kbl:          SKIP -> PASS

== Known issues ==

Here are the changes found in IGTPW_1330_full that come from known issues:

=== IGT changes ===

    ==== Issues hit ====

    igt@kms_flip@plain-flip-fb-recreate-interruptible:
      shard-hsw:          PASS -> FAIL (fdo#100368)

    igt@kms_setmode@basic:
      shard-apl:          PASS -> FAIL (fdo#99912)

    
    ==== Possible fixes ====

    igt@kms_flip@dpms-vs-vblank-race:
      shard-glk:          FAIL (fdo#103060) -> PASS

    igt@kms_flip@wf_vblank-ts-check-interruptible:
      shard-glk:          FAIL (fdo#100368) -> PASS

    igt@kms_rotation_crc@primary-rotation-90:
      shard-apl:          FAIL (fdo#103925, fdo#104724) -> PASS +1

fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912

== Participating hosts (5 -> 5) ==

No changes in participating hosts

== Build changes ==

* IGT: IGT_4467 -> IGTPW_1330
* Linux: CI_DRM_4158 -> CI_DRM_4160

CI_DRM_4158: b4cf5831333d423c2420f167111c03e4c1729672 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4160: 6d9a2ccf9fca7c006f24b7ff6193ee356b6d3503 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1330: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1330/
IGT_4467: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4467: dd20daa579c816498f61e08c819117ad6eb4b4a5 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1330/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

Re: [igt-dev] ✗ Fi.CI.IGT: failure for tools/vbt_decode: Print DRRS and PSR flags

Quoted 57 lines · Patchwork

== Series Details ==

Series: tools/vbt_decode: Print DRRS and PSR flags URL   : https://patchwork.freedesktop.org/series/42913/
State : failure

== Summary ==

= CI Bug Log - changes from IGT_4467_full -> IGTPW_1330_full =

== Summary - FAILURE ==

  Serious unknown changes coming with IGTPW_1330_full absolutely need to be
  verified manually.

  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_1330_full, 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/4291
3/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in IGTPW_1330_full:

  === IGT changes ===

    ==== Possible regressions ====

    igt@drv_selftest@live_hangcheck:
      shard-kbl:          PASS -> DMESG-FAIL
      shard-glk:          PASS -> DMESG-FAIL

    igt@drv_selftest@mock_breadcrumbs:
      shard-hsw:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_dmabuf:
      shard-glk:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_evict:
      shard-snb:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_requests:
      shard-kbl:          PASS -> DMESG-WARN +7

    igt@drv_selftest@mock_vma:
      shard-apl:          PASS -> DMESG-WARN +8


    ==== Warnings ====

Quoted 9 lines

    igt@drv_selftest@live_execlists:
      shard-glk:          PASS -> SKIP +1

    igt@drv_selftest@live_guc:
      shard-kbl:          PASS -> SKIP +5

    igt@gem_mocs_settings@mocs-rc6-dirty-render:
      shard-kbl:          SKIP -> PASS

None of these failures/skips are because of the patch. The test results for both CI_DRM_4160 and IGTPW_1330 are the same.
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Reviewed-by on v1 1/1
#4 lore raw
In reply to Dhinakaran Pandiyan
Quoted 4 lines · Dhinakaran Pandiyan

These bits are useful for debug.

Quoted 17 lines
---
 tools/intel_vbt_decode.c | 2 ++
 1 file changed, 2 insertions(+)
tools/intel_vbt_decode.c +2 -0
index d7cbc436..e61f0a8c 100644
@@ -721,6 +721,8 @@ static void dump_driver_feature(struct context *context,
 	printf("\tLegacy CRT max Y: %d\n", feature->legacy_crt_max_y);
 	printf("\tLegacy CRT max refresh: %d\n",
 	       feature->legacy_crt_max_refresh);
+	printf("\tEnable DRRS: %s\n", YESNO(feature->drrs_enabled));
+	printf("\tEnable PSR: %s\n", YESNO(feature->psr_enabled));
 }
 
 static void dump_edp(struct context *context,
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#5 lore raw
Quoted 7 lines · Jani Nikula
Quoted 4 lines · Dhinakaran Pandiyan

These bits are useful for debug.

pushed, thanks for the patch.

btw:
intel_vbt_decode --file=/sys/kernel/debug/dri/0/i915_vbt | grep -i psr BDB block 9 - PSR block:
Idle frames to for PSR enable: 0
Enable PSR: yes

Thanks,
Rodrigo.

Quoted 17 lines
Quoted 17 lines
---
 tools/intel_vbt_decode.c | 2 ++
 1 file changed, 2 insertions(+)
tools/intel_vbt_decode.c +2 -0
index d7cbc436..e61f0a8c 100644
@@ -721,6 +721,8 @@ static void dump_driver_feature(struct context *context,
 	printf("\tLegacy CRT max Y: %d\n", feature->legacy_crt_max_y);
 	printf("\tLegacy CRT max refresh: %d\n",
 	       feature->legacy_crt_max_refresh);
+	printf("\tEnable DRRS: %s\n", YESNO(feature->drrs_enabled));
+	printf("\tEnable PSR: %s\n", YESNO(feature->psr_enabled));
 }
 
Quoted 4 lines
Quoted 1 line
tools/intel_vbt_decode.c +0 -0
 static void dump_edp(struct context *context,
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev