diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-12-17 10:09:49 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-12-17 10:11:37 -0800 |
commit | 731cd5526e5c732d51307b26e784f454a724a699 (patch) | |
tree | 215249e4aa86a3d8418b7f5cad95551d49ecce2d /tests/dristat.c | |
parent | c86d431fe6174b1c2de531929213ea7dbd92326d (diff) |
libdrm: add mode setting files
Add mode setting files to libdrm, including xf86drmMode.* and the new
drm_mode.h header. Also add a couple of tests to sanity check the
kernel interfaces and update code to support them.
Diffstat (limited to 'tests/dristat.c')
-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); |