Re: [PATCH 2/2] drm/i915: Treat using a purged buffer as a source of EFAULT

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

 



On Fri, Jan 31, 2014 at 11:34:58AM +0000, Chris Wilson wrote:
> Since a purged buffer is one without any associated pages, attempting to
> use it should generate EFAULT rather than EINVAL, as it is not strictly
> an invalid parameter.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

Care to drop a quick testcase into i-g-t to encode this return value
change? Also, any plans to use this with userspace somehow, or what's the
motivation for this?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
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