drm/i915/selftests: Add RPS debug info for power test failure
Subsystems (2)
PATCH 1/1 drm/i915/selftests: Add RPS debug info for power test failure
Add debug logging to show RPS frequency configuration when the live_rps_power selftest fails to conserve power at lower frequencies. This helps diagnose frequency scaling issues by showing max_freq, rp0_freq, and max_freq_softlimit values.
--- drivers/gpu/drm/i915/gt/selftest_rps.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/i915/gt/selftest_rps.c +5 -0
@@ -1216,6 +1216,11 @@ int live_rps_power(void *arg)if (11 * min.power >10 * max.power) {pr_err ("%s: did not conserve power when setting lower frequency!\n" , engine->name); +pr_debug ("%s: RPS Debug - max_freq:%u:%uMHz, rp0_freq:%u:%uMHz, max_freq_softlimit:%u:%uMHz\n" , + engine->name, rps->max_freq,intel_gpu_freq (rps, rps->max_freq), + rps->rp0_freq,intel_gpu_freq (rps, rps->rp0_freq), + rps->max_freq_softlimit,intel_gpu_freq (rps, + rps->max_freq_softlimit)); err = -EINVAL ;break ; }
Signature · 1 line
2.43.0
Hi,
Quoted 6 lines · Sk Anirban
Add debug logging to show RPS frequency configuration when the
live_rps_powerselftest fails to conserve power at lower frequencies. This helps diagnose frequency scaling issues by showingmax_freq,rp0_freq, andmax_freq_softlimitvalues.
how is this helping to close the issue?
Andi
Quoted 1 line
Signed-off-by Sk Anirban <[email protected]>
Hi,
Quoted 8 lines · Andi Shyti
Hi,
Quoted 5 lines · Sk Anirban
Add debug logging to show RPS frequency configuration when the
live_rps_powerselftest fails to conserve power at lower frequencies. This helps diagnose frequency scaling issues by showingmax_freq,rp0_freq, andmax_freq_softlimitvalues.
Quoted 4 lines
Quoted 1 line
how is this helping to close the issue?
Andi
Good point - this patch adds debugging capability to investigate the issue rather than solving it. I'll switch to "References:" instead of "Closes:" for the proper context.
Thanks,
Anirban
Quoted 2 lines
Quoted 2 lines
Signed-off-by Sk Anirban <[email protected]>
Andi Shyti
Acked-byHi,
Quoted 7 lines · Sk
Quoted 6 lines · Andi Shyti
Quoted 5 lines · Sk Anirban
Add debug logging to show RPS frequency configuration when the
live_rps_powerselftest fails to conserve power at lower frequencies. This helps diagnose frequency scaling issues by showingmax_freq,rp0_freq, andmax_freq_softlimitvalues.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
how is this helping to close the issue?
Andi
Good point - this patch adds debugging capability to investigate the issue rather than solving it. I'll switch to "References:" instead of "Closes:" for the proper context.
no need to resend, it can be changed before applying.
Do you want me to take care of it?
BTW, I don't have anything against the patch itself:
Thanks,
Andi
Patchwork
CI✗ i915.CI.BAT: failure for drm/i915/selftests: Add RPS debug info for power test failure
In reply to Sk Anirban== Series Details ==
== Series Details ==
Series: drm/i915/selftests: Add RPS debug info for power test failure
URL : https://patchwork.freedesktop.org/series/153205/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_17036 -> Patchwork_153205v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_153205v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_153205v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/index.html
Participating hosts (43 -> 43)
------------------------------
Additional (1): bat-adls-6
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_153205v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gtt:
- bat-arlh-3: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-arlh-3/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-arlh-3/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in Patchwork_153205v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_auth@basic-auth:
- bat-adlp-6: [PASS][3] -> [DMESG-WARN][4] ([i915#13890])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-adlp-6/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adlp-6/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- bat-adls-6: NOTRUN -> [SKIP][5] ([i915#4613]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-adls-6: NOTRUN -> [SKIP][6] ([i915#3282])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@gem_tiled_pread_basic.html
* igt@i915_selftest@live:
- bat-dg2-8: [PASS][7] -> [ABORT][8] ([i915#14201]) +1 other test abort
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-dg2-8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-dg2-8/igt@[email protected]
* igt@i915_selftest@live@reset:
- bat-atsm-1: [PASS][9] -> [ABORT][10] ([i915#14201])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-atsm-1/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-atsm-1/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-arls-5: [PASS][11] -> [DMESG-FAIL][12] ([i915#12061]) +1 other test dmesg-fail
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-arls-5/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-arls-5/igt@i915_selftest@[email protected]
- bat-mtlp-6: [PASS][13] -> [DMESG-FAIL][14] ([i915#12061]) +1 other test dmesg-fail
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-mtlp-6/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@intel_hwmon@hwmon-read:
- bat-adls-6: NOTRUN -> [SKIP][15] ([i915#7707]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-adls-6: NOTRUN -> [SKIP][16] ([i915#4103]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-adls-6: NOTRUN -> [SKIP][17] ([i915#3555] / [i915#3840])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-adls-6: NOTRUN -> [SKIP][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-adls-6: NOTRUN -> [SKIP][19] ([i915#5354])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt:
- bat-adls-6: NOTRUN -> [SKIP][20] ([i915#1072] / [i915#9732]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-adls-6: NOTRUN -> [SKIP][21] ([i915#3555])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-adls-6: NOTRUN -> [SKIP][22] ([i915#3291]) +2 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adls-6/igt@[email protected]
#### Possible fixes ####
* {igt@core_debugfs@read-all-entries}:
- bat-adlp-6: [DMESG-WARN][23] ([i915#13890]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-adlp-6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-adlp-6/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-arlh-3: [DMESG-FAIL][25] ([i915#12061]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-arlh-3/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-arlh-3/igt@i915_selftest@[email protected]
- bat-mtlp-9: [DMESG-FAIL][27] ([i915#12061]) -> [PASS][28] +1 other test pass
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-mtlp-9/igt@i915_selftest@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-mtlp-9/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@i915_selftest@live:
- bat-arlh-3: [DMESG-FAIL][29] ([i915#12061]) -> [INCOMPLETE][30] ([i915#14764] / [i915#14837])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-arlh-3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-arlh-3/igt@[email protected]
- bat-atsm-1: [DMESG-FAIL][31] ([i915#12061] / [i915#14204]) -> [ABORT][32] ([i915#14201])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-atsm-1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-atsm-1/igt@[email protected]
* igt@i915_selftest@live@mman:
- bat-atsm-1: [DMESG-FAIL][33] ([i915#14204]) -> [DMESG-FAIL][34] ([i915#13929])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17036/bat-atsm-1/igt@i915_selftest@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/bat-atsm-1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1072]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#13890]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13890
[i915#13929]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13929
[i915#14201]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14201
[i915#14204]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14204
[i915#14764]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14764
[i915#14837]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14837
[i915#3282]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555
[i915#3840]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840
[i915#4103]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354
[i915#7707]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7707
[i915#9732]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732
Build changes
-------------
* Linux: CI_DRM_17036 -> Patchwork_153205v1
CI-20190529: 20190529
CI_DRM_17036: 75c7076379611a94502e5a15f26e5b11ea80b465 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8498: 8498
Patchwork_153205v1: 75c7076379611a94502e5a15f26e5b11ea80b465 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_153205v1/index.html