dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
@ 2015-11-30 14:10 ` Gabriel Laskar
       [not found]   ` <1448892658-14256-2-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
  2015-11-30 14:10 ` [PATCH 02/20] drm: Kbuild: add admgpu_drm.h to the installed headers Gabriel Laskar
                   ` (18 subsequent siblings)
  19 siblings, 1 reply; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h
index fc9e2d6..4bcfbe6 100644
--- a/include/uapi/drm/virtgpu_drm.h
+++ b/include/uapi/drm/virtgpu_drm.h
@@ -30,7 +30,7 @@
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
  *
- * Do not use pointers, use uint64_t instead for 32 bit / 64 bit user/kernel
+ * Do not use pointers, use __u64 instead for 32 bit / 64 bit user/kernel
  * compatibility Keep fields aligned to their size
  */
 
@@ -45,88 +45,88 @@
 #define DRM_VIRTGPU_GET_CAPS  0x09
 
 struct drm_virtgpu_map {
-	uint64_t offset; /* use for mmap system call */
-	uint32_t handle;
-	uint32_t pad;
+	__u64 offset; /* use for mmap system call */
+	__u32 handle;
+	__u32 pad;
 };
 
 struct drm_virtgpu_execbuffer {
-	uint32_t		flags;		/* for future use */
-	uint32_t size;
-	uint64_t command; /* void* */
-	uint64_t bo_handles;
-	uint32_t num_bo_handles;
-	uint32_t pad;
+	__u32		flags;		/* for future use */
+	__u32 size;
+	__u64 command; /* void* */
+	__u64 bo_handles;
+	__u32 num_bo_handles;
+	__u32 pad;
 };
 
 #define VIRTGPU_PARAM_3D_FEATURES 1 /* do we have 3D features in the hw */
 
 struct drm_virtgpu_getparam {
-	uint64_t param;
-	uint64_t value;
+	__u64 param;
+	__u64 value;
 };
 
 /* NO_BO flags? NO resource flag? */
 /* resource flag for y_0_top */
 struct drm_virtgpu_resource_create {
-	uint32_t target;
-	uint32_t format;
-	uint32_t bind;
-	uint32_t width;
-	uint32_t height;
-	uint32_t depth;
-	uint32_t array_size;
-	uint32_t last_level;
-	uint32_t nr_samples;
-	uint32_t flags;
-	uint32_t bo_handle; /* if this is set - recreate a new resource attached to this bo ? */
-	uint32_t res_handle;  /* returned by kernel */
-	uint32_t size;        /* validate transfer in the host */
-	uint32_t stride;      /* validate transfer in the host */
+	__u32 target;
+	__u32 format;
+	__u32 bind;
+	__u32 width;
+	__u32 height;
+	__u32 depth;
+	__u32 array_size;
+	__u32 last_level;
+	__u32 nr_samples;
+	__u32 flags;
+	__u32 bo_handle; /* if this is set - recreate a new resource attached to this bo ? */
+	__u32 res_handle;  /* returned by kernel */
+	__u32 size;        /* validate transfer in the host */
+	__u32 stride;      /* validate transfer in the host */
 };
 
 struct drm_virtgpu_resource_info {
-	uint32_t bo_handle;
-	uint32_t res_handle;
-	uint32_t size;
-	uint32_t stride;
+	__u32 bo_handle;
+	__u32 res_handle;
+	__u32 size;
+	__u32 stride;
 };
 
 struct drm_virtgpu_3d_box {
-	uint32_t x;
-	uint32_t y;
-	uint32_t z;
-	uint32_t w;
-	uint32_t h;
-	uint32_t d;
+	__u32 x;
+	__u32 y;
+	__u32 z;
+	__u32 w;
+	__u32 h;
+	__u32 d;
 };
 
 struct drm_virtgpu_3d_transfer_to_host {
-	uint32_t bo_handle;
+	__u32 bo_handle;
 	struct drm_virtgpu_3d_box box;
-	uint32_t level;
-	uint32_t offset;
+	__u32 level;
+	__u32 offset;
 };
 
 struct drm_virtgpu_3d_transfer_from_host {
-	uint32_t bo_handle;
+	__u32 bo_handle;
 	struct drm_virtgpu_3d_box box;
-	uint32_t level;
-	uint32_t offset;
+	__u32 level;
+	__u32 offset;
 };
 
 #define VIRTGPU_WAIT_NOWAIT 1 /* like it */
 struct drm_virtgpu_3d_wait {
-	uint32_t handle; /* 0 is an invalid handle */
-	uint32_t flags;
+	__u32 handle; /* 0 is an invalid handle */
+	__u32 flags;
 };
 
 struct drm_virtgpu_get_caps {
-	uint32_t cap_set_id;
-	uint32_t cap_set_ver;
-	uint64_t addr;
-	uint32_t size;
-	uint32_t pad;
+	__u32 cap_set_id;
+	__u32 cap_set_ver;
+	__u64 addr;
+	__u32 size;
+	__u32 pad;
 };
 
 #define DRM_IOCTL_VIRTGPU_MAP \
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 02/20] drm: Kbuild: add admgpu_drm.h to the installed headers
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
  2015-11-30 14:10 ` [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
       [not found]   ` <1448892658-14256-3-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
  2015-11-30 14:10 ` [PATCH 03/20] drm: include drm.h in armada_drm.h Gabriel Laskar
                   ` (17 subsequent siblings)
  19 siblings, 1 reply; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/Kbuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/drm/Kbuild b/include/uapi/drm/Kbuild
