summaryrefslogtreecommitdiff
path: root/tests/mode
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/mode
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/mode')
-rw-r--r--tests/mode/modetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mode/modetest.c b/tests/mode/modetest.c
index caa3d970..ab0cdc9c 100644
--- a/tests/mode/modetest.c
+++ b/tests/mode/modetest.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv)
printf("Starting test\n");
- fd = drmOpen("i915", NULL);
+ fd = drmOpenControl(0);
if (fd < 0) {
printf("Failed to open the card fb (%d)\n",fd);