From: François Tigeot Date: Sat, 26 Jul 2014 11:39:58 +0000 (+0200) Subject: drm: Implement drmCheckModesettingSupported() for DragonFly X-Git-Tag: 2.4.57~43 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibdrm.git;a=commitdiff_plain;h=edbb4e545f75c08d9d178173bdcdc87ffc88dcd4 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 Signed-off-by: Maarten Lankhorst --- 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;