[Piglit] [v4 4/4] tests: spec: tests for EXT_image_dma_buf_import

Daniel Vetter daniel at ffwll.ch
Fri May 3 01:54:12 PDT 2013


On Thu, May 02, 2013 at 04:57:49PM -0700, Eric Anholt wrote:
> > +#define fourcc_code(a,b,c,d) ((uint32_t)(a) | ((uint32_t)(b) << 8) | \
> > +				((uint32_t)(c) << 16) | ((uint32_t)(d) << 24))
> > +#define DRM_FORMAT_ARGB8888 fourcc_code('A', 'R', '2', '4')
> 
> This is in many subtests, and should pretty clearly be in a header.

That thing is in the drm_fourcc.h kernel userspace header. Do we just need
a check to make sure the linux-headers are recent enough?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Piglit mailing list