Bug 104318

Summary: [CI] igt@pm_rps@min-max-config-idle - Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x17)) << 0) | ((((sizeof(struct drm_i915_gem_busy)))) << ((0+8)+8)))), (&busy)) == 0
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BXT i915 features: power/Other

Description Marta Löfstedt 2017-12-18 11:40:22 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3538/shard-apl6/igt@pm_rps@min-max-config-idle.html

(pm_rps:1816) ioctl-wrappers-CRITICAL: Test assertion failure function gem_bo_busy, file ioctl_wrappers.c:941:
(pm_rps:1816) ioctl-wrappers-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x17)) << 0) | ((((sizeof(struct drm_i915_gem_busy)))) << ((0+8)+8)))), (&busy)) == 0
(pm_rps:1816) ioctl-wrappers-CRITICAL: Last errno: 2, No such file or directory
(pm_rps:1816) ioctl-wrappers-CRITICAL: error: -1 != 0
Subtest min-max-config-idle failed.
Comment 1 Chris Wilson 2017-12-20 11:03:44 UTC
Quite bizarre;

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 2 Marta Löfstedt 2018-04-09 12:26:35 UTC
re-opened due to:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_16/fi-bsw-n3050/igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size.html

(kms_cursor_legacy:2151) CRITICAL: Test assertion failure function cursor_vs_flip, file ../tests/kms_cursor_legacy.c:1060:
(kms_cursor_legacy:2151) CRITICAL: Failed assertion: igt_ioctl((display->drm_fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xA3)) << 0) | ((((sizeof(struct drm_mode_cursor)))) << ((0+8)+8)))), (&arg[i & 1])) == 0
(kms_cursor_legacy:2151) CRITICAL: Last errno: 22, Invalid argument
(kms_cursor_legacy:2151) CRITICAL: error: -1 != 0
Subtest cursor-vs-flip-atomic-transitions-varying-size failed.
Comment 3 Chris Wilson 2018-05-11 16:45:28 UTC
(In reply to Marta Löfstedt from comment #2)
> re-opened due to:
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_16/fi-bsw-n3050/
> igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size.html
> 
> (kms_cursor_legacy:2151) CRITICAL: Test assertion failure function
> cursor_vs_flip, file ../tests/kms_cursor_legacy.c:1060:
> (kms_cursor_legacy:2151) CRITICAL: Failed assertion:
> igt_ioctl((display->drm_fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) <<
> (0+8)) | (((0xA3)) << 0) | ((((sizeof(struct drm_mode_cursor)))) <<
> ((0+8)+8)))), (&arg[i & 1])) == 0
> (kms_cursor_legacy:2151) CRITICAL: Last errno: 22, Invalid argument
> (kms_cursor_legacy:2151) CRITICAL: error: -1 != 0
> Subtest cursor-vs-flip-atomic-transitions-varying-size failed.

Not sure which bug should have been re-opened, but that's not this one...
Comment 4 Jani Saarinen 2018-06-04 11:02:41 UTC
Not seen on new cibuglog.

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.