definition an unsigned integer of the same length
as a pointer on a given architecture, so this should fix the problem
for all architectures up to 64 bits.
Signed-off-by: Guillaume Tucker
---
tests/i915/gem_ctx_sseu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915
Replace calls to the older __sync_* functions with the new atomic_*
standard ones to be consistent with other tests and improve
portability across CPU architectures. Add dependency of sw_sync on
libatomic.
Signed-off-by: Guillaume Tucker
---
tests/Makefile.am | 1 +
tests/meson.build | 8
Add Docker image and Gitlab CI steps to run builds for the MIPS
architecture using Debian Stretch with backports.
Signed-off-by: Guillaume Tucker
---
.gitlab-ci.yml | 28
Dockerfile.debian-mips | 39 +++
meson-cross
This is to add MIPS builds to Gitlab CI.
v2:
- use stretch-backports rather than Buster
- explicitly require libatomic
Guillaume Tucker (1):
gitlab-ci: add build for MIPS
.gitlab-ci.yml | 28
Dockerfile.debian-mips | 39
On 14/06/2019 09:07, Ser, Simon wrote:
> On Thu, 2019-06-13 at 14:53 +0100, Guillaume Tucker wrote:
>> Add conditional dependency on libatomic in order to be able to use the
>> __atomic_* functions instead of the older __sync_* ones. The
>> libatomic library is only needed
On 14/06/2019 13:53, Ser, Simon wrote:
> On Fri, 2019-06-14 at 15:43 +0300, Petri Latvala wrote:
>> On Fri, Jun 14, 2019 at 02:24:53PM +0300, Ser, Simon wrote:
>>> On Fri, 2019-06-14 at 13:00 +0300, Petri Latvala wrote:
>>>> On Thu, Jun 13, 2019 at 02:53:20PM
On 14/06/2019 11:33, Arkadiusz Hiler wrote:
> On Thu, Jun 13, 2019 at 03:01:06PM +0100, Guillaume Tucker wrote:
>> Add Docker image and Gitlab CI steps to run builds for the MIPS
>> architecture using Debian Stretch with backports.
>>
>> Signed-off-by: Guillaume Tucker
Replace calls to the older __sync_* functions with the new atomic_*
standard ones to be consistent with other tests and improve
portability across CPU architectures. Add dependency of sw_sync on
libatomic.
Signed-off-by: Guillaume Tucker
Reviewed-by: Simon Ser
---
Notes:
v2: use atomic_
uired with stdatomic.h functions
* add dependency for gem_create on libatomic
Signed-off-by: Guillaume Tucker
Reviewed-by: Simon Ser
---
Notes:
v2: use atomic_* and only link libatomic with gem_create
tests/Makefile.am | 2 +-
tests/i915/gem_create.c | 16
Add libatomic to the Fedora docker image so it can link binaries that
use __atomic_* functions. Also explicitly add libatomic1 to Debian
docker images as it is needed in particular on non-x86 architectures
for run-time linkage.
Signed-off-by: Guillaume Tucker
---
Notes:
v2: add libatomic1
tomic operations to be on a wider number of
architectures including MIPS.
Signed-off-by: Guillaume Tucker
---
Notes:
v2: add linker test for libatomic
v3: use null_dep
meson.build | 14 ++
1 file changed, 14 insertions(+)
diff --git a/meson.build b/meson.build
index 6268c58
ly require libatomic in all Docker images
v3:
- use sub-arch libatomic1 in Debian docker images
- use null_dep in meson.build
Guillaume Tucker (4):
meson: add libatomic dependency
gitlab-ci: add libatomic to docker images
i915/gem_create: use atomic_* instead of __sync_*
tests/sw_sync: u
Add Docker image and Gitlab CI steps to run builds and tests for the
MIPS architecture using Debian Stretch with backports.
Signed-off-by: Guillaume Tucker
---
Notes:
v2: use stretch-backports and require libatomic1
v3: add mips ci tests and require Debian libatomic1 for mips
.gitlab
On 18/06/2019 14:20, Ser, Simon wrote:
> On Tue, 2019-06-18 at 13:27 +0100, Guillaume Tucker wrote:
>> Add conditional dependency on libatomic in order to be able to use the
>> __atomic_* functions instead of the older __sync_* ones. The
>> libatomic library is only needed
On 18/06/2019 15:37, Ser, Simon wrote:
> On Tue, 2019-06-18 at 14:59 +0100, Guillaume Tucker wrote:
>> On 18/06/2019 14:20, Ser, Simon wrote:
>>> On Tue, 2019-06-18 at 13:27 +0100, Guillaume Tucker wrote:
>>>> Add conditional dependency on libatomic in order to be
On 19/06/2019 07:42, Ser, Simon wrote:
> On Tue, 2019-06-18 at 17:03 +0100, Guillaume Tucker wrote:
>> On 18/06/2019 15:37, Ser, Simon wrote:
>>> On Tue, 2019-06-18 at 14:59 +0100, Guillaume Tucker wrote:
>>>> On 18/06/2019 14:20, Ser, Simon wrote:
>>&
On 19/06/2019 07:50, Ser, Simon wrote:
> On Tue, 2019-06-18 at 13:27 +0100, Guillaume Tucker wrote:
>> Add libatomic to the Fedora docker image so it can link binaries that
>> use __atomic_* functions. Also explicitly add libatomic1 to Debian
>> docker images as it is needed
ly require libatomic in all Docker images
v3:
- use sub-arch libatomic1 in Debian docker images
- use null_dep in meson.build
v4:
- rebase with changes in Dockerfile.debian-minimal
Guillaume Tucker (4):
meson: add libatomic dependency
gitlab-ci: add libatomic to docker images
i915/gem_c
uired with stdatomic.h functions
* add dependency for gem_create on libatomic
Signed-off-by: Guillaume Tucker
Reviewed-by: Simon Ser
---
Notes:
v2: use atomic_* and only link libatomic with gem_create
tests/Makefile.am | 2 +-
tests/i915/gem_create.c | 16
Replace calls to the older __sync_* functions with the new atomic_*
standard ones to be consistent with other tests and improve
portability across CPU architectures. Add dependency of sw_sync on
libatomic.
Signed-off-by: Guillaume Tucker
Reviewed-by: Simon Ser
---
Notes:
v2: use atomic_
This makes atomic operations available on a wider number of
architectures including MIPS.
Signed-off-by: Guillaume Tucker
Reviewed-by: Simon Ser
---
Notes:
v2: add linker test for libatomic
v3: use null_dep
v4: fix sentence in commit message
meson.build | 14 ++
1 file c
Add libatomic to the Fedora docker image so it can link binaries that
use __atomic_* functions. Also explicitly add libatomic1 to Debian
docker images as it is needed in particular on non-x86 architectures
for run-time linkage.
Signed-off-by: Guillaume Tucker
---
Notes:
v2: add libatomic1
On 25/06/2019 11:54, Ser, Simon wrote:
> On Mon, 2019-06-24 at 17:22 +0100, Guillaume Tucker wrote:
>> This series replaces calls to the __sync_* functions with the more
>> recent atomic_* ones defined in stdatomic.h in gem_create and
>> sw_sync. It also adds dependency on li
On 18/06/2019 13:42, Guillaume Tucker wrote:
> Add Docker image and Gitlab CI steps to run builds and tests for the
> MIPS architecture using Debian Stretch with backports.
>
> Signed-off-by: Guillaume Tucker
> ---
>
> Notes:
> v2: use stretch-backports and require
On 27/06/2019 08:02, Ser, Simon wrote:
> On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
>> On 18/06/2019 13:42, Guillaume Tucker wrote:
>>> Add Docker image and Gitlab CI steps to run builds and tests for
>>> the
>>> MIPS architecture using Debian St
Use the libatomic1:mips package only in the Debian Stretch Docker
image for MIPS and add Gitlab CI step to run tests on MIPS.
Signed-off-by: Guillaume Tucker
---
.gitlab-ci.yml | 14 ++
Dockerfile.debian-mips | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff
Add dependency to libatomic in order to be able to use the __atomic_*
functions instead of the older __sync_* ones. This is to enable
atomic operations on a wider number of architectures including MIPS.
Signed-off-by: Guillaume Tucker
---
meson.build | 1 +
tests/meson.build | 2 +-
2
Add libatomic to the Fedora docker image so it can link binaries that
use __atomic_* functions.
Signed-off-by: Guillaume Tucker
---
Dockerfile.fedora | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile.fedora b/Dockerfile.fedora
index 6686e587613d..c84b412b0723 100644
Replace calls to the older __sync_* functions with the new __atomic_*
standard ones. This fixes builds on some architectures, in particular
MIPS which doesn't have __sync_add_and_fetch_8 and
__sync_val_compare_and_swap_8 for 64-bit variable handling.
Signed-off-by: Guillaume Tucker
---
Replace calls to the older __sync_* functions with the new __atomic_*
standard ones to be consistent with other tests and improve
portability across CPU architectures.
Signed-off-by: Guillaume Tucker
---
tests/Makefile.am | 1 +
tests/sw_sync.c | 6 +++---
2 files changed, 4 insertions(+), 3
Add Docker image and Gitlab CI steps to run builds for the MIPS
architecture using Debian Buster.
Signed-off-by: Guillaume Tucker
---
.gitlab-ci.yml | 28
Dockerfile.debian-mips | 38 ++
meson-cross-mips.txt | 12
On 03/04/2019 08:25, Guillaume Tucker wrote:
> On 02/04/2019 09:35, Petri Latvala wrote:
>> On Mon, Apr 01, 2019 at 04:39:24PM +0200, Guillaume Tucker wrote:
>>> The MIPS architecture doesn't provide the hardware atomics that are
>>> required for the
On 06/06/2019 08:20, Ser, Simon wrote:
> On Mon, 2019-06-03 at 12:54 +0100, Guillaume Tucker wrote:
>> Replace calls to the older __sync_* functions with the new __atomic_*
>> standard ones. This fixes builds on some architectures, in particular
>> MIPS which doesn't h
On 06/06/2019 08:26, Ser, Simon wrote:
> On Thu, 2019-06-06 at 10:21 +0300, Arkadiusz Hiler wrote:
>> On Mon, Jun 03, 2019 at 12:54:48PM +0100, Guillaume Tucker wrote:
>>> Add libatomic to the Fedora docker image so it can link binaries that
>>> use __atomic_* funct
On 06/06/2019 08:18, Ser, Simon wrote:
> On Mon, 2019-06-03 at 12:54 +0100, Guillaume Tucker wrote:
>> Add dependency to libatomic in order to be able to use the __atomic_*
>> functions instead of the older __sync_* ones. This is to enable
>> atomic operations on a wider nu
On 06/06/2019 14:16, Arkadiusz Hiler wrote:
> On Wed, Jun 05, 2019 at 09:18:09PM +0100, Guillaume Tucker wrote:
>> Add Docker image and Gitlab CI steps to run builds for the MIPS
>> architecture using Debian Buster.
>>
>> Signed-off-by: Guillaume Tucker
>> --
ly require libatomic in all Docker images
Guillaume Tucker (4):
meson: add libatomic dependency
gitlab-ci: add libatomic to docker images
i915/gem_create: use atomic_* instead of __sync_*
tests/sw_sync: use atomic_* instead of __sync_*
Dockerfile.debian | 1 +
Dockerfile.debian-
tomic operations to be on a wider number of
architectures including MIPS.
Signed-off-by: Guillaume Tucker
---
meson.build | 13 +
1 file changed, 13 insertions(+)
diff --git a/meson.build b/meson.build
index 6268c58d3634..da25a28f3268 100644
--- a/meson.build
+++ b/meson.build
@@ -
uired with stdatomic.h functions
* add dependency for gem_create on libatomic
Signed-off-by: Guillaume Tucker
---
tests/Makefile.am | 2 +-
tests/i915/gem_create.c | 16
tests/meson.build | 9 -
3 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/
Add libatomic to the Fedora docker image so it can link binaries that
use __atomic_* functions. Also explicitly add libatomic1 to Debian
docker images even though it's already installed as a dependency.
Signed-off-by: Guillaume Tucker
---
Dockerfile.debian | 1 +
Dockerfile.debian-
ation for these operations.
Fixes: 6727e17c00b2 ("i915/gem_create: Verify that all new objects are clear")
Signed-off-by: Guillaume Tucker
---
tests/i915/gem_create.c | 4
1 file changed, 4 insertions(+)
diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
index 2a861ca8
On 02/04/2019 09:35, Petri Latvala wrote:
> On Mon, Apr 01, 2019 at 04:39:24PM +0200, Guillaume Tucker wrote:
>> The MIPS architecture doesn't provide the hardware atomics that are
>> required for the "create-clear" sub-test such as
>> __sync_add_and_fetch().
42 matches
Mail list logo