index 38d4370..159551f 100644
--- a/include/uapi/drm/Kbuild
+++ b/include/uapi/drm/Kbuild
@@ -3,6 +3,7 @@ header-y += drm.h
 header-y += drm_fourcc.h
 header-y += drm_mode.h
 header-y += drm_sarea.h
+header-y += amdgpu_drm.h
 header-y += exynos_drm.h
 header-y += i810_drm.h
 header-y += i915_drm.h
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 03/20] drm: include drm.h in armada_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
  2015-11-30 14:10 ` [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 02/20] drm: Kbuild: add admgpu_drm.h to the installed headers Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 04/20] drm: drm_fourcc.h fix includes Gabriel Laskar
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/armada_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/armada_drm.h b/include/uapi/drm/armada_drm.h
index 8dec3fd..6de7f01 100644
--- a/include/uapi/drm/armada_drm.h
+++ b/include/uapi/drm/armada_drm.h
@@ -9,6 +9,8 @@
 #ifndef DRM_ARMADA_IOCTL_H
 #define DRM_ARMADA_IOCTL_H
 
+#include "drm.h"
+
 #define DRM_ARMADA_GEM_CREATE		0x00
 #define DRM_ARMADA_GEM_MMAP		0x02
 #define DRM_ARMADA_GEM_PWRITE		0x03
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 04/20] drm: drm_fourcc.h fix includes
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (2 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 03/20] drm: include drm.h in armada_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 05/20] drm: drm_mode.h " Gabriel Laskar
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Instead of using linux/types.h, drm headers should use drm.h, in order
to handle the portability issues in only one place.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/drm_fourcc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
index 8c5e8b9..86abf67 100644
--- a/include/uapi/drm/drm_fourcc.h
+++ b/include/uapi/drm/drm_fourcc.h
@@ -24,7 +24,7 @@
 #ifndef DRM_FOURCC_H
 #define DRM_FOURCC_H
 
-#include <linux/types.h>
+#include "drm.h"
 
 #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
 				 ((__u32)(c) << 16) | ((__u32)(d) << 24))
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 05/20] drm: drm_mode.h fix includes
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (3 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 04/20] drm: drm_fourcc.h fix includes Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 06/20] drm: fix inclusion of drm.h in drm_sarea.h Gabriel Laskar
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Instead of using linux/types.h, drm headers should use drm.h, in order
to handle the portability issues in only one place.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/drm_mode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 6c11ca4..9c9f61d 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -27,7 +27,7 @@
 #ifndef _DRM_MODE_H
 #define _DRM_MODE_H
 
-#include <linux/types.h>
+#include "drm.h"
 
 #define DRM_DISPLAY_INFO_LEN	32
 #define DRM_CONNECTOR_NAME_LEN	32
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 06/20] drm: fix inclusion of drm.h in drm_sarea.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (4 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 05/20] drm: drm_mode.h " Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 07/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/drm_sarea.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/drm_sarea.h b/include/uapi/drm/drm_sarea.h
index 413a564..1d1a858 100644
--- a/include/uapi/drm/drm_sarea.h
+++ b/include/uapi/drm/drm_sarea.h
@@ -32,7 +32,7 @@
 #ifndef _DRM_SAREA_H_
 #define _DRM_SAREA_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* SAREA area needs to be at least a page */
 #if defined(__alpha__)
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 07/20] drm: fix inclusion of drm.h in exynos_sarea.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (5 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 06/20] drm: fix inclusion of drm.h in drm_sarea.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 08/20] drm: fix inclusion of drm.h in i810_drm.h Gabriel Laskar
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: Inki Dae, Joonyoung Shim, Seung-Woo Kim, Kyungmin Park,
	David Airlie, Kukjin Kim, Krzysztof Kozlowski,
	open list:DRM DRIVERS FOR EXYNOS, open list:ABI/API,
	moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES,
	moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/exynos_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h
index 5575ed1..a5b2dd9 100644
--- a/include/uapi/drm/exynos_drm.h
+++ b/include/uapi/drm/exynos_drm.h
@@ -15,7 +15,7 @@
 #ifndef _UAPI_EXYNOS_DRM_H_
 #define _UAPI_EXYNOS_DRM_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /**
  * User-desired buffer creation information structure.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 08/20] drm: fix inclusion of drm.h in i810_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (6 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 07/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 09/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for
the libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/i810_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/i810_drm.h b/include/uapi/drm/i810_drm.h
index 34736ef..bdb0287 100644
--- a/include/uapi/drm/i810_drm.h
+++ b/include/uapi/drm/i810_drm.h
@@ -1,7 +1,7 @@
 #ifndef _I810_DRM_H_
 #define _I810_DRM_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* WARNING: These defines must be the same as what the Xserver uses.
  * if you change them, you must change the defines in the Xserver.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 09/20] drm: fix inclusion of drm.h in exynos_sarea.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (7 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 08/20] drm: fix inclusion of drm.h in i810_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 10/20] drm: fix inclusion of drm.h in mga_drm.h Gabriel Laskar
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: Daniel Vetter, Jani Nikula, David Airlie,
	open list:INTEL DRM DRIVERS excluding Poulsbo, Moorestow...,
	dri-devel@lists.freedesktop.org open list:INTEL DRM DRIVERS
	excluding Poulsbo, Moorestow...,
	linux-api@vger.kernel.org open list:ABI/API,
	linux-kernel@vger.kernel.org open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/i915_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index 484a9fb..07dcba2 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -27,7 +27,7 @@
 #ifndef _UAPI_I915_DRM_H_
 #define _UAPI_I915_DRM_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 10/20] drm: fix inclusion of drm.h in mga_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (8 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 09/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 11/20] drm: fix inclusion of drm.h in msm_drm.h Gabriel Laskar
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/mga_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/mga_drm.h b/include/uapi/drm/mga_drm.h
index 2375bfd..fca8170 100644
--- a/include/uapi/drm/mga_drm.h
+++ b/include/uapi/drm/mga_drm.h
@@ -35,7 +35,7 @@
 #ifndef __MGA_DRM_H__
 #define __MGA_DRM_H__
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* WARNING: If you change any of these defines, make sure to change the
  * defines in the Xserver file (mga_sarea.h)
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 11/20] drm: fix inclusion of drm.h in msm_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (9 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 10/20] drm: fix inclusion of drm.h in mga_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 12/20] drm: fix inclusion of drm.h in omap_drm.h Gabriel Laskar
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/msm_drm.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 75a232b..e995ffb 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -18,8 +18,7 @@
 #ifndef __MSM_DRM_H__
 #define __MSM_DRM_H__
 
-#include <stddef.h>
-#include <drm/drm.h>
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints:
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 12/20] drm: fix inclusion of drm.h in omap_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (10 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 11/20] drm: fix inclusion of drm.h in msm_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 13/20] drm: fix inclusion of drm.h in qxl_drm.h Gabriel Laskar
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/omap_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h
index 1d0b117..0750c01 100644
--- a/include/uapi/drm/omap_drm.h
+++ b/include/uapi/drm/omap_drm.h
@@ -20,7 +20,7 @@
 #ifndef __OMAP_DRM_H__
 #define __OMAP_DRM_H__
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 13/20] drm: fix inclusion of drm.h in qxl_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (11 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 12/20] drm: fix inclusion of drm.h in omap_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 14/20] drm: fix inclusion of drm.h in r128_drm.h Gabriel Laskar
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/qxl_drm.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h
index ebebd36..4387b57 100644
--- a/include/uapi/drm/qxl_drm.h
+++ b/include/uapi/drm/qxl_drm.h
@@ -24,8 +24,7 @@
 #ifndef QXL_DRM_H
 #define QXL_DRM_H
 
-#include <stddef.h>
-#include "drm/drm.h"
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 14/20] drm: fix inclusion of drm.h in r128_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (12 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 13/20] drm: fix inclusion of drm.h in qxl_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 15/20] drm: fix inclusion of drm.h in savage_drm.h Gabriel Laskar
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/r128_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/r128_drm.h b/include/uapi/drm/r128_drm.h
index 76b0aa3..7a44c65 100644
--- a/include/uapi/drm/r128_drm.h
+++ b/include/uapi/drm/r128_drm.h
@@ -33,7 +33,7 @@
 #ifndef __R128_DRM_H__
 #define __R128_DRM_H__
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* WARNING: If you change any of these defines, make sure to change the
  * defines in the X server file (r128_sarea.h)
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 15/20] drm: fix inclusion of drm.h in savage_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (13 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 14/20] drm: fix inclusion of drm.h in r128_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 16/20] drm: fix inclusion of drm.h in tegra_drm.h Gabriel Laskar
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/savage_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/savage_drm.h b/include/uapi/drm/savage_drm.h
index 9dc9dc1..5741474 100644
--- a/include/uapi/drm/savage_drm.h
+++ b/include/uapi/drm/savage_drm.h
@@ -26,7 +26,7 @@
 #ifndef __SAVAGE_DRM_H__
 #define __SAVAGE_DRM_H__
 
-#include <drm/drm.h>
+#include "drm.h"
 
 #ifndef __SAVAGE_SAREA_DEFINES__
 #define __SAVAGE_SAREA_DEFINES__
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 16/20] drm: fix inclusion of drm.h in tegra_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (14 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 15/20] drm: fix inclusion of drm.h in savage_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 17/20] drm: fix inclusion of drm.h in virtgpu_drm.h Gabriel Laskar
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: Thierry Reding, Terje Bergström, David Airlie,
	Stephen Warren, Alexandre Courbot,
	open list:DRM DRIVERS FOR NVIDIA TEGRA,
	open list:DRM DRIVERS FOR NVIDIA TEGRA, open list:ABI/API,
	open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/tegra_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/tegra_drm.h b/include/uapi/drm/tegra_drm.h
index 5391780..27d0b05 100644
--- a/include/uapi/drm/tegra_drm.h
+++ b/include/uapi/drm/tegra_drm.h
@@ -23,7 +23,7 @@
 #ifndef _UAPI_TEGRA_DRM_H_
 #define _UAPI_TEGRA_DRM_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 #define DRM_TEGRA_GEM_CREATE_TILED     (1 << 0)
 #define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1)
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 17/20] drm: fix inclusion of drm.h in virtgpu_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (15 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 16/20] drm: fix inclusion of drm.h in tegra_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 18/20] drm: fix inclusion of drm.h in vmwgfx_drm.h Gabriel Laskar
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/virtgpu_drm.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h
index 4bcfbe6..c74f1f9 100644
--- a/include/uapi/drm/virtgpu_drm.h
+++ b/include/uapi/drm/virtgpu_drm.h
@@ -24,8 +24,7 @@
 #ifndef VIRTGPU_DRM_H
 #define VIRTGPU_DRM_H
 
-#include <stddef.h>
-#include "drm/drm.h"
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 18/20] drm: fix inclusion of drm.h in vmwgfx_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (16 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 17/20] drm: fix inclusion of drm.h in virtgpu_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 19/20] drm: fix inclusion of drm.h in via_drm.h Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 20/20] drm: via: remove userland header Gabriel Laskar
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/vmwgfx_drm.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index 05b2049..2454543 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -28,9 +28,7 @@
 #ifndef __VMWGFX_DRM_H__
 #define __VMWGFX_DRM_H__
 
-#ifndef __KERNEL__
-#include <drm/drm.h>
-#endif
+#include "drm.h"
 
 #define DRM_VMW_MAX_SURFACE_FACES 6
 #define DRM_VMW_MAX_MIP_LEVELS 24
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 19/20] drm: fix inclusion of drm.h in via_drm.h
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (17 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 18/20] drm: fix inclusion of drm.h in vmwgfx_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  2015-11-30 14:10 ` [PATCH 20/20] drm: via: remove userland header Gabriel Laskar
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/via_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index 45bc80c..fd11a5b 100644
--- a/include/uapi/drm/via_drm.h
+++ b/include/uapi/drm/via_drm.h
@@ -24,7 +24,7 @@
 #ifndef _VIA_DRM_H_
 #define _VIA_DRM_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* WARNING: These defines must be the same as what the Xserver uses.
  * if you change them, you must change the defines in the Xserver.
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [PATCH 20/20] drm: via: remove userland header
       [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
                   ` (18 preceding siblings ...)
  2015-11-30 14:10 ` [PATCH 19/20] drm: fix inclusion of drm.h in via_drm.h Gabriel Laskar
@ 2015-11-30 14:10 ` Gabriel Laskar
  19 siblings, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-11-30 14:10 UTC (permalink / raw)
  To: David Airlie, open list:DRM DRIVERS, open list:ABI/API, open list
  Cc: Mikko Rapeli, Emil Velikov

via_drmclient.h comes from userland drivers, it should not be in the
kernel public headers. Moreover, this does not compile if taken outside
of the drivers.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/via_drm.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index fd11a5b..12507e0 100644
--- a/include/uapi/drm/via_drm.h
+++ b/include/uapi/drm/via_drm.h
@@ -33,10 +33,6 @@
 #ifndef _VIA_DEFINES_
 #define _VIA_DEFINES_
 
-#ifndef __KERNEL__
-#include "via_drmclient.h"
-#endif
-
 #define VIA_NR_SAREA_CLIPRECTS		8
 #define VIA_NR_XVMC_PORTS               10
 #define VIA_NR_XVMC_LOCKS               5
-- 
2.6.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* Re: [PATCH 02/20] drm: Kbuild: add admgpu_drm.h to the installed headers
       [not found]   ` <1448892658-14256-3-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
@ 2015-11-30 23:57     ` Alex Deucher
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Deucher @ 2015-11-30 23:57 UTC (permalink / raw)
  To: Gabriel Laskar
  Cc: David Airlie, open list:DRM DRIVERS, open list:ABI/API,
	open list, Mikko Rapeli, Emil Velikov

On Mon, Nov 30, 2015 at 9:10 AM, Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org> wrote:
> Signed-off-by: Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
> CC: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> CC: Mikko Rapeli <mikko.rapeli-X3B1VOXEql0@public.gmane.org>

Acked-by: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>

>
> ---
>  include/uapi/drm/Kbuild | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/drm/Kbuild b/include/uapi/drm/Kbuild
> index 38d4370..159551f 100644
> --- a/include/uapi/drm/Kbuild
> +++ b/include/uapi/drm/Kbuild
> @@ -3,6 +3,7 @@ header-y += drm.h
>  header-y += drm_fourcc.h
>  header-y += drm_mode.h
>  header-y += drm_sarea.h
> +header-y += amdgpu_drm.h
>  header-y += exynos_drm.h
>  header-y += i810_drm.h
>  header-y += i915_drm.h
> --
> 2.6.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h
       [not found]   ` <1448892658-14256-2-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
@ 2015-12-04 14:22     ` Emil Velikov
  2015-12-05 21:03       ` [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t " Dave Airlie
  0 siblings, 1 reply; 26+ messages in thread
From: Emil Velikov @ 2015-12-04 14:22 UTC (permalink / raw)
  To: Gabriel Laskar, Dave Airlie
  Cc: David Airlie, open list:DRM DRIVERS, open list:ABI/API,
	open list, Mikko Rapeli

On 30 November 2015 at 14:10, Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org> wrote:
> Signed-off-by: Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
> CC: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> CC: Mikko Rapeli <mikko.rapeli-X3B1VOXEql0@public.gmane.org>
>
> ---
>  include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
>  1 file changed, 49 insertions(+), 49 deletions(-)
>
For the series
Reviewed-by: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?

Thanks
Emil

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h
  2015-12-04 14:22     ` [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t " Emil Velikov
@ 2015-12-05 21:03       ` Dave Airlie
       [not found]         ` <CAPM=9tw1Un5-fZUzYGzXLhVikEHj9gw1FfBDc=YMD7xeeKxS9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Dave Airlie @ 2015-12-05 21:03 UTC (permalink / raw)
  To: Emil Velikov
  Cc: open list:ABI/API, open list:DRM DRIVERS, open list, Mikko Rapeli

On 5 December 2015 at 00:22, Emil Velikov <emil.l.velikov@gmail.com> wrote:
> On 30 November 2015 at 14:10, Gabriel Laskar <gabriel@lse.epita.fr> wrote:
>> Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
>> CC: Emil Velikov <emil.l.velikov@gmail.com>
>> CC: Mikko Rapeli <mikko.rapeli@iki.fi>
>>
>> ---
>>  include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
>>  1 file changed, 49 insertions(+), 49 deletions(-)
>>
> For the series
> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
>
> Dave would you have any comments wrt this and the remainder of Mikko's
> series ? Alternatively what can we do to get those merged (would you
> like a branch/pull request) ?

Yeah a git pull for these would be good, it's about all I can do to
care about them.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h
       [not found]         ` <CAPM=9tw1Un5-fZUzYGzXLhVikEHj9gw1FfBDc=YMD7xeeKxS9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-12-07 13:29           ` Emil Velikov
  2015-12-07 13:45             ` Mikko Rapeli
  2015-12-09 13:56             ` Gabriel Laskar
  0 siblings, 2 replies; 26+ messages in thread
From: Emil Velikov @ 2015-12-07 13:29 UTC (permalink / raw)
  To: Dave Airlie
  Cc: Gabriel Laskar, David Airlie, open list:DRM DRIVERS,
	open list:ABI/API, open list, Mikko Rapeli

On 5 December 2015 at 21:03, Dave Airlie <airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On 5 December 2015 at 00:22, Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On 30 November 2015 at 14:10, Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org> wrote:
>>> Signed-off-by: Gabriel Laskar <gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
>>> CC: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>> CC: Mikko Rapeli <mikko.rapeli-X3B1VOXEql0@public.gmane.org>
>>>
>>> ---
>>>  include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
>>>  1 file changed, 49 insertions(+), 49 deletions(-)
>>>
>> For the series
>> Reviewed-by: Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>
>> Dave would you have any comments wrt this and the remainder of Mikko's
>> series ? Alternatively what can we do to get those merged (would you
>> like a branch/pull request) ?
>
> Yeah a git pull for these would be good, it's about all I can do to
> care about them.
>
>From your earlier reply I got the impression that you'll pick Mikko's
work. Either way, glad to see some progress on the topic.

Mikko, Gabriel,

Will you guys be so kind to send pull requests or shall I ?

Thanks
Emil

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h
  2015-12-07 13:29           ` [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t " Emil Velikov
@ 2015-12-07 13:45             ` Mikko Rapeli
  2015-12-09 13:56             ` Gabriel Laskar
  1 sibling, 0 replies; 26+ messages in thread
From: Mikko Rapeli @ 2015-12-07 13:45 UTC (permalink / raw)
  To: Emil Velikov
  Cc: Dave Airlie, Gabriel Laskar, David Airlie, open list:DRM DRIVERS,
	open list:ABI/API, open list

On Mon, Dec 07, 2015 at 01:29:41PM +0000, Emil Velikov wrote:
> On 5 December 2015 at 21:03, Dave Airlie <airlied@gmail.com> wrote:
> > On 5 December 2015 at 00:22, Emil Velikov <emil.l.velikov@gmail.com> wrote:
> >> On 30 November 2015 at 14:10, Gabriel Laskar <gabriel@lse.epita.fr> wrote:
> >>> Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
> >>> CC: Emil Velikov <emil.l.velikov@gmail.com>
> >>> CC: Mikko Rapeli <mikko.rapeli@iki.fi>
> >>>
> >>> ---
> >>>  include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
> >>>  1 file changed, 49 insertions(+), 49 deletions(-)
> >>>
> >> For the series
> >> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
> >>
> >> Dave would you have any comments wrt this and the remainder of Mikko's
> >> series ? Alternatively what can we do to get those merged (would you
> >> like a branch/pull request) ?
> >
> > Yeah a git pull for these would be good, it's about all I can do to
> > care about them.
> >
> >From your earlier reply I got the impression that you'll pick Mikko's
> work. Either way, glad to see some progress on the topic.
> 
> Mikko, Gabriel,
> 
> Will you guys be so kind to send pull requests or shall I ?

Go a head and send one. I guess you are talking about the drm specific
patches.

I tested Gabriel's changes too and found one more userspace compilation
problem from the now exported AMD header.

You can pick my patches from emails or latest draft is at
https://github.com/mcfrisk/linux/tree/headers_test_v05

I'm following Linus'es tree and dropping changes which get merged from my
development branch.

-Mikko

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h
  2015-12-07 13:29           ` [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t " Emil Velikov
  2015-12-07 13:45             ` Mikko Rapeli
@ 2015-12-09 13:56             ` Gabriel Laskar
  1 sibling, 0 replies; 26+ messages in thread
From: Gabriel Laskar @ 2015-12-09 13:56 UTC (permalink / raw)
  To: Emil Velikov
  Cc: open list:ABI/API, open list, open list:DRM DRIVERS, Mikko Rapeli

On Mon, 7 Dec 2015 13:29:41 +0000
Emil Velikov <emil.l.velikov@gmail.com> wrote:

> On 5 December 2015 at 21:03, Dave Airlie <airlied@gmail.com> wrote:
> > On 5 December 2015 at 00:22, Emil Velikov <emil.l.velikov@gmail.com> wrote:  
> >> On 30 November 2015 at 14:10, Gabriel Laskar <gabriel@lse.epita.fr> wrote:  
> >>> Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
> >>> CC: Emil Velikov <emil.l.velikov@gmail.com>
> >>> CC: Mikko Rapeli <mikko.rapeli@iki.fi>
> >>>
> >>> ---
> >>>  include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
> >>>  1 file changed, 49 insertions(+), 49 deletions(-)
> >>>  
> >> For the series
> >> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
> >>
> >> Dave would you have any comments wrt this and the remainder of Mikko's
> >> series ? Alternatively what can we do to get those merged (would you
> >> like a branch/pull request) ?  
> >
> > Yeah a git pull for these would be good, it's about all I can do to
> > care about them.
> >  
> From your earlier reply I got the impression that you'll pick Mikko's
> work. Either way, glad to see some progress on the topic.
> 
> Mikko, Gabriel,
> 
> Will you guys be so kind to send pull requests or shall I ?

I can send a pull request with the changes from mikko and mine.

-- 
Gabriel Laskar
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-12-09 13:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr>
2015-11-30 14:10 ` [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h Gabriel Laskar
     [not found]   ` <1448892658-14256-2-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
2015-12-04 14:22     ` [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t " Emil Velikov
2015-12-05 21:03       ` [PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t " Dave Airlie
     [not found]         ` <CAPM=9tw1Un5-fZUzYGzXLhVikEHj9gw1FfBDc=YMD7xeeKxS9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-07 13:29           ` [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t " Emil Velikov
2015-12-07 13:45             ` Mikko Rapeli
2015-12-09 13:56             ` Gabriel Laskar
2015-11-30 14:10 ` [PATCH 02/20] drm: Kbuild: add admgpu_drm.h to the installed headers Gabriel Laskar
     [not found]   ` <1448892658-14256-3-git-send-email-gabriel-tU7rkvAWjlwhT4uAktR2oQ@public.gmane.org>
2015-11-30 23:57     ` Alex Deucher
2015-11-30 14:10 ` [PATCH 03/20] drm: include drm.h in armada_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 04/20] drm: drm_fourcc.h fix includes Gabriel Laskar
2015-11-30 14:10 ` [PATCH 05/20] drm: drm_mode.h " Gabriel Laskar
2015-11-30 14:10 ` [PATCH 06/20] drm: fix inclusion of drm.h in drm_sarea.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 07/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 08/20] drm: fix inclusion of drm.h in i810_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 09/20] drm: fix inclusion of drm.h in exynos_sarea.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 10/20] drm: fix inclusion of drm.h in mga_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 11/20] drm: fix inclusion of drm.h in msm_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 12/20] drm: fix inclusion of drm.h in omap_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 13/20] drm: fix inclusion of drm.h in qxl_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 14/20] drm: fix inclusion of drm.h in r128_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 15/20] drm: fix inclusion of drm.h in savage_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 16/20] drm: fix inclusion of drm.h in tegra_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 17/20] drm: fix inclusion of drm.h in virtgpu_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 18/20] drm: fix inclusion of drm.h in vmwgfx_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 19/20] drm: fix inclusion of drm.h in via_drm.h Gabriel Laskar
2015-11-30 14:10 ` [PATCH 20/20] drm: via: remove userland header Gabriel Laskar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).