[Intel-gfx] [igt PATCH] configure.ac: require libdrm >= 2.4.75 for I915_EXEC_FENCE_OUT

Petri Latvala petri.latvala at intel.com
Wed Mar 1 11:44:23 UTC 2017


On 03/01/2017 01:34 PM, Jani Nikula wrote:
> I915_EXEC_FENCE_OUT was added in libdrm commit a3d715ee14b2 ("Import
> uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9") and released in
> libdrm-2.4.75.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Reviewed-by: Petri Latvala <petri.latvala at intel.com>

>
> ---
>
> I'm probably doing something wrong. This passes configure for me, but
> build still fails with:
>
> gem_latency.c: In function ‘setup_latency’:
> gem_latency.c:290:16: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
>     eb->flags |= I915_EXEC_FENCE_OUT;
>                  ^
> gem_latency.c:290:16: note: each undeclared identifier is reported only once for each function it appears in
> gem_latency.c: In function ‘measure_latency’:
> gem_latency.c:328:44: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
>    if (!(p->latency_dispatch.execbuf.flags & I915_EXEC_FENCE_OUT))
>                                              ^
> gem_latency.c: In function ‘producer’:
> gem_latency.c:364:43: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
>     if (p->latency_dispatch.execbuf.flags & I915_EXEC_FENCE_OUT)

Possibly an old libdrm somewhere in your filesystem, configure finding 
the new one's .pc file but gcc finding the old one's headers first...



-- 
Petri Latvala



More information about the Intel-gfx mailing list