Bug 85280 - [All]igt/gem_wait/invalid-flags fails
Summary: [All]igt/gem_wait/invalid-flags fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 08:02 UTC by Guo Jinxian
Modified: 2017-10-06 14:34 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (76.98 KB, text/plain)
2014-10-21 08:02 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-10-21 08:02:53 UTC
Created attachment 108158 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
It's a new case

Non-working platforms: All

==kernel==
--------------------------
origin/drm-intel-nightly: 8d1dbeed28a28ecf964769bf089503f0c90ffdaa(fails)
    drm-intel-nightly: 2014y-10m-19d-14h-54m-38s UTC integration manifest
origin/drm-intel-next-queued: 6476486cb3570d3662e4a3870b884e75d35d1072(fails)
    drm/i915: Document that mmap forwarding is discouraged
origin/drm-intel-fixes: bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9(fails)
    Linux 3.17

==Bug detailed description==
igt/gem_wait/invalid-flags fails
This failure was tracked by bug 82749 before.

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#  ./gem_wait --run-subtest invalid-flags
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.18.0-rc1_drm-intel-fixes_f11404_20141021+ x86_64)
Test assertion failure function invalid_flags, file gem_wait.c:230:
Failed assertion: ret != 0 && errno == EINVAL
Subtest invalid-flags: FAIL (0.000s)


==Reproduce steps==
---------------------------- 
1. ./gem_wait --run-subtest invalid-flags
Comment 1 Paulo Zanoni 2014-10-21 11:31:23 UTC
Does this patch fix the bug http://patchwork.freedesktop.org/patch/34284/ ?
Comment 2 Guo Jinxian 2014-10-22 07:37:11 UTC
(In reply to Paulo Zanoni from comment #1)
> Does this patch fix the bug http://patchwork.freedesktop.org/patch/34284/ ?

Test passes with this patch.

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_wait --run-subtest invalid-flags
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.18.0-rc1_kcloud_4dcc18_20141022+ x86_64)
Subtest invalid-flags: SUCCESS (0.000s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# echo $?
0
Comment 3 Paulo Zanoni 2014-10-23 16:04:44 UTC
Patch merged. Closing bug. Thanks for the testing!
Comment 4 Guo Jinxian 2014-10-24 05:30:02 UTC
(In reply to Paulo Zanoni from comment #3)
> Patch merged. Closing bug. Thanks for the testing!

Verified on latest -nightly(6f628cbf2f18ac47e8afad50e3c328bbc33754d2)


root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_wait --run-subtest invalid-flags
IGT-Version: 1.8-geae9f72 (x86_64) (Linux: 3.18.0-rc1_drm-intel-nightly_6f628c_20141024+ x86_64)
Subtest invalid-flags: SUCCESS (0.000s)
Comment 5 Elizabeth 2017-10-06 14:34:33 UTC
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.