Created attachment 97873 [details] dmesg System Environment: -------------------------- Platform: HSW kernel: (drm-intel-next-queued) c79057922ed6c2c6df1214e6ab4414fea1b23db2 Bug detailed description: ---------------------------- Subcases blocking and min-max-config-idle of pm_rps fail on -nightly(35dc7c8af75a3e5ae52a5469786602ce083a6368) and -next-queued(c79057922ed6c2c6df1214e6ab4414fea1b23db2) This bug always fail output on -next-queued kernel: ./pm_rps --run-subtest min-max-config-idle IGT-Version: 1.6-g78e4c2b (x86_64) (Linux: 3.14.0_drm-intel-next-queued_f68918_20140424+ x86_64) Test assertion failure function idle_check, file pm_rps.c:412: Last errno: 22, Invalid argument Failed assertion: freqs[CUR] == freqs[MIN] error: 1200 == 700 Subtest min-max-config-idle: FAIL Reproduce steps: ---------------------------- 1. ./pm_rps --run-subtest blocking or ./pm_rps --run-subtest min-max-config-idle
Subcases below fail on BDW on latest -nightly(11ddb598492d1f97f894495eea398febb41a9eb0) too: basic-api min-max-config-loaded reset
Please retest on latest -nightly. Also do the exact same tests fail on HSW as on BDW?
Created attachment 99459 [details] dmesg (In reply to comment #2) > Please retest on latest -nightly. Also do the exact same tests fail on HSW > as on BDW? This issue unable to reproduce on HSW now. But it still able to reproduce on BDW. ./pm_rps IGT-Version: 1.6-g737d248 (x86_64) (Linux: 3.15.0-rc3_drm-intel-nightly_0791a3_20140520+ x86_64) Subtest basic-api: SUCCESS Test assertion failure function idle_check, file pm_rps.c:412: Last errno: 22, Invalid argument Failed assertion: freqs[CUR] == freqs[MIN] error: 400 == 100 Subtest min-max-config-idle: FAIL Subtest min-max-config-loaded: SUCCESS Test assertion failure function matchit, file pm_rps.c:128: Last errno: 0, Success Failed assertion: freqs1[CUR] == freqs2[CUR] error: 100 == 700 Subtest reset: FAIL Subtest blocking: SUCCESS
This bug is able to reproduce on latest -nightly(3dabfd0ec37a5079f40491f864f706a9aeb9d87b) too.
Jesse, any comments about this bug. drm-intel-nightly latest kernel still can reproduce this bug. (drm-intel-nightly/1087d4bf01e79523898c6c31615bf0c369e0039a) root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rps IGT-Version: 1.7-g7ef5372 (x86_64) (Linux: 3.16.0-rc2_drm-intel-nightly_1087d4_20140629+ x86_64) Subtest basic-api: SUCCESS Test assertion failure function idle_check, file pm_rps.c:412: Last errno: 22, Invalid argument Failed assertion: freqs[CUR] == freqs[MIN] error: 400 == 100 Subtest min-max-config-idle: FAIL Subtest min-max-config-loaded: SUCCESS Test assertion failure function matchit, file pm_rps.c:128: Last errno: 0, Success Failed assertion: freqs1[CUR] == freqs2[CUR] error: 100 == 700 Subtest reset: FAIL Subtest blocking: SUCCESS
http://patchwork.freedesktop.org/patch/27962/ Please test this patch.
(In reply to comment #6) > http://patchwork.freedesktop.org/patch/27962/ > > Please test this patch. Sorry, the patch unable to patched, I tried to modified the code according the patch manually, the source unable to make after change. Could you tell me which commit the patch base? Thanks.
Test failed on latest -fixes(eedd10f45bdcb2a5b2afa35f845e080c3bc984f2) on HSW [root@x-hsw27 tests]# ./pm_rps --run-subtest min-max-config-idle IGT-Version: 1.7-g70e6ed9 (x86_64) (Linux: 3.16.0-rc6_drm-intel-fixes_eedd10_20140724+ x86_64) Test assertion failure function idle_check, file pm_rps.c:412: Failed assertion: freqs[CUR] == freqs[MIN] Last errno: 22, Invalid argument error: 350 == 200 Subtest min-max-config-idle: FAIL
Test failed while running test igt/pm_rps/reset on BDW on latest -nightly(af1aaba219fdd90ca1b30f9b8d8d19352224f170) root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rps --run-subtest reset IGT-Version: 1.7-gbffef22 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_af1aab_20140724_debug+ x86_64) Test assertion failure function matchit, file pm_rps.c:127: Failed assertion: freqs1[CUR] == freqs2[CUR] error: 100 == 900 Subtest reset: FAIL
The failure is able to reproduce on BSW on latest -next-queued(eff9b57c1a91ccf309d57500ab6a365ba7be5712) [root@x-bsw01 tests]# ./pm_rps --run-subtest min-max-config-idle IGT-Version: 1.7-ge48c495 (x86_64) (Linux: 3.16.0-rc4_drm-intel-next-queued_eff9b5_20140728+ x86_64) Test assertion failure function idle_check, file pm_rps.c:412: Failed assertion: freqs[CUR] == freqs[MIN] Last errno: 22, Invalid argument error: 480 == 300 Subtest min-max-config-idle: FAIL
Test still failed on latest -nightly(eb2af97968f0321622cf3aeb29991ad78cfdc1ca) on BSW [root@x-bsw01 tests]# ./pm_rps --run-subtest min-max-config-loaded IGT-Version: 1.7-ge48c495 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_eb2af9_20140730+ x86_64) Test assertion failure function loaded_check, file pm_rps.c:435: Failed assertion: freqs[CUR] == freqs[MAX] error: 160 == 480 Subtest min-max-config-loaded: FAIL Test assertion failure function load_helper_stop, file pm_rps.c:258: Failed assertion: igt_wait_helper(&lh.igt_proc) == 0 Last errno: 10, No child processes pm_rps: igt_core.c:714: igt_fail: Assertion `!test_with_subtests || in_fixture' failed. Aborted (core dumped)
Can you please vefiry latest -nightly stage of this as well?
(In reply to comment #12) > Can you please vefiry latest -nightly stage of this as well? Test still fails on latest -nightly(0f7cc12c94e3a3033a46ce41bed55e8b6b35561b) root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rps --run-subtest blocking IGT-Version: 1.7-g5f16ef6 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_0f7cc1_20140925+ x86_64) Test assertion failure function idle_check, file pm_rps.c:412: Failed assertion: freqs[CUR] == freqs[MIN] error: 900 == 100 Subtest blocking: FAIL root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rps --run-subtest min-max-config-idle IGT-Version: 1.7-g5f16ef6 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_0f7cc1_20140925+ x86_64) Test assertion failure function idle_check, file pm_rps.c:412: Failed assertion: freqs[CUR] == freqs[MIN] error: 900 == 100 Subtest min-max-config-idle: FAIL
Created attachment 106926 [details] [review] BDW fix Hi Guo, could you please test if this patch fixes the issue on BDW?
(In reply to Guo Jinxian from comment #11) > Test still failed on latest > -nightly(eb2af97968f0321622cf3aeb29991ad78cfdc1ca) on BSW > > [root@x-bsw01 tests]# ./pm_rps --run-subtest min-max-config-loaded > IGT-Version: 1.7-ge48c495 (x86_64) (Linux: > 3.16.0-rc6_drm-intel-nightly_eb2af9_20140730+ x86_64) > Test assertion failure function loaded_check, file pm_rps.c:435: > Failed assertion: freqs[CUR] == freqs[MAX] > error: 160 == 480 > Subtest min-max-config-loaded: FAIL > Test assertion failure function load_helper_stop, file pm_rps.c:258: > Failed assertion: igt_wait_helper(&lh.igt_proc) == 0 > Last errno: 10, No child processes > pm_rps: igt_core.c:714: igt_fail: Assertion `!test_with_subtests || > in_fixture' failed. > Aborted (core dumped) report bug 84896 to track this aborted
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rps --run-subtest blocking IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc6_drm-intel-nightly_ab4b25_20141125+ x86_64) Subtest blocking: SUCCESS (35.013s) (In reply to Rodrigo Vivi from comment #14) > Created attachment 106926 [details] [review] [review] > BDW fix > > Hi Guo, could you please test if this patch fixes the issue on BDW? The patch unable to make on latest -nightly(ab4b258a6ea5f58b5cb17131aced8f9a8dd64499). Could you help to update the patch. Thanks.
turbo got reverted a while ago so this issue has gone.
Closing old verified.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.