summaryrefslogtreecommitdiff
path: root/xserver/hw
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-02-20 05:47:48 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-02-20 05:47:48 +0000
commit97c9585d2250d41503f4b492c6a66da80462aaad (patch)
tree99a5c06bb7f67e28d2cc13592dc47ec6df9f8d56 /xserver/hw
parent32a5d7aa281e6635f11745c7c48b6db6d0a56ac3 (diff)
change from /dev/drm to /dev/dri/ in xenocara
ok matthieu@ kettenis@
Diffstat (limited to 'xserver/hw')
-rw-r--r--xserver/hw/xfree86/drivers/modesetting/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/drivers/modesetting/driver.c b/xserver/hw/xfree86/drivers/modesetting/driver.c
index f11f44d5e..18ede07bd 100644
--- a/xserver/hw/xfree86/drivers/modesetting/driver.c
+++ b/xserver/hw/xfree86/drivers/modesetting/driver.c
@@ -226,7 +226,7 @@ open_hw(const char *dev)
else {
dev = getenv("KMSDEVICE");
if ((NULL == dev) || ((fd = priv_open_device(dev)) == -1)) {
- dev = "/dev/drm0";
+ dev = "/dev/dri/card0";
fd = priv_open_device(dev);
}
}