System Environment: -------------------------- Platform: Sandybridge/Ivybridge/Haswell Kernel: (drm-intel-nightly)074fdf374fa296c16a7449b9d2d4ad6ff73c0c8d Bug detailed description: ------------------------- It fails on Sandybridge/Ivybridge/Haswell with ppgtt and nightly branch. It works well on -fixes and -queued kernel. The latest good commit: 02905525c3310ba673676f8041d0ff6be4da0e24 The latest bad commit: a7c1d426ef335ccfb6bd567a3f616fa232418fa2 output: IGT-Version: 1.5-g2a71bff (x86_64) (Linux: 3.13.0-rc4_drm-intel-nightly_074fdf_20131219+ x86_64) default destroy - errno was 1, but should have been 2 Reproduce steps: ---------------------------- 1. ./gem_ctx_bad_destroy
Can you please try reverting 7c9c4b8f5dfe224ce587a470ce8817214c92271e from the kernel and see if the problem goes away. If this fixes the problem: the return value is unimportant, my vote is to simply modify the test to not care about the return value.
(In reply to comment #1) > Can you please try reverting 7c9c4b8f5dfe224ce587a470ce8817214c92271e from > the kernel and see if the problem goes away. > > If this fixes the problem: the return value is unimportant, my vote is to > simply modify the test to not care about the return value. Revert commit 7c9c4b. It still fails. output: default destroy - errno was 1, but should have been 2
Please test: https://patchwork.kernel.org/patch/3404741/
(In reply to comment #3) > Please test: https://patchwork.kernel.org/patch/3404741/ Fixed by this patch.
It also fails on BYT and BDW.
Assigning to Daniel to decide how to proceed with the patch.
Patch merged to topic/ppgtt: commit f82e4030bbeeef322b8103cf8ad641ddc3cc44fd Author: Ben Widawsky <benjamin.widawsky@intel.com> Date: Tue Dec 24 16:02:54 2013 -0800 drm/i915/bdw: Return -ENONENT on default ctx destroy
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.