On Mon, 7 Dec 2015 13:29:41 +
Emil Velikov wrote:
> On 5 December 2015 at 21:03, Dave Airlie wrote:
> > On 5 December 2015 at 00:22, Emil Velikov
> > wrote:
> >> On 30 November 2015 at 14:10, Gabriel Laskar
> >> wrote:
> >>> Signed-o
:
https://github.com/GabrielL/linux.git drm-header-fixes
for you to fetch changes up to 09b9bde3b0cae62690db242274ee161860795ce4:
drm: fix inclusion of drm.h in via_drm.h (2015-12-09 23:42:44 +0100)
--------
Gabriel Laskar (19):
dr
-header-fixes
for you to fetch changes up to d7e12cd7b8c6d7426a401ec03ddcb88382180ced:
drm: fix inclusion of drm.h in via_drm.h (2015-12-10 12:33:23 +0100)
Gabriel Laskar (19):
drm: use __u{32,64} instead of uint{32,64}_t in
drm_buf_pub __user *list; /**< Buffer
> information */ };
>
Why not simply rename the field ?
--
Gabriel Laskar
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/armada_drm.h | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/include/uapi/drm/armada_drm.h b/include/uapi/drm/armada_drm.h
index 8dec3fd..77184b7 100644
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/omap_drm.h | 39 ---
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h
index 1d0b117..926e42a
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/nouveau_drm.h | 84 +-
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h
index fd594cc
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/radeon_drm.h | 130 +-
1 file changed, 66 insertions(+), 64 deletions(-)
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 01aa2a8
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/amdgpu_drm.h | 292 +-
1 file changed, 147 insertions(+), 145 deletions(-)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index e52933a
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/drm_mode.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 6c11ca4..44ad794 100644
--- a/include/uapi
generation
scripts, some abi checkers, and so on.
Gabriel Laskar (9):
include/uapi/drm/armada_drm.h: use __u{32,64} types instead of
uint{32,64}_t
include/uapi/drm/virtgpu_drm.h: use __u{32,64} types instead of
uint{32,64}_t
include/uapi/drm/qxl_drm.h: use __u{32,64} types instead of
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/virtgpu_drm.h | 99 +-
1 file changed, 50 insertions(+), 49 deletions(-)
diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h
index fc9e2d6
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/qxl_drm.h | 74 +++---
1 file changed, 37 insertions(+), 37 deletions(-)
diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h
index ebebd36
Kernel headers should use linux/types.h
Signed-off-by: Gabriel Laskar
---
include/uapi/drm/vmwgfx_drm.h | 264 +-
1 file changed, 132 insertions(+), 132 deletions(-)
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index 05b2049
> On 12 November 2015 at 18:14, Gabriel Laskar wrote:
> > Public headers should use types from include/uapi/linux/types.h.
> >
> Please don't do this. As mentioned to Mikko, these headers are meant
> to be used in more places than just Linux. All the compatibility is
&g
On Fri, 13 Nov 2015 20:24:30 +0100
Gabriel Laskar wrote:
> On Thu, 12 Nov 2015 19:34:18 +
> Emil Velikov wrote:
>
> > That aside I'm a strong supporter of this type of work and I'm curious
> > why Dave hasn't picked up the existing series ? Last tim
On Fri, 13 Nov 2015 20:38:51 +
Emil Velikov wrote:
> On 13 November 2015 at 19:31, Gabriel Laskar wrote:
> > On Fri, 13 Nov 2015 20:24:30 +0100
> > Gabriel Laskar wrote:
> >
> > Sorry for the noise, I had just saw the first version.
> >
> Heh I was w
in kernel, and in userland.
Is it possible to also resynchronize both headers, in order for them to
be the same in libdrm and the kernel ?
--
Gabriel Laskar
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
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
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
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
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
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/drm_fourcc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
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
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/exynos_drm.h | 2 +-
1 file changed, 1 inser
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/mga_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/msm_drm.h | 3 +--
1 file changed, 1 insertion(+), 2
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/tegra_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/virtgpu_drm.h | 3 +--
1 file changed, 1 inser
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/savage_drm.h | 2 +-
1 file changed, 1 inser
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/vmwgfx_drm.h | 4 +---
1 file changed, 1 inser
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
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/via_drm.h | 4
1 file changed, 4 deletions
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
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/drm_mode.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/qxl_drm.h | 3 +--
1 file changed, 1 insertion(+), 2
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/r128_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/via_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/drm_sarea.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for
the libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/i810_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/omap_drm.h | 2 +-
1 file changed, 1 insertion(+),
Using `#include "drm.h"` instead of `#include ` allow drm
headers to be moved in another directory without changes, like for the
libdrm imports.
Signed-off-by: Gabriel Laskar
CC: Emil Velikov
CC: Mikko Rapeli
---
include/uapi/drm/i915_drm.h | 2 +-
1 file changed, 1 insertion(+),
38 matches
Mail list logo