[Intel-gfx] ✗ Fi.CI.IGT: failure for lib: Report the error from __gem_create()

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 3 13:52:15 UTC 2017


Quoting Patchwork (2017-10-03 14:47:30)
> == Series Details ==
> 
> Series: lib: Report the error from __gem_create()
> URL   : https://patchwork.freedesktop.org/series/31317/
> State : failure
> 
> == Summary ==
> 
> Test gem_pwrite:
>         Subgroup big-gtt-backwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-gtt-forwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-cpu-forwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-gtt-random:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-gtt-forwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-cpu-backwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-cpu-random:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-gtt-backwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-cpu-fbr:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-cpu-forwards:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-cpu-random:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup huge-gtt-fbr:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-cpu-fbr:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-gtt-fbr:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-gtt-random:
>                 pass       -> FAIL       (shard-hsw)
>         Subgroup big-cpu-backwards:
>                 pass       -> FAIL       (shard-hsw)

D'oh, I actually thought it wasn't going to run because of the earlier
warning. Pre-existing bug in __gem_create() that I didn't spot.

diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 1b483706..87511fc6 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -551,7 +551,7 @@ uint32_t gem_create_stolen(int fd, uint64_t size)
        return create.handle;
	 }
	  
	  -int __gem_create(int fd, int size, uint32_t *handle)
	  +int __gem_create(int fd, uint64_t size, uint32_t *handle)
	   {
	           struct drm_i915_gem_create create = {
			   .size = size,


More information about the Intel-gfx mailing list