summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-09 16:44:31 +1100
committerDave Airlie <airlied@redhat.com>2008-01-09 16:44:31 +1100
commit73bf5e867089b58b2c4baaa833d15a2b1fb268a4 (patch)
treed76cc72f9319403f914de40ea42c4ec2fb7ab261 /tests
parent8d6e3c208f8090ccc32ef3a38c58f2aca7f4be2a (diff)
add internals for opening a control node
Diffstat (limited to 'tests')
-rw-r--r--tests/dristat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 89853164..48c3b51b 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
for (i = 0; i < 16; i++) if (!minor || i == minor) {
sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i);
- fd = drmOpenMinor(i, 1);
+ fd = drmOpenMinor(i, 1, DRM_NODE_RENDER);
if (fd >= 0) {
printf("%s\n", buf);
if (mask & DRM_BUSID) getbusid(fd);