Add mode setting files to libdrm, including xf86drmMode.* and the new drm_mode.h header. Also add a couple of tests to sanity check the kernel interfaces and update code to support them.
This reverts commit 6656db1055. We really just want the libdrm and ioctl bits, not all the driver stuff.
6656db1055