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

Francois Tigeot ftigeot at wolfpond.org
Wed Aug 6 10:21:23 PDT 2014


On Sat, Jul 26, 2014 at 01:39:58PM +0200, François Tigeot wrote:
> 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

Anyone willing to push this commit ?

-- 
Francois Tigeot


More information about the dri-devel mailing list