diff mbox

✗ Fi.CI.IGT: failure for lib: Report the error from __gem_create()

Message ID 150703873566.20052.13784706300959124215@mail.alporthouse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Wilson Oct. 3, 2017, 1:52 p.m. UTC
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.

			   .size = size,
diff mbox

Patch

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 = {