Created attachment 94035 [details] dmesg System Environment: -------------------------- Platform: Pineview/Ironlake/Sandybridge/Ivybridge/Haswell/ Kernel: (drm-intel-fixes) 2f589112609b0a964b3d78c99c0f3a83ac16add6 Bug detailed description: ----------------------------- New case igt/gem_madvise/dontneed-before-pwrite fails on all platforms with -fixes kernel. It works well on -nightly kernel. output: IGT-Version: 1.5-g9597836 (x86_64) (Linux: 3.13.0-rc8_drm-intel-fixes_2f5891_20140214+ x86_64) Test assertion failure function dontneed_before_pwrite, file gem_madvise.c:111: Last errno: 22, Invalid argument Failed assertion: errno == EFAULT Subtest dontneed-before-pwrite: FAIL Reproduce steps: ---------------------------- 1. ./gem_madvise --run-subtest dontneed-before-pwrite
This test just checks for a bit of api clarification we've done in dinq with commit 8c99e57d3926959dd940e834da6fa707601ba7e5 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jan 31 11:34:58 2014 +0000 drm/i915: Treat using a purged buffer as a source of EFAULT -fixes obviously still has the old behaviour. Since this is just userspace/kernel interface cleanup no need to backport (as long as -nightly works well ofc).
It still fails on latest -fixes kernel.
(In reply to comment #2) > It still fails on latest -fixes kernel. And I explained in comment #1 that this is fully expected and totally ok. You only need to verify on dinq.
Verified.Fixed.
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.