Re: [igt PATCH] configure.ac: require libdrm >= 2.4.75 for I915_EXEC_FENCE_OUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Reviewed-by: Petri Latvala <petri.latvala@xxxxxxxxx>


---

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux