summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-i915
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-06-01 04:06:52 +0100
committerJakob Bornecrantz <[email protected]>2010-06-06 12:29:29 +0100
commitc1a19689b83a9569b30ba43c168fdca328cb9f2e (patch)
tree13b0c2e3f360a6f911fb5154b2db70fea9016e15 /src/gallium/targets/egl-i915
parente72b15aa47c24b920c708e1dc47f69a070d50d51 (diff)
gallium: Make all drm drivers use the new drm compat helper
Diffstat (limited to 'src/gallium/targets/egl-i915')
-rw-r--r--src/gallium/targets/egl-i915/Makefile2
-rw-r--r--src/gallium/targets/egl-i915/target.c (renamed from src/gallium/targets/egl-i915/dummy.c)5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-i915/Makefile b/src/gallium/targets/egl-i915/Makefile
index a4b41842ff7..a118f169299 100644
--- a/src/gallium/targets/egl-i915/Makefile
+++ b/src/gallium/targets/egl-i915/Makefile
@@ -2,7 +2,7 @@ TOP = ../../../..
include $(TOP)/configs/current
EGL_DRIVER_NAME = i915
-EGL_DRIVER_SOURCES = dummy.c
+EGL_DRIVER_SOURCES = target.c
EGL_DRIVER_LIBS = -ldrm_intel
EGL_DRIVER_PIPES = \
diff --git a/src/gallium/targets/egl-i915/dummy.c b/src/gallium/targets/egl-i915/target.c
index 3181d0ba7e8..fd68c4bd454 100644
--- a/src/gallium/targets/egl-i915/dummy.c
+++ b/src/gallium/targets/egl-i915/target.c
@@ -1,3 +1,8 @@
+
+#include "target-helpers/drm_api_compat.h"
+
+DRM_API_COMPAT_STRUCT("i915", "i915")
+
/* A poor man's --whole-archive for EGL drivers */
void *_eglMain(void *);
void *_eglWholeArchive = (void *) _eglMain;