diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c index 1f34bc0f..0b3b92a6 100644 --- a/tests/prime_nv_pcopy.c +++ b/tests/prime_nv_pcopy.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "i915_drm.h" #include "intel_bufmgr.h" @@ -289,7 +290,7 @@ static int init_nouveau(void) fprintf(stderr, "Make sure nouveau_accel is active\n"); fprintf(stderr, "nvd9 is likely broken regardless\n"); } - return 77; + return ret; } fifo = nchannel->data;