* [PATCH i-g-t] lib: add missing includes to headers
@ 2014-06-16 15:21 Thomas Wood
2014-06-16 18:12 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Wood @ 2014-06-16 15:21 UTC (permalink / raw)
To: intel-gfx
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
lib/debug.h | 3 +++
lib/gen7_render.h | 2 ++
lib/igt_aux.h | 1 +
lib/igt_fb.h | 2 ++
lib/igt_kms.h | 1 +
lib/rendercopy.h | 3 +++
6 files changed, 12 insertions(+)
diff --git a/lib/debug.h b/lib/debug.h
index af9cf39..ca4b31e 100644
--- a/lib/debug.h
+++ b/lib/debug.h
@@ -28,6 +28,9 @@
#ifndef _DEBUG_H_
#define _DEBUG_H_
+#include <stdint.h>
+#include <stdio.h>
+
#define DEBUG_PROTOCOL_VERSION 1
#define COMMUNICATION_OFFSET 0xc00
#define COMMUNICATION_QWORD 0xc0
diff --git a/lib/gen7_render.h b/lib/gen7_render.h
index 992d839..7a6dc05 100644
--- a/lib/gen7_render.h
+++ b/lib/gen7_render.h
@@ -1,6 +1,8 @@
#ifndef GEN7_RENDER_H
#define GEN7_RENDER_H
+#include <stdint.h>
+
#define INTEL_MASK(high, low) (((1 << ((high) - (low) + 1)) - 1) << (low))
#define GEN7_3D(Pipeline,Opcode,Subopcode) ((3 << 29) | \
diff --git a/lib/igt_aux.h b/lib/igt_aux.h
index db0dea8..a90d8d9 100644
--- a/lib/igt_aux.h
+++ b/lib/igt_aux.h
@@ -29,6 +29,7 @@
#define IGT_AUX_H
#include <intel_bufmgr.h>
+#include <stdbool.h>
/* auxialiary igt helpers from igt_aux.c */
/* generally useful helpers */
diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index c6558bf..6d030e6 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -36,6 +36,8 @@ typedef struct _cairo_surface cairo_surface_t;
typedef struct _cairo cairo_t;
#endif
+#include <stddef.h>
+#include <stdbool.h>
#include <drm_fourcc.h>
#include <xf86drmMode.h>
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 17bf0a2..7d015b4 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -30,6 +30,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <stddef.h>
#include <xf86drmMode.h>
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index bb9051e..20619d6 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -1,3 +1,6 @@
+#include "intel_batchbuffer.h"
+
+
static inline void emit_vertex_2s(struct intel_batchbuffer *batch,
int16_t x, int16_t y)
{
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH i-g-t] lib: add missing includes to headers
2014-06-16 15:21 [PATCH i-g-t] lib: add missing includes to headers Thomas Wood
@ 2014-06-16 18:12 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2014-06-16 18:12 UTC (permalink / raw)
To: Thomas Wood; +Cc: intel-gfx
On Mon, Jun 16, 2014 at 04:21:35PM +0100, Thomas Wood wrote:
> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Both igt patches merged, thanks.
-Daniel
> ---
> lib/debug.h | 3 +++
> lib/gen7_render.h | 2 ++
> lib/igt_aux.h | 1 +
> lib/igt_fb.h | 2 ++
> lib/igt_kms.h | 1 +
> lib/rendercopy.h | 3 +++
> 6 files changed, 12 insertions(+)
>
> diff --git a/lib/debug.h b/lib/debug.h
> index af9cf39..ca4b31e 100644
> --- a/lib/debug.h
> +++ b/lib/debug.h
> @@ -28,6 +28,9 @@
> #ifndef _DEBUG_H_
> #define _DEBUG_H_
>
> +#include <stdint.h>
> +#include <stdio.h>
> +
> #define DEBUG_PROTOCOL_VERSION 1
> #define COMMUNICATION_OFFSET 0xc00
> #define COMMUNICATION_QWORD 0xc0
> diff --git a/lib/gen7_render.h b/lib/gen7_render.h
> index 992d839..7a6dc05 100644
> --- a/lib/gen7_render.h
> +++ b/lib/gen7_render.h
> @@ -1,6 +1,8 @@
> #ifndef GEN7_RENDER_H
> #define GEN7_RENDER_H
>
> +#include <stdint.h>
> +
> #define INTEL_MASK(high, low) (((1 << ((high) - (low) + 1)) - 1) << (low))
>
> #define GEN7_3D(Pipeline,Opcode,Subopcode) ((3 << 29) | \
> diff --git a/lib/igt_aux.h b/lib/igt_aux.h
> index db0dea8..a90d8d9 100644
> --- a/lib/igt_aux.h
> +++ b/lib/igt_aux.h
> @@ -29,6 +29,7 @@
> #define IGT_AUX_H
>
> #include <intel_bufmgr.h>
> +#include <stdbool.h>
>
> /* auxialiary igt helpers from igt_aux.c */
> /* generally useful helpers */
> diff --git a/lib/igt_fb.h b/lib/igt_fb.h
> index c6558bf..6d030e6 100644
> --- a/lib/igt_fb.h
> +++ b/lib/igt_fb.h
> @@ -36,6 +36,8 @@ typedef struct _cairo_surface cairo_surface_t;
> typedef struct _cairo cairo_t;
> #endif
>
> +#include <stddef.h>
> +#include <stdbool.h>
> #include <drm_fourcc.h>
> #include <xf86drmMode.h>
>
> diff --git a/lib/igt_kms.h b/lib/igt_kms.h
> index 17bf0a2..7d015b4 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -30,6 +30,7 @@
>
> #include <stdbool.h>
> #include <stdint.h>
> +#include <stddef.h>
>
> #include <xf86drmMode.h>
>
> diff --git a/lib/rendercopy.h b/lib/rendercopy.h
> index bb9051e..20619d6 100644
> --- a/lib/rendercopy.h
> +++ b/lib/rendercopy.h
> @@ -1,3 +1,6 @@
> +#include "intel_batchbuffer.h"
> +
> +
> static inline void emit_vertex_2s(struct intel_batchbuffer *batch,
> int16_t x, int16_t y)
> {
> --
> 1.9.3
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-16 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 15:21 [PATCH i-g-t] lib: add missing includes to headers Thomas Wood
2014-06-16 18:12 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox