sunxi: disp ioctl wrappers for YUV overlay and color key support

They are needed for a basic XV extension implementation.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Added initial XV extension support for sunxi hardware

Proper layer sharing between XV and DRI2 still needs to be implemented.
Additionally we still need NEON and/or G2D "textured overlay" as a
fallback solution for the composited desktop (NEON optimized XV is going
to be useful for a wide range of ARM devices). A bit of performance
tuning is also necessary.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Define ARRAY_SIZE macro if it is not provided by Xorg headers

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
configure.ac: workaround libump/pthreads build issue

In some systems libump library is built without an explicit pthreads
dependency. As the issue has been already confirmed to affect both
sunxi and odroid users (and maybe the users of the other mali400
based hardware), it is easier to just workaround the problem locally.
Otherwise we would need to hunt down all the libump packagers and
beg for the fix.

More details are at https://github.com/ssvb/xf86-video-sunxifb/issues/11

Reported-by: Patrick Wood
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>