Bug 89738

Summary: [HSW 3.19.2]igt/gem_ctx_param_basic/basic fails
Product: DRI Reporter: lu hua <huax.lu>
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: highest CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: HSW i915 features: GEM/Other
Attachments:
Description Flags
dmesg none

Description lu hua 2015-03-24 02:51:15 UTC
Created attachment 114570 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure
It fails on 3.19.2 and 3.18.0, works well on the latest -fixes kernel and -nightly kernel.

Non-working platforms: HSW

==kernel==
--------------------------
commit 660613d1a4e94144490850b6c3d350331860fac4
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Wed Mar 18 14:11:52 2015 +0100

    Linux 3.19.2

==Bug detailed description==
-----------------------------
It fails on 3.19.2 and 3.18.0 kernel, works well on the latest -fixes kernel and -nightly kernel.
Following cases also fails:
igt@gem_ctx_param_basic@basic-default
igt@gem_ctx_param_basic@invalid-ctx-get
igt@gem_ctx_param_basic@invalid-ctx-set
igt@gem_ctx_param_basic@invalid-size-get
igt@gem_ctx_param_basic@invalid-size-set
igt@gem_ctx_param_basic@non-root-set
igt@gem_ctx_param_basic@root-set

output:
IGT-Version: 1.10-ge7d26df (x86_64) (Linux: 3.19.2_v3.19.2+ x86_64)
Test assertion failure function __real_main49, file gem_ctx_param_basic.c:64:
Failed assertion: drmIoctl(fd, ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x34)) << 0) | ((((sizeof(struct local_i915_gem_context_param)))) << ((0+8)+8)))), &ctx_param) == 0
Last errno: 22, Invalid argument
Subtest basic failed.
**** DEBUG ****
Test assertion failure function __real_main49, file gem_ctx_param_basic.c:64:
Failed assertion: drmIoctl(fd, ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x34)) << 0) | ((((sizeof(struct local_i915_gem_context_param)))) << ((0+8)+8)))), &ctx_param) == 0
Last errno: 22, Invalid argument
****  END  ****
Subtest basic: FAIL (0.000s)

Reproduce steps:
-------------------------
1. ./gem_ctx_param_basic --run-subtest basic
Comment 1 Jesse Barnes 2015-08-06 20:28:33 UTC
Seems to be working on -nightly still, haven't tried 3.19.2 or 3.18 though.  Do we care?

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.