Skip to contentSkip to conversation

drm: Implement drmCheckModesettingSupported() for DragonFly

PATCH In review François Tigeot 1 participant 2 messages Jul 26, 2014 – Aug 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 xf86drmMode.c | 2 ++
 1 file changed, 2 insertions(+)
xf86drmMode.c +2 -0
index 7ca89b3..60ce369 100644
@@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
 			return -EINVAL;
 		return (modesetting ? 0 : -ENOSYS);
 	}
+#elif defined(__DragonFly__)
+	return 0;
 #endif
 	return -ENOSYS;
 
Signature · 6 lines
2.0.0

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 27 lines · François Tigeot

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.

---
 xf86drmMode.c | 2 ++
 1 file changed, 2 insertions(+)
xf86drmMode.c +2 -0
index 7ca89b3..60ce369 100644
@@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
 			return -EINVAL;
 		return (modesetting ? 0 : -ENOSYS);
 	}
+#elif defined(__DragonFly__)
+	return 0;
 #endif
 	return -ENOSYS;
 
Signature · 1 line
2.0.0

Anyone willing to push this commit ?

Signature · 1 line
Francois Tigeot