[PATCH:libdrm] Stop undefining _ATOMIC_TYPE in Solaris/NetBSD section of xf86atomic.h

2015-02-08 Thread Thomas Klausner
Reviewed-By: Thomas Klausner Sorry for the breakage. Thomas On Sat, Feb 07, 2015 at 09:21:06AM -0800, Alan Coopersmith wrote: > Since the atomic_set() macro references _ATOMIC_TYPE, undefining it > broke that macro, resulting in build errors of: > "intel_bufmgr_gem.c",

[PATCH:drm 1/4] intel: Only define variable when it's used.

2014-09-29 Thread Thomas Klausner
Re-ping. These patches are quite simple... Thomas On Tue, Aug 05, 2014 at 11:12:54AM +0200, Thomas Klausner wrote: > Hi! > > I'm new here, so I don't know how to find the correct people to review > this patchset. Please let me know. > > Thanks, > Thomas > &g

[PATCH:drm 1/4] intel: Only define variable when it's used.

2014-08-05 Thread Thomas Klausner
Hi! I'm new here, so I don't know how to find the correct people to review this patchset. Please let me know. Thanks, Thomas On Sun, Jul 20, 2014 at 10:26:31AM +0200, Thomas Klausner wrote: > Signed-off-by: Thomas Klausner > --- > intel/test_decode.c | 5 - > 1 file

[PATCH:drm 4/4] Fix libdrm's atomic_dec_and_test on Solaris.

2014-07-20 Thread Thomas Klausner
_nv means new value, not old value! Signed-off-by: Thomas Klausner --- xf86atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86atomic.h b/xf86atomic.h index d0f85fc..4e7691f 100644 --- a/xf86atomic.h +++ b/xf86atomic.h @@ -85,7 +85,7 @@ typedef struct { uint_t

[PATCH:drm 3/4] Add NetBSD atomic ops support.

2014-07-20 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- xf86atomic.h | 17 + 1 file changed, 17 insertions(+) diff --git a/xf86atomic.h b/xf86atomic.h index db2f619..d0f85fc 100644 --- a/xf86atomic.h +++ b/xf86atomic.h @@ -92,6 +92,23 @@ typedef struct { uint_t atomic; } atomic_t; #endif +#if

[PATCH:drm 2/4] nouveau: Remove unused static function.

2014-07-20 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- nouveau/bufctx.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/nouveau/bufctx.c b/nouveau/bufctx.c index 23d6f09..4f76e5d 100644 --- a/nouveau/bufctx.c +++ b/nouveau/bufctx.c @@ -44,12 +44,6 @@ struct nouveau_bufref_priv { struct

[PATCH:drm 1/4] intel: Only define variable when it's used.

2014-07-20 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- intel/test_decode.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/intel/test_decode.c b/intel/test_decode.c index b710f34..f9127cf 100644 --- a/intel/test_decode.c +++ b/intel/test_decode.c @@ -90,7 +90,10 @@ compare_batch(struct

[PATCH:drm 4/4] Add missing header includes.

2014-07-15 Thread Thomas Klausner
unistd.h for close() and xf86drm.h for drmOpen(). Signed-off-by: Thomas Klausner --- tests/radeon/radeon_ttm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/radeon/radeon_ttm.c b/tests/radeon/radeon_ttm.c index 246fd99..ac3297a 100644 --- a/tests/radeon/radeon_ttm.c +++ b/tests

[PATCH:drm 3/4] Remove unused static function.

2014-07-15 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- nouveau/bufctx.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/nouveau/bufctx.c b/nouveau/bufctx.c index 23d6f09..4f76e5d 100644 --- a/nouveau/bufctx.c +++ b/nouveau/bufctx.c @@ -44,12 +44,6 @@ struct nouveau_bufref_priv { struct

[PATCH:drm 2/4] Only define variable when it's used.

2014-07-15 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- intel/test_decode.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/intel/test_decode.c b/intel/test_decode.c index b710f34..f9127cf 100644 --- a/intel/test_decode.c +++ b/intel/test_decode.c @@ -90,7 +90,10 @@ compare_batch(struct

[PATCH:drm 1/4] Remove superfluous parentheses.

2014-07-15 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- radeon/radeon_surface.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c index 109bd6b..9c3a192 100644 --- a/radeon/radeon_surface.c +++ b/radeon/radeon_surface.c @@ -282,7

[ANNOUNCE] libdrm 2.4.41

2013-01-21 Thread Thomas Klausner
Something's wrong with this tarball -- configure.ac references man/Makefile, but no man/ directory is included. Lesson: always run 'make distcheck' before releasing :) Thomas On Wed, Jan 16, 2013 at 01:19:17PM +0100, Maarten Lankhorst wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: [ANNOUNCE] libdrm 2.4.41

2013-01-21 Thread Thomas Klausner
Something's wrong with this tarball -- configure.ac references man/Makefile, but no man/ directory is included. Lesson: always run 'make distcheck' before releasing :) Thomas On Wed, Jan 16, 2013 at 01:19:17PM +0100, Maarten Lankhorst wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >