[Intel-gfx] [PATCH i-g-t 03/17] lib/ioctl: gem_ prefix for igt_require_mmap_wc

Daniel Vetter daniel at ffwll.ch
Wed Feb 11 00:37:50 PST 2015


On Tue, Feb 10, 2015 at 09:58:37PM +0000, Chris Wilson wrote:
> On Tue, Feb 10, 2015 at 07:05:46PM +0100, Daniel Vetter wrote:
> > We stick to the overall prefix even for magic require functions.
> 
> That seems a bit perverse. Move the #define to a new header perhaps, but
> the require is a function of igt, not part of the kernel GEM interface.

We have lots of these in the ioctl wrapper library already. Imo no need to
put them into a separate library since often they share some static
function with the real ioctl wrapper.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list