aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Barnes2008-12-10 17:47:28 -0600
committerJesse Barnes2008-12-10 17:50:22 -0600
commit9583c099b4a08b49e03f7b461c344b6d277fd262 (patch)
treee3c17d4b9ee2c2a063c3e30e0a650fc0c9b6cfa7 /tests/dristat.c
parentc34539e8bb5568b1d6059abf139dd08e07e84eea (diff)
downloadexternal-libdrm-9583c099b4a08b49e03f7b461c344b6d277fd262.tar.gz
external-libdrm-9583c099b4a08b49e03f7b461c344b6d277fd262.tar.xz
external-libdrm-9583c099b4a08b49e03f7b461c344b6d277fd262.zip
Revert "Merge branch 'modesetting-gem'"
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 48c3b51b..89853164 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
263 263
264 for (i = 0; i < 16; i++) if (!minor || i == minor) { 264 for (i = 0; i < 16; i++) if (!minor || i == minor) {
265 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); 265 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i);
266 fd = drmOpenMinor(i, 1, DRM_NODE_RENDER); 266 fd = drmOpenMinor(i, 1);
267 if (fd >= 0) { 267 if (fd >= 0) {
268 printf("%s\n", buf); 268 printf("%s\n", buf);
269 if (mask & DRM_BUSID) getbusid(fd); 269 if (mask & DRM_BUSID) getbusid(fd);