Skip to contentSkip to conversation

Android build sytem

PATCH In review [email protected] 2 participants 13 messages Nov 12, 2013 Library code

lore
Share & tools
lore
#0 lore raw

v2 cover Android build sytem

From: Oscar Mateo <[email protected]>

These patches aim to create an Android build system. This used to exist, but the old Android.mk files were bit-rotten and therefore kicked out.

As suggested by Daniel Vetter and Damien Lespiau, as a fist step I extracted the source files lists into a Makefile.sources which can be included by both the autoconf files and the Android makefiles.

Changes since the last submission:

- Tabs when defining variables are fine, but fix missing "\" (thanks Damien).
- Drop some of the warning fixes and instead fix compilation flags.
- Reword comment and commit message in name conflict with Android's i915_drm.h
- Do not error on return-type (at least until Bionic correctly annotates "noreturn" on pthread_exit).

Oscar Mateo (11):
build: list all test/tool/lib source files in their own
Makefile.sources
build: Fix missing "\" in tests/Makefile.sources
build: Move logic to tests/Makefile.am and away from Makefile.sources
lib: Move kms stuff from drmtest.c over to igt_kms.c
rendercopy: Remove rendercopy.c
tests/drm_get_client_auth: In Android, use gettid() instead of
syscall(SYS_gettid)
tests/gem_vmap_blits: Finish extracting gem_read
build: Fix assorted compilation warnings
lib/drmtest: Get the correct basename() under Android lib/igt_display: workaround a name conflict in Android
build: New Android makefiles

 Android.mk                  |  530 +-----------------------------
 lib/Makefile.am             |   38 +--
 lib/Makefile.sources        |   37 +++
 lib/drmtest.c               |  744 +----------------------------------------
 lib/drmtest.h               |   76 +----
 lib/igt_display.h           |    4 +
 lib/igt_kms.c               |  764 +++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h               |  102 ++++++
 lib/intel_batchbuffer.h     |    2 +-
 lib/intel_gpu_tools.h       |    2 +-
 lib/intel_reg_map.c         |    4 +-
 lib/rendercopy.c            |   49 ---
 lib/rendercopy.h            |    2 -
 tests/Android.mk            |   77 +++++
 tests/Makefile.am           |  206 +-----------
 tests/Makefile.sources      |  203 ++++++++++++
 tests/drm_get_client_auth.c |   10 +-
 tests/gem_render_copy.c     |   21 ++
 tests/gem_vmap_blits.c      |   14 -
 tests/kms_cursor_crc.c      |    1 +
 tests/kms_flip.c            |    1 +
 tests/kms_pipe_crc_basic.c  |    1 +
 tests/kms_render.c          |    1 +
 tests/kms_setmode.c         |    1 +
 tests/pm_pc8.c              |    1 +
 tests/testdisplay.c         |    1 +
 tools/Android.mk            |   70 ++++
 tools/Makefile.am           |   54 +--
 tools/Makefile.sources      |   53 +++
 29 files changed, 1369 insertions(+), 1700 deletions(-)
 create mode 100644 lib/Makefile.sources
 create mode 100644 lib/igt_kms.c
 create mode 100644 lib/igt_kms.h
 delete mode 100644 lib/rendercopy.c
 create mode 100644 tests/Android.mk
 create mode 100644 tests/Makefile.sources
 create mode 100644 tools/Android.mk
 create mode 100644 tools/Makefile.sources
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/11 build: list all test/tool/lib source files in their own Makefile.sources

From: Oscar Mateo <[email protected]>

In this way, all source files are listed in Makefile.sources and included from Makefile.am, thus enabling the reuse from Android makefiles.

---
 lib/Makefile.am        |   38 +--------
 lib/Makefile.sources   |   36 +++++++++
 tests/Makefile.am      |  208 +-----------------------------------------------
 tests/Makefile.sources |  206 +++++++++++++++++++++++++++++++++++++++++++++++
 tools/Makefile.am      |   54 +------------
 tools/Makefile.sources |   53 ++++++++++++
 6 files changed, 302 insertions(+), 293 deletions(-)
 create mode 100644 lib/Makefile.sources
 create mode 100644 tests/Makefile.sources
 create mode 100644 tools/Makefile.sources
