[PATCH libdrm] drm: Implement drmCheckModesettingSupported() for DragonFly

François Tigeot ftigeot at wolfpond.org
Sat Jul 26 04:39:58 PDT 2014


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 at wolfpond.org>
---
 xf86drmMode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xf86drmMode.c b/xf86drmMode.c
index 7ca89b3..60ce369 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;
 
-- 
2.0.0



More information about the dri-devel mailing list