Created attachment 111205 [details] dmesg ==System Environment== -------------------------- Regression: Yes good commit: b05ddd4dfb6303ee9dde359ec913aa7a918fd813 bad commit: 140fd38dc4962ae3694f81900b51c567df1b6d33 Non-working platforms: BDW ==kernel== -------------------------- drm-intel-nightly/4fa23142a15526f4a4b5df61f26eacdd558a849a commit 4fa23142a15526f4a4b5df61f26eacdd558a849a Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Dec 19 15:33:33 2014 +0100 drm-intel-nightly: 2014y-12m-19d-14h-33m-07s UTC integration manifest ==Bug detailed description== ----------------------------- It fails on BDW with drm-intel-nightly and drm-intel-next-queued kernel, works well on -fixes kernel. output: IGT-Version: 1.9-geb799b2 (x86_64) (Linux: 3.18.0_drm-intel-nightly_4fa231_20141223+ x86_64) leaked -8 objects Test assertion failure function test_export_close_race, file prime_self_import.c:377: Failed assertion: obj_count == 0 error: -8 != 0 Subtest export-vs-gem_close-race: FAIL (5.004s) ==Reproduce steps== ---------------------------- 1. ./prime_self_import --run-subtest export-vs-gem_close-race
Bisect shows: 27401d126b5b1c8dd4df98bbb60b09ff2b3d5e60 is the first bad commit commit 27401d126b5b1c8dd4df98bbb60b09ff2b3d5e60 Author: Thomas Daniel <thomas.daniel@intel.com> AuthorDate: Thu Dec 11 12:48:35 2014 +0000 Commit: Daniel Vetter <daniel.vetter@ffwll.ch> CommitDate: Mon Dec 15 11:25:28 2014 +0100 drm/i915/bdw: Enable execlists by default where supported Execlist support in the i915 driver is now considered good enough for the feature to be enabled by default on Gen8 and later and routinely tested. Adjusted i915 parameters structure initialization to reflect this and updated the comment in intel_sanitize_enable_execlists(). There's still work to do before we can let the wider massive onto it, but there's still time left before the 3.20 cutoff. v2: Update the MODULE_PARM_DESC too. Issue: VIZ-2020 Signed-off-by: Thomas Daniel <thomas.daniel@intel.com> [danvet: Add note that there's still some work left to do.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This issue appears to be a test bug - see https://patchwork.freedesktop.org/patch/40649/ for a proposed fix.
(In reply to Chris Harris from comment #2) > This issue appears to be a test bug - see > https://patchwork.freedesktop.org/patch/40649/ for a proposed fix. Apply this patch, it works well. root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./prime_self_import --run-subtest export-vs-gem_close-race IGT-Version: 1.9-gfa94e01 (x86_64) (Linux: 3.19.0-rc5_drm-intel-nightly_67e9eb_20150126+ x86_64) leaked 0 objects Subtest export-vs-gem_close-race: SUCCESS (5.005s)
commit 51d87b80493169f68bf1cda0eb2f6715310fe45c Author: Thomas Daniel <thomas.daniel@intel.com> Date: Mon Jan 19 16:34:51 2015 +0000 tests/prime_self_import: further fix object counts
Verified.Fixed. root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./prime_self_import --run-subtest export-vs-gem_close-race IGT-Version: 1.9-g51d87b8 (x86_64) (Linux: 3.19.0-rc6_drm-intel-nightly_8b4216_20150202+ x86_64) leaked 0 objects Subtest export-vs-gem_close-race: SUCCESS (5.000s)
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.