diff options
author | Dave Airlie <airlied@redhat.com> | 2008-01-09 16:44:31 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-01-09 16:44:31 +1100 |
commit | 73bf5e867089b58b2c4baaa833d15a2b1fb268a4 (patch) | |
tree | d76cc72f9319403f914de40ea42c4ec2fb7ab261 /tests | |
parent | 8d6e3c208f8090ccc32ef3a38c58f2aca7f4be2a (diff) |
add internals for opening a control node
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dristat.c | 2 |
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); |