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>
This commit is contained in:
Oscar Mateo
2013-11-12 11:50:38 +00:00
committed by Daniel Vetter
parent 4c7d5a52a7
commit 37f26d17b1
13 changed files with 877 additions and 804 deletions
+1
View File
@@ -33,6 +33,7 @@
#include "drmtest.h"
#include "igt_debugfs.h"
#include "igt_kms.h"
enum cursor_type {
WHITE_VISIBLE,
+1
View File
@@ -40,6 +40,7 @@
#include "drmtest.h"
#include "testdisplay.h"
#include "rendercopy.h"
#include "igt_kms.h"
#define TEST_DPMS (1 << 0)
#define TEST_WITH_DUMMY_BCS (1 << 1)
+1
View File
@@ -31,6 +31,7 @@
#include "drmtest.h"
#include "igt_debugfs.h"
#include "igt_kms.h"
typedef struct {
struct kmstest_connector_config config;
+1
View File
@@ -36,6 +36,7 @@
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_gpu_tools.h"
#include "igt_kms.h"
drmModeRes *resources;
int drm_fd;
+1
View File
@@ -38,6 +38,7 @@
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_gpu_tools.h"
#include "igt_kms.h"
#define MAX_CONNECTORS 10
#define MAX_CRTCS 3
+1
View File
@@ -45,6 +45,7 @@
#include "intel_batchbuffer.h"
#include "intel_gpu_tools.h"
#include "i915_drm.h"
#include "igt_kms.h"
#define MSR_PC8_RES 0x630
#define MSR_PC9_RES 0x631
+1
View File
@@ -65,6 +65,7 @@
#include "i915_drm.h"
#include "drmtest.h"
#include "testdisplay.h"
#include "igt_kms.h"
#include <stdlib.h>
#include <signal.h>