Bug 104060 - [CI] igt@pm_rps@min-max-config-loaded - fail - Failed assertion: freqs[MAX] <= freqs[CUR]
Summary: [CI] igt@pm_rps@min-max-config-loaded - fail - Failed assertion: freqs[MAX] <...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 08:06 UTC by Marta Löfstedt
Modified: 2018-04-26 08:14 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, CNL, GLK, SKL
i915 features: power/Other


Attachments

Description Marta Löfstedt 2017-12-04 08:06:52 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3444/shard-glkb3/igt@pm_rps@min-max-config-loaded.html
	
(pm_rps:9764) CRITICAL: Test assertion failure function loaded_check, file pm_rps.c:551:
(pm_rps:9764) CRITICAL: Failed assertion: freqs[MAX] <= freqs[CUR]
(pm_rps:9764) CRITICAL: Last errno: 22, Invalid argument
(pm_rps:9764) CRITICAL: error: 750 > 717
Subtest min-max-config-loaded failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3443/shard-apl1/igt@pm_rps@min-max-config-loaded.html
(pm_rps:4920) CRITICAL: Test assertion failure function loaded_check, file pm_rps.c:551:
(pm_rps:4920) CRITICAL: Failed assertion: freqs[MAX] <= freqs[CUR]
(pm_rps:4920) CRITICAL: Last errno: 22, Invalid argument
(pm_rps:4920) CRITICAL: error: 750 > 717
Subtest min-max-config-loaded failed.
Comment 1 Jani Saarinen 2017-12-04 10:38:37 UTC
Reference: https://patchwork.freedesktop.org/series/34820/
Comment 2 Chris Wilson 2017-12-08 12:33:43 UTC
commit e5ca5dc03090280e05c628dbc16af2f6c94d8f92 (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Dec 4 10:22:57 2017 +0000

    igt/pm_rps: Replace arbitrary HIGH_LOAD blit with a busyspin
    
    Using a blit + sleep does not guarantee generating a high enough load to
    keep the GPU busy, a busyspin does. Replace the blit at high load with a
    continuous series spins and low load with a mix of spin and sleep.
    
    v2: Maintain a limited queue depth
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=104060
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Comment 3 Marta Löfstedt 2017-12-11 09:45:40 UTC
Last occurrence CI_DRM_3483, patch integrated on CI_DRM_3484 I will close.
Comment 4 Marta Löfstedt 2017-12-11 12:18:02 UTC
Nope:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3496/shard-apl5/igt@pm_rps@min-max-config-loaded.html


(pm_rps:2039) CRITICAL: Test assertion failure function loaded_check, file pm_rps.c:456:
(pm_rps:2039) CRITICAL: Failed assertion: freqs[MAX] <= freqs[CUR]
(pm_rps:2039) CRITICAL: error: 750 > 250
Subtest min-max-config-loaded failed.
Comment 5 Jani Saarinen 2017-12-11 12:41:26 UTC
ref: https://patchwork.freedesktop.org/series/35176/
Comment 6 Chris Wilson 2017-12-20 11:04:11 UTC
Better?

commit d3bcc7d0a51a898b4fb1625d529907319d235ee7 (upstream/master, origin/master, origin/HEAD)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Dec 11 12:35:35 2017 +0000

    igt/pm_rps: Always allocate spin[0]
    
    Avoid having to test for spin[0] existing by starting the load-loop with
    it allocated.
    
    v2: Preallocate the spin[1] as well for high load.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=104060
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104318
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Comment 7 Marta Löfstedt 2018-01-02 08:56:53 UTC
No longer reproduced
Comment 9 Marta Löfstedt 2018-03-16 09:15:27 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_1/fi-skl-6770hq/igt@pm_rps@min-max-config-loaded.html

(pm_rps:2632) CRITICAL: Test assertion failure function loaded_check, file ../tests/pm_rps.c:464:
(pm_rps:2632) CRITICAL: Failed assertion: freqs[MAX] <= freqs[CUR]
(pm_rps:2632) CRITICAL: error: 950 > 917
Subtest min-max-config-loaded failed.
Comment 10 Marta Löfstedt 2018-03-19 07:50:53 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_2/fi-cnl-y3/igt@pm_rps@min-max-config-loaded.html

(pm_rps:1204) CRITICAL: Test assertion failure function loaded_check, file ../tests/pm_rps.c:464:
(pm_rps:1204) CRITICAL: Failed assertion: freqs[MAX] <= freqs[CUR]
(pm_rps:1204) CRITICAL: Last errno: 22, Invalid argument
(pm_rps:1204) CRITICAL: error: 450 > 417
Subtest min-max-config-loaded failed.


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.