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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to