lib: Move kms stuff from drmtest.c over to igt_kms.c
authorOscar Mateo <oscar.mateo@intel.com>
Tue, 12 Nov 2013 11:50:38 +0000 (11:50 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Nov 2013 11:04:12 +0000 (12:04 +0100)
commit37f26d17b1add333bacefe12fe7c7c1514b18e82
tree25b47f1c9b2f44bccfe213ed05e2b96b9ef7028d
parent4c7d5a52a7f4d79061e6cbb4627df3c194958fff
lib: Move kms stuff from drmtest.c over to igt_kms.c

This makes cairo dependencies easier to handle. Otherwise, we
would have to litter drmtest all over with "#ifndef ANDROID"

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
[danvet: Add missing _GNU_SOURCE to igt_kms.c and missing include to
intel_sprite_on.c]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
13 files changed:
demos/intel_sprite_on.c
lib/Makefile.sources
lib/drmtest.c
lib/drmtest.h
lib/igt_kms.c [new file with mode: 0644]
lib/igt_kms.h [new file with mode: 0644]
tests/kms_cursor_crc.c
tests/kms_flip.c
tests/kms_pipe_crc_basic.c
tests/kms_render.c
tests/kms_setmode.c
tests/pm_pc8.c
tests/testdisplay.c