[Beignet] [PATCH] Fix build with latest libdrm
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sat Oct 8 10:06:00 UTC 2016
> + if (drm_intel_get_pooled_eu(driver->fd) >= 0) {
Shouldn't this be >0 , not >=0? The libdrm commit message (
https://cgit.freedesktop.org/mesa/drm/commit/intel/intel_bufmgr_gem.c?id=98887140e343493f01be7a1dec721c024bcf72c7
) says 0 means not supported.
(>=0 works for me with libdrm 2.4.71, but on a 3.16 kernel these
functions are always going to fail...)
More information about the Beignet
mailing list