lib/Makefile.am +2 -36
index 8a94e1e..4d4efe4 100644
@@ -1,44 +1,10 @@
+include Makefile.sources
 
 noinst_LTLIBRARIES = libintel_tools.la
 
 AM_CPPFLAGS = -I$(top_srcdir)
 AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS)
 
-libintel_tools_la_SOURCES = 	\
-	debug.h			\
-	drmtest.c		\
-	drmtest.h		\
-	i830_reg.h		\
-	i915_3d.h		\
-	i915_reg.h		\
-	igt_debugfs.c		\
-	igt_debugfs.h		\
-	igt_display.c		\
-	igt_display.h		\
-	instdone.c		\
-	instdone.h		\
-	intel_batchbuffer.c	\
-	intel_batchbuffer.h	\
-	intel_chipset.h		\
-	intel_drm.c		\
-	intel_gpu_tools.h	\
-	intel_mmio.c		\
-	intel_pci.c		\
-	intel_reg.h		\
-	rendercopy_i915.c	\
-	rendercopy_i830.c	\
-	gen6_render.h		\
-	gen7_render.h		\
-	gen8_render.h		\
-	rendercopy_gen6.c	\
-	rendercopy_gen7.c	\
-	rendercopy_gen8.c	\
-	rendercopy.h		\
-	rendercopy.c		\
-	intel_reg_map.c		\
-	intel_dpio.c		\
-	intel_iosf.c		\
-	$(NULL)
-
 LDADD = $(CAIRO_LIBS)
 AM_CFLAGS += $(CAIRO_CFLAGS)
+
lib/Makefile.sources new file +36 -0
new file mode 100644
index 0000000..d71f837
@@ -0,0 +1,36 @@
+libintel_tools_la_SOURCES = 	\
+	debug.h			\
+	drmtest.c		\
+	drmtest.h		\
+	i830_reg.h		\
+	i915_3d.h		\
+	i915_reg.h		\
+	igt_debugfs.c		\
+	igt_debugfs.h		\
+	igt_display.c		\
+	igt_display.h		\
+	instdone.c		\
+	instdone.h		\
+	intel_batchbuffer.c	\
+	intel_batchbuffer.h	\
+	intel_chipset.h		\
+	intel_drm.c		\
+	intel_gpu_tools.h	\
+	intel_mmio.c		\
+	intel_pci.c		\
+	intel_reg.h		\
+	rendercopy_i915.c	\
+	rendercopy_i830.c	\
+	gen6_render.h		\
+	gen7_render.h		\
+	gen8_render.h		\
+	rendercopy_gen6.c	\
+	rendercopy_gen7.c	\
+	rendercopy_gen8.c	\
+	rendercopy.h		\
+	rendercopy.c		\
+	intel_reg_map.c		\
+	intel_dpio.c		\
+	intel_iosf.c		\
+	$(NULL)
+
tests/Makefile.am +3 -205

227 lines not on this page · raw message

tests/Makefile.sources new file +206 -0

206 lines not on this page · raw message

tools/Makefile.am +2 -52

62 lines not on this page · raw message

tools/Makefile.sources new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v2 2/11 build: Fix missing "\" in tests/Makefile.sources

In reply to [email protected]

From: Oscar Mateo <[email protected]>

Noticed by Damien Lespiau.

---
 tests/Makefile.sources |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile.sources +1 -1
index 70809c7..311f4b6 100644
@@ -4,7 +4,7 @@ noinst_PROGRAMS = \
 	$(TESTS_progs) \
 	$(TESTS_progs_M) \
 	$(HANG) \
-	$(TESTS_testsuite)
+	$(TESTS_testsuite) \
 	$(NULL)
 
 if HAVE_NOUVEAU
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH v2 3/11 build: Move logic to tests/Makefile.am and away from Makefile.sources

In reply to [email protected]

