[Mesa-dev] [PATCH] configure: Only require libdrm 2.4.75 for intel.
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 2 00:55:24 UTC 2017
On 2 February 2017 at 00:38, Vinson Lee <vlee at freedesktop.org> wrote:
> On Wed, Feb 1, 2017 at 4:10 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 1 February 2017 at 23:28, Vinson Lee <vlee at freedesktop.org> wrote:
>>> Fixes: b8acb6b17981 ("configure: Require libdrm >= 2.4.75")
>>> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
>> Are you sure that's correct ?
>>
>> Afaict the follow-up commits make use of updated i915_drm.h which
>> should be provided by your distro's libdrm-dev package.
>> Or perhaps it used some new libdrm_intel functionality - can you list
>> what flags up on your end ?
>>
>> -Emil
>
> Yes, this allows me to build non-Intel drivers again with older
> libdrm. Do any drivers other than Intel drivers need libdrm 2.4.75?
Sounds like you misread what I said.
As of
commit 358661c794573b9a361309d477fe09880773ef73
Author: Chad Versace <chadversary at chromium.org>
Date: Fri Jan 13 10:46:48 2017 -0800
i965: Add intel_screen::has_fence_fd
This bool maps to I915_PARAM_HAS_EXEC_FENCE_FD.
we use the i915_drm.h define I915_PARAM_HAS_EXEC_FENCE. The latter is
provided by libdrm commit
commit a3d715ee14b29d2680ceaf44955679205795140c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Jan 27 10:39:10 2017 +0000
Import uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9
To sync with "drm/i915: Support explicit fencing for execbuf"
i915_drm.h _must_ be part of your libdrm-dev package. If not, it's
broken and you should report to your distro.
Thanks
Emil
More information about the mesa-dev
mailing list