summaryrefslogtreecommitdiff
path: root/tests/modefb
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-13 12:20:02 +1000
committerDave Airlie <airlied@redhat.com>2008-02-13 12:20:02 +1000
commitdb85ed25afc616acfaadb21facf6066354f9d490 (patch)
tree2d4c7eafac377543f8c5a01aced75079056c4e87 /tests/modefb
parentf276c845bde4c712aa383540a2dd2055ecc00031 (diff)
Revert "After the previous revert fix libdrm to start at minor 1"
This reverts commit f51dc37d75b0b1b8e5636f8f2c201e29986517ea. Conflicts: tests/modedemo/demo.c
Diffstat (limited to 'tests/modefb')
-rw-r--r--tests/modefb/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modefb/demo.c b/tests/modefb/demo.c
index 4d81e511..7fa3b93f 100644
--- a/tests/modefb/demo.c
+++ b/tests/modefb/demo.c
@@ -26,7 +26,7 @@ int main(int argc, char **argv)
char name[100];
int i,d;
int fd;
- int drmfd = drmOpen("i915", NULL);
+ int drmfd = drmOpenControl(0);
/* try four devices */
for (d = 0; d < 4; d++) {