From: Oscar Mateo <[email protected]>

Makefile.sources is just a listing with all the sources, and the logic to use these sources goes into either Makefile.am (automake) or Android.mk (make).

---
 tests/Makefile.am      |    4 ++++
 tests/Makefile.sources |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)
tests/Makefile.am +4 -0
index 9e1b13f..8e293f7 100644
@@ -1,5 +1,9 @@
 include Makefile.sources
 
+if HAVE_NOUVEAU
+    TESTS_progs_M += $(NOUVEAU_TESTS_M)
+endif
+
 if BUILD_TESTS
 list-single-tests:
 	@echo TESTLIST
tests/Makefile.sources +0 -3
index 311f4b6..5f4d282 100644
@@ -7,13 +7,11 @@ noinst_PROGRAMS = \
 	$(TESTS_testsuite) \
 	$(NULL)
 
-if HAVE_NOUVEAU
 NOUVEAU_TESTS_M = \
 	prime_nv_api \
 	prime_nv_pcopy \
 	prime_nv_test \
 	$(NULL)
-endif
 
 TESTS_progs_M = \
 	drv_suspend \
@@ -55,7 +53,6 @@ TESTS_progs_M = \
 	kms_pipe_crc_basic \
 	kms_render \
 	kms_setmode \
-	$(NOUVEAU_TESTS_M) \
 	pm_pc8 \
 	prime_self_import \
 	template \
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH v2 4/11 lib: Move kms stuff from drmtest.c over to igt_kms.c

In reply to [email protected]

From: Oscar Mateo <[email protected]>

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

---
 lib/Makefile.sources       |    2 +
 lib/drmtest.c              |  732 ------------------------------------------
 lib/drmtest.h              |   72 -----
 lib/igt_kms.c              |  764 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h              |  102 ++++++
 tests/kms_cursor_crc.c     |    1 +
 tests/kms_flip.c           |    1 +
 tests/kms_pipe_crc_basic.c |    1 +
 tests/kms_render.c         |    1 +
 tests/kms_setmode.c        |    1 +
 tests/pm_pc8.c             |    1 +
 tests/testdisplay.c        |    1 +
 12 files changed, 875 insertions(+), 804 deletions(-)
 create mode 100644 lib/igt_kms.c
 create mode 100644 lib/igt_kms.h
lib/Makefile.sources +2 -0
index d71f837..78e2034 100644
@@ -32,5 +32,7 @@ libintel_tools_la_SOURCES = 	\
 	intel_reg_map.c		\
 	intel_dpio.c		\
 	intel_iosf.c		\
+	igt_kms.c \
+	igt_kms.h \
 	$(NULL)
 
lib/drmtest.c +0 -732

754 lines not on this page · raw message

lib/drmtest.h +0 -72

84 lines not on this page · raw message

lib/igt_kms.c new file +764 -0

764 lines not on this page · raw message

lib/igt_kms.h new file +102 -0

102 lines not on this page · raw message

tests/kms_cursor_crc.c +1 -0
index 2c9ca35..4ecc9c8 100644
@@ -33,6 +33,7 @@
 
 #include "drmtest.h"
 #include "igt_debugfs.h"
+#include "igt_kms.h"
 
 enum cursor_type {
 	WHITE_VISIBLE,
tests/kms_flip.c +1 -0
index 10d8ae0..daaed8e 100644
@@ -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)
tests/kms_pipe_crc_basic.c +1 -0
index 2545233..3bc9eb0 100644
@@ -31,6 +31,7 @@
 
 #include "drmtest.h"
 #include "igt_debugfs.h"
