uterm: monitor: avoid libdrm dependency
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 7 Jan 2013 13:07:14 +0000 (14:07 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 7 Jan 2013 13:07:14 +0000 (14:07 +0100)
commitebf48cba229a968397fe7495b8b4321f5b9ce138
treef35bfc0a59e86fa1d1e9f3c5693133b36daaafba
parent67ac019dec7c6215330aa68788401547480c3fb1
uterm: monitor: avoid libdrm dependency

Instead of depending on libdrm, we simply copy the VERSION-IOCTL ABI and
perform the ioctl ourself. This reduces complexity and dependencies.

Why does the DRM layer not provide normal uapi headers via
linux-api-headers? We should fix that.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_monitor.c
src/uterm_video_internal.h