Bug 107140

Summary: [CI][GDG] i915 drv_selftest@live_contexts fail with igt_ctx_exec failed with error -19
Product: DRI Reporter: Tomi Sarvela <tomi.p.sarvela>
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:
i915 platform: i915 features:

Description Tomi Sarvela 2018-07-06 13:05:31 UTC
Intel-GFX-CI hosts are starting to run i915 selftests, and this bug is part of the series "Initial findings"

Oldie Grantsdale fails in drv_selftest@live_contexts with

[  429.520626] Setting dangerous option live_selftests - tainting kernel
[  430.675584] i915/i915_gem_context_live_selftests: igt_ctx_exec failed with error -19

Full trace available at

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4434/fi-gdg-551/igt@drv_selftest@live_contexts.html
Comment 1 Chris Wilson 2018-07-06 13:09:12 UTC
commit 0fdbe58c4a0f8c2fa67e38a740ce6ff3cffa8c86
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 6 11:19:23 2018 +0100

    drm/i915/selftests: Skip live context execution test without logical contexts
    
    If the HW (or driver) doesn't support logical contexts, don't pretend we
    gain anything from trying to execute GPU commands with them. At best it
    reports -ENODEV, which is an unhelpful failure that we should just skip.
    
    v2: Be more specific and check the driver/engine caps for logical (HW)
    context support.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180706101923.28548-1-chris@chris-wilson.co.uk
Comment 2 Simon Lee 2018-07-14 14:54:34 UTC
Hi Tommi, can you confirm the fix so we can close the issue?
Comment 4 James Ausmus 2018-07-18 01:27:32 UTC
Closing as per Tomi's confirmation

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.