[Beignet] [PATCH] Fix build with latest libdrm

Armin K. krejzi at email.com
Sat Oct 8 13:23:38 UTC 2016


On 8.10.2016 12:06, Rebecca N. Palmer wrote:
>> +  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...)
>

Oops. You are right. I didn't check the commit message ...

Thanks for pointing it out.

> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list