drm/i915/bdw: Return -ENONENT on default ctx destroy
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 25 Dec 2013 00:02:54 +0000 (16:02 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 07:21:50 +0000 (08:21 +0100)
commitc2cf2416cadc13aeccb3df10be893b15fb16ac17
tree3e394ef06b0c7d4494e9606998a082750588b0c7
parent0e46ce2e7a2dc6a60b321b741d45567e6feb3502
drm/i915/bdw: Return -ENONENT on default ctx destroy

This was an accidental "ABI" change introduced during PPGTT:

commit 0eea67eb26000657079b7fc41079097942339452
Author: Ben Widawsky <ben@bwidawsk.net>
Date:   Fri Dec 6 14:11:19 2013 -0800

    drm/i915: Create a per file_priv default context

The failure test application actually tests the return type. The other
option is to simply change the test.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c