+#include "igt_kms.h"
 
 typedef struct {
 	struct kmstest_connector_config config;
tests/kms_render.c +1 -0
index dc00932..055ebbb 100644
@@ -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;
tests/kms_setmode.c +1 -0
index 6bc7db1..3d18fc7 100644
@@ -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
tests/pm_pc8.c +1 -0
index cddb11b..e17be1b 100644
@@ -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
tests/testdisplay.c +1 -0
index fd172f3..dd9e56d 100644
@@ -65,6 +65,7 @@
 #include "i915_drm.h"
 #include "drmtest.h"
 #include "testdisplay.h"
+#include "igt_kms.h"
 
 #include <stdlib.h>
 #include <signal.h>
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#5 lore raw

PATCH v2 5/11 rendercopy: Remove rendercopy.c

In reply to [email protected]

From: Oscar Mateo <[email protected]>

Move scratch_buf_write_to_png() to its only user, gem_render_copy.c. This makes the cairo dependencies easier to handle from the Android perspective, but if there is a good reason why this file exists I can try to handle it differently.

---
 lib/Makefile.sources    |    1 -
 lib/rendercopy.c        |   49 -----------------------------------------------
 lib/rendercopy.h        |    2 --
 tests/gem_render_copy.c |   21 ++++++++++++++++++++
 4 files changed, 21 insertions(+), 52 deletions(-)
 delete mode 100644 lib/rendercopy.c
lib/Makefile.sources +0 -1
index 78e2034..699621b 100644
@@ -28,7 +28,6 @@ libintel_tools_la_SOURCES = 	\
 	rendercopy_gen7.c	\
 	rendercopy_gen8.c	\
 	rendercopy.h		\
-	rendercopy.c		\
 	intel_reg_map.c		\
 	intel_dpio.c		\
 	intel_iosf.c		\
lib/rendercopy.c deleted +0 -49

49 lines not on this page · raw message

lib/rendercopy.h +0 -2
index 4605264..f726df6 100644
@@ -89,6 +89,4 @@ void gen2_render_copyfunc(struct intel_batchbuffer *batch,
 			  unsigned width, unsigned height,
 			  struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
 
-void scratch_buf_write_to_png(struct scratch_buf *buf, const char *filename);
-
 #endif /* RENDERCOPY_H */
tests/gem_render_copy.c +21 -0
index e481733..ed49622 100644
@@ -31,6 +31,7 @@
 
 #include <stdbool.h>
 #include <unistd.h>
+#include <cairo.h>
 
 #include "rendercopy.h"
 
@@ -49,6 +50,26 @@ typedef struct {
 	uint32_t linear[WIDTH * HEIGHT];
 } data_t;
 
+static void scratch_buf_write_to_png(struct scratch_buf *buf, const char *filename)
+{
+	cairo_surface_t *surface;
+	cairo_status_t ret;
+
+	drm_intel_bo_map(buf->bo, 0);
+	surface = cairo_image_surface_create_for_data(buf->bo->virtual,
+						      CAIRO_FORMAT_RGB24,
+						      buf_width(buf),
+						      buf_height(buf),
+						      buf->stride);
+	ret = cairo_surface_write_to_png(surface, filename);
+	if (ret != CAIRO_STATUS_SUCCESS) {
+		fprintf(stderr, "%s: %s\n", __func__,
+			cairo_status_to_string(ret));
+	}
+	cairo_surface_destroy(surface);
+	drm_intel_bo_unmap(buf->bo);
+}
+
 static void scratch_buf_init(data_t *data, struct scratch_buf *buf,
 			     int width, int height, int stride, uint32_t color)
 {
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#6 lore raw

PATCH v2 6/11 tests/drm_get_client_auth: In Android, use gettid() instead of syscall(SYS_gettid)

In reply to [email protected]

From: Oscar Mateo <[email protected]>

---
 tests/drm_get_client_auth.c |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
tests/drm_get_client_auth.c +7 -3
index 28e1b3d..2f493f9 100644
@@ -47,9 +47,13 @@
 static bool
 is_local_tid(pid_t tid)
 {
-    /* On Linux systems, drmGetClient() would return the thread ID
-       instead of the actual process ID */
-    return syscall(SYS_gettid) == tid;
+#ifndef ANDROID
+	/* On Linux systems, drmGetClient() would return the thread ID
+	   instead of the actual process ID */
+	return syscall(SYS_gettid) == tid;
+#else
+	return gettid() == tid;
+#endif
 }
 
 
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH v2 7/11 tests/gem_vmap_blits: Finish extracting gem_read

In reply to [email protected]

From: Oscar Mateo <[email protected]>

It seems something escaped this commit:

commit bd5cf9a07d17ce91dfaa3aa12d3f2c93815f0489

Author: Daniel Vetter <[email protected]>
Date:   Tue Jan 10 15:37:53 2012 +0100

lib/drmtest: extract gem_read

---
 tests/gem_vmap_blits.c |   14 --------------
 1 file changed, 14 deletions(-)
tests/gem_vmap_blits.c +0 -14
index 3e8e458..8dd8c61 100644
@@ -87,20 +87,6 @@ static void gem_vmap_sync(int fd, uint32_t handle)
 }
 
 static void
-gem_read(int fd, uint32_t handle, int offset, int size, void *buf)
-{
-	struct drm_i915_gem_pread pread;
-	int ret;
-
-	pread.handle = handle;
-	pread.offset = offset;
-	pread.size = size;
-	pread.data_ptr = (uintptr_t)buf;
-	ret = drmIoctl(fd, DRM_IOCTL_I915_GEM_PREAD, &pread);
-	igt_assert(ret == 0);
-}
-
-static void
 copy(int fd, uint32_t dst, uint32_t src)
 {
 	uint32_t batch[10];
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH v2 8/11 build: Fix assorted compilation warnings

In reply to [email protected]

From: Oscar Mateo <[email protected]>

As these files are compiled for every test, the warnings cluttered the Android build completely.

v2: As suggested by Daniel Vetter, drop some of the fixes and fix the compilation flags instead.

---
 lib/drmtest.c           |    6 +++---
 lib/drmtest.h           |    4 ++--
 lib/intel_batchbuffer.h |    2 +-
 lib/intel_gpu_tools.h   |    2 +-
 lib/intel_reg_map.c     |    4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)
lib/drmtest.c +3 -3
index 38463f8..44fd30e 100644
@@ -306,7 +306,7 @@ int drm_open_any_render(void)
 	return fd;
 }
 
-int __gem_set_tiling(int fd, uint32_t handle, int tiling, int stride)
+int __gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride)
 {
 	struct drm_i915_gem_set_tiling st;
 	int ret;
@@ -326,7 +326,7 @@ int __gem_set_tiling(int fd, uint32_t handle, int tiling, int stride)
 	return 0;
 }
 
