summaryrefslogtreecommitdiff
path: root/tests/prime_nv_pcopy.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-08-14 18:50:29 +0200
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-08-14 18:50:29 +0200
commit3dda35744561e61cd6a63a75eb77bc4d67643f27 (patch)
treef90d9d10610adb9369860363362de64fa625599f /tests/prime_nv_pcopy.c
parent0f65ee9576dcfe3f9b82dcda47fd8744874c4ccb (diff)
And add another corner case skip
Diffstat (limited to 'tests/prime_nv_pcopy.c')
-rw-r--r--tests/prime_nv_pcopy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
index 5da0066b..1f34bc0f 100644
--- a/tests/prime_nv_pcopy.c
+++ b/tests/prime_nv_pcopy.c
@@ -285,7 +285,11 @@ static int init_nouveau(void)
data, size, &nchannel);
if (ret) {
fprintf(stderr, "Error creating GPU channel: %d\n", ret);
- return ret;
+ if (ret == -ENODEV) {
+ fprintf(stderr, "Make sure nouveau_accel is active\n");
+ fprintf(stderr, "nvd9 is likely broken regardless\n");
+ }
+ return 77;
}
fifo = nchannel->data;