Re: [PATCH] drm/i915/bdw: Return -ENONENT on default ctx destroy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 24, 2013 at 04:02:54PM -0800, Ben Widawsky wrote:
> This was an accidental "ABI" change introduced during PPGTT:
> 
> commit 0eea67eb26000657079b7fc41079097942339452
> Author: Ben Widawsky <ben@xxxxxxxxxxxx>
> 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@xxxxxxxxxxxx>

I was thinking that EPERM on the untouchable default context was right,
until I noticed that this was destroy and it is never possible to
destroy the default. (Not even root can, so you can not raise your
privileges and make the ioctl work.)

Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux