diff options
author | Jesse Barnes | 2008-12-10 17:47:28 -0600 |
---|---|---|
committer | Jesse Barnes | 2008-12-10 17:50:22 -0600 |
commit | 9583c099b4a08b49e03f7b461c344b6d277fd262 (patch) | |
tree | e3c17d4b9ee2c2a063c3e30e0a650fc0c9b6cfa7 /tests/dristat.c | |
parent | c34539e8bb5568b1d6059abf139dd08e07e84eea (diff) | |
download | external-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.c | 2 |
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); |