-void gem_set_tiling(int fd, uint32_t handle, int tiling, int stride)
+void gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride)
 {
 	igt_assert(__gem_set_tiling(fd, handle, tiling, stride) == 0);
 }
@@ -654,7 +654,7 @@ off_t prime_get_size(int dma_buf_fd)
 /* signal interrupt helpers */
 static bool igt_only_list_subtests(void);
 
-static int exit_handler_count;
+static unsigned int exit_handler_count;
 
 static struct igt_helper_process signal_helper;
 long long int sig_stat;
lib/drmtest.h +2 -2
index ce9d18d..5295a7b 100644
@@ -54,8 +54,8 @@ int drm_open_any_render(void);
 void gem_quiescent_gpu(int fd);
 
 /* ioctl wrappers and similar stuff for bare metal testing */
-void gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);
-int __gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);
+void gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
+int __gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
 bool gem_has_enable_ring(int fd,int param);
 bool gem_has_bsd(int fd);
 bool gem_has_blt(int fd);
lib/intel_batchbuffer.h +1 -1
index a799969..11b7e6e 100644
@@ -47,7 +47,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
  * work...
  */
 #pragma GCC diagnostic ignored "-Winline"
-static inline int
+static inline unsigned int
 intel_batchbuffer_space(struct intel_batchbuffer *batch)
 {
 	return (BATCH_SZ - BATCH_RESERVED) - (batch->ptr - batch->buffer);
lib/intel_gpu_tools.h +1 -1
index faa948c..412e465 100644
@@ -74,7 +74,7 @@ struct intel_register_map {
 	uint32_t alignment_mask;
 };
 struct intel_register_map intel_get_register_map(uint32_t devid);
-struct intel_register_range *intel_get_register_range(struct intel_register_map map, uint32_t offset, int mode);
+struct intel_register_range *intel_get_register_range(struct intel_register_map map, uint32_t offset, uint32_t mode);
 
 
 static inline uint32_t
lib/intel_reg_map.c +2 -2
index 0c8d49c..26ddd06 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright � 2011 Intel Corporation
+ * Copyright © 2011 Intel Corporation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -151,7 +151,7 @@ intel_get_register_map(uint32_t devid)
 }
 
 struct intel_register_range *
