drm: Implement drmCheckModesettingSupported() for DragonFly
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.
Signed-off-by François Tigeot <[email protected]>
--- xf86drmMode.c | 2 ++ 1 file changed, 2 insertions(+)
xf86drmMode.c +2 -0
@@ -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
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.
Signed-off-by François Tigeot <[email protected]>--- xf86drmMode.c | 2 ++ 1 file changed, 2 insertions(+)xf86drmMode.c +2
-0@@ -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