summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Tigeot <ftigeot@wolfpond.org>2014-07-26 13:39:58 +0200
committerMaarten Lankhorst <dev@mblankhorst.nl>2014-08-14 21:56:46 +0200
commitedbb4e545f75c08d9d178173bdcdc87ffc88dcd4 (patch)
treecd4b937e0854596495e01d6be71abd21ce226f4b
parent07fead4462b2d537d0c3cae69a09272fc426c598 (diff)
drm: Implement drmCheckModesettingSupported() for DragonFly
For the sake of simplicity, KMS support can always be considered present on DragonFly. If some particular version doesn't support KMS yet, appropriate checks are already done in Dports's x11-drivers/ Makefiles and KMS-enabled driver packages don't get built. Signed-off-by: François Tigeot <ftigeot@wolfpond.org> Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl>
-rw-r--r--xf86drmMode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index 7ca89b37..60ce3699 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
return -EINVAL;
return (modesetting ? 0 : -ENOSYS);
}
+#elif defined(__DragonFly__)
+ return 0;
#endif
return -ENOSYS;