-intel_get_register_range(struct intel_register_map map, uint32_t offset, int mode)
+intel_get_register_range(struct intel_register_map map, uint32_t offset, uint32_t mode)
 {
 	struct intel_register_range *range = map.map;
 	uint32_t align = map.alignment_mask;
Signature · 1 line
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#9 lore raw

PATCH v2 9/11 lib/drmtest: Get the correct basename() under Android

In reply to [email protected]

From: Oscar Mateo <[email protected]>

---
 lib/drmtest.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
lib/drmtest.c +5 -1
index 44fd30e..75f49cd 100644
@@ -26,7 +26,11 @@
  *
  */
 
+#ifndef ANDROID
 #define _GNU_SOURCE
+#else
+#include <libgen.h>
+#endif
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/stat.h>
@@ -1007,7 +1011,7 @@ static bool run_under_gdb(void)
 
 	sprintf(buf, "/proc/%d/exe", getppid());
 	return (readlink (buf, buf, sizeof (buf)) != -1 &&
-		strncmp (basename (buf), "gdb", 3) == 0);
+		strncmp(basename(buf), "gdb", 3) == 0);
 }
 
 void __igt_fail_assert(int exitcode, const char *file,
Signature · 1 line
1.7.9.5
#10 lore raw

PATCH v2 10/11 lib/igt_display: workaround a name conflict in Android

In reply to [email protected]

From: Oscar Mateo <[email protected]>

PLANE_A/PLANE_B are used by libdrm's i915_drm.h in Android.

v2: Changes suggested by Daniel Vetter and Damien Lespiau:
- Pimp up comment with a FIXME.
- Reword commit message.

---
 lib/igt_display.h |    4 ++++
 1 file changed, 4 insertions(+)
lib/igt_display.h +4 -0
index 1357ce9..84638b2 100644
@@ -33,6 +33,10 @@ enum pipe {
 };
 #define pipe_name(p) ((p) + 'A')
 
+/* FIXME: i915_drm.h on Android pollutes the general namespace. */
+#undef PLANE_A
+#undef PLANE_B
+
 enum plane {
         PLANE_A = 0,
         PLANE_B,
Signature · 1 line
1.7.9.5
#11 lore raw

PATCH v2 11/11 build: New Android makefiles

In reply to [email protected]

From: Oscar Mateo <[email protected]>

These form the basis of the new Android build system.

v2: As suggested by Daniel Vetter, modify compilation flags to not error on return-type and not warn on sign-compare.

---
 Android.mk       |  530 +-----------------------------------------------------
 tests/Android.mk |   77 ++++++++
 tools/Android.mk |   70 ++++++++
 3 files changed, 149 insertions(+), 528 deletions(-)
 create mode 100644 tests/Android.mk
 create mode 100644 tools/Android.mk
Android.mk +2 -528
index 3be3462..7b42d10 100644
@@ -1,531 +1,5 @@
 LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
 
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_reg_write.c         	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-	lib/intel_reg_map.c 		\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            	       			\
-       $(LOCAL_PATH)/lib				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/ 
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-LOCAL_MODULE := intel_reg_write
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_reg_read.c          	\
-       lib/intel_pci.c			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-	lib/intel_reg_map.c 		\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=					\
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_reg_read
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=				\
-       tools/intel_disable_clock_gating.c	\
-       lib/intel_pci.c 				\
-       lib/intel_gpu_tools.h         		\
-       tools/intel_reg.h               		\
-       lib/intel_batchbuffer.h       		\
-       lib/intel_batchbuffer.c       		\
-       lib/intel_mmio.c       			\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_disable_clock_gating
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=			\
-       tools/intel_audio_dump.c         \
-       lib/intel_pci.c			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h		\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=                    				\
-       $(LOCAL_PATH)/lib 					\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 		\
-       $(TOPDIR)hardware/intel/libdrm/intel 			\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_audio_dump
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_backlight.c          \
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=                    			\
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_backlight
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_bios_dumper.c       	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=                    			\
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_bios_dumper
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_bios_reader.c        \
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_bios_reader
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-# Disabling intel_error_decode tool, since Android still does not have libdrm2.4.30
-#================
-#include $(CLEAR_VARS)
-#
-#LOCAL_SRC_FILES :=                     	\
-#       tools/intel_error_decode.c      	\
-#       lib/intel_pci.c 			\
-#       lib/intel_gpu_tools.h         	\
-#       tools/intel_reg.h               	\
-#       lib/intel_batchbuffer.h       	\
-#       lib/intel_batchbuffer.c       	\
-#       lib/intel_mmio.c       		\
-#       tools/intel_chipset.h 		\
-#       lib/instdone.h  			\
-#       lib/instdone.c  			\
-#       tools/intel_decode.h  		\
-#	lib/intel_drm.c
-#       
-#
-#LOCAL_C_INCLUDES +=            			        \
-#       $(LOCAL_PATH)/lib 				\
-#       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-#       $(TOPDIR)hardware/intel/libdrm/intel 		\
-#       $(LOCAL_PATH)/../libpciaccess/include/
-#
-#LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-#LOCAL_CFLAGS += -DANDROID
-#LOCAL_CFLAGS += -std=c99
-#
-#
-#LOCAL_MODULE := intel_error_decode
-#LOCAL_MODULE_TAGS := optional
-#
-#LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-#                          libdrm 	\
-#                          libdrm_intel
-#
-#include $(BUILD_EXECUTABLE)
-#
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_gpu_top.c          	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h 		\
-       lib/instdone.h  			\
-       lib/instdone.c  			\
-	lib/intel_reg_map.c
-       
-
-LOCAL_C_INCLUDES +=    			                \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_gpu_top
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_gpu_time.c          	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_gpu_time
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_gtt.c          	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-
-LOCAL_MODULE := intel_gtt
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_stepping.c          	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h         	\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_stepping
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=			\
-       tools/intel_reg_dumper.c         \
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h 	        \
-       tools/intel_reg.h       	        \
-       lib/intel_batchbuffer.h		\
-       lib/intel_batchbuffer.c		\
-       lib/intel_mmio.c      		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=                    			\
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_reg_dumper
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/intel_reg_snapshot.c       \
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h 	        \
-       tools/intel_reg.h       	        \
-       lib/intel_batchbuffer.h		\
-       lib/intel_batchbuffer.c		\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-
-LOCAL_MODULE := intel_reg_snapshot
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       tools/forcewaked.c          	\
-       lib/intel_pci.c 			\
-       lib/intel_gpu_tools.h		\
-       tools/intel_reg.h               	\
-       lib/intel_batchbuffer.h       	\
-       lib/intel_batchbuffer.c       	\
-       lib/intel_mmio.c       		\
-       tools/intel_chipset.h 		\
-       lib/intel_reg_map.c		\
-       lib/intel_drm.c
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := forcewaked
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	\
-                          libdrm 	\
-                          libdrm_intel
-
-include $(BUILD_EXECUTABLE)
-
-#================
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES :=                     	\
-       lib/intel_gpu_tools.h		\
-       tools/intel_reg_checker.c	\
-	lib/intel_pci.c			\
-	lib/intel_mmio.c
-       
-
-LOCAL_C_INCLUDES +=            			        \
-       $(LOCAL_PATH)/lib 				\
-       $(TOPDIR)hardware/intel/libdrm/include/drm 	\
-       $(TOPDIR)hardware/intel/libdrm/intel 		\
-       $(LOCAL_PATH)/../libpciaccess/include/
-
-LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
-LOCAL_CFLAGS += -DANDROID
-
-
-LOCAL_MODULE := intel_reg_checker
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := libpciaccess 	
-
-include $(BUILD_EXECUTABLE)
+include $(LOCAL_PATH)/tests/Android.mk
+include $(LOCAL_PATH)/tools/Android.mk
 
tests/Android.mk new file +77 -0

77 lines not on this page · raw message

tools/Android.mk new file +70 -0

70 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#12 lore raw
In reply to [email protected]
Quoted 17 lines · On Tue, Nov 12, 2013 at 11:50:34AM +0000, [email protected] wrote:

From: Oscar Mateo <[email protected]>

These patches aim to create an Android build system. This used to exist, but the old Android.mk files were bit-rotten and therefore kicked out.

As suggested by Daniel Vetter and Damien Lespiau, as a fist step I extracted the source files lists into a Makefile.sources which can be included by both the autoconf files and the Android makefiles.

Changes since the last submission:

- Tabs when defining variables are fine, but fix missing "\" (thanks Damien).
- Drop some of the warning fixes and instead fix compilation flags.
- Reword comment and commit message in name conflict with Android's i915_drm.h
- Do not error on return-type (at least until Bionic correctly annotates "noreturn" on pthread_exit).

Quoted 14 lines

Oscar Mateo (11):
build: list all test/tool/lib source files in their own
Makefile.sources
build: Fix missing "\" in tests/Makefile.sources
build: Move logic to tests/Makefile.am and away from Makefile.sources
lib: Move kms stuff from drmtest.c over to igt_kms.c
rendercopy: Remove rendercopy.c
tests/drm_get_client_auth: In Android, use gettid() instead of
syscall(SYS_gettid)
tests/gem_vmap_blits: Finish extracting gem_read
build: Fix assorted compilation warnings
lib/drmtest: Get the correct basename() under Android lib/igt_display: workaround a name conflict in Android
build: New Android makefiles

All slurped in, thanks for the patches. The igt_kms extraction needed two small fixes to make it work, but I've frobbed that while applying. -Daniel

Quoted 47 lines
 Android.mk                  |  530 +-----------------------------
 lib/Makefile.am             |   38 +--
 lib/Makefile.sources        |   37 +++
 lib/drmtest.c               |  744 +----------------------------------------
 lib/drmtest.h               |   76 +----
 lib/igt_display.h           |    4 +
 lib/igt_kms.c               |  764 +++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h               |  102 ++++++
 lib/intel_batchbuffer.h     |    2 +-
 lib/intel_gpu_tools.h       |    2 +-
 lib/intel_reg_map.c         |    4 +-
 lib/rendercopy.c            |   49 ---
 lib/rendercopy.h            |    2 -
 tests/Android.mk            |   77 +++++
 tests/Makefile.am           |  206 +-----------
 tests/Makefile.sources      |  203 ++++++++++++
 tests/drm_get_client_auth.c |   10 +-
 tests/gem_render_copy.c     |   21 ++
 tests/gem_vmap_blits.c      |   14 -
 tests/kms_cursor_crc.c      |    1 +
 tests/kms_flip.c            |    1 +
 tests/kms_pipe_crc_basic.c  |    1 +
 tests/kms_render.c          |    1 +
 tests/kms_setmode.c         |    1 +
 tests/pm_pc8.c              |    1 +
 tests/testdisplay.c         |    1 +
 tools/Android.mk            |   70 ++++
 tools/Makefile.am           |   54 +--
 tools/Makefile.sources      |   53 +++
 29 files changed, 1369 insertions(+), 1700 deletions(-)
 create mode 100644 lib/Makefile.sources
 create mode 100644 lib/igt_kms.c
 create mode 100644 lib/igt_kms.h
 delete mode 100644 lib/rendercopy.c
 create mode 100644 tests/Android.mk
 create mode 100644 tests/Makefile.sources
 create mode 100644 tools/Android.mk
 create mode 100644 tools/Makefile.sources
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch