All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] drm: Implement drmCheckModesettingSupported() for DragonFly
@ 2014-07-26 11:39 François Tigeot
  2014-08-06 17:21 ` Francois Tigeot
  0 siblings, 1 reply; 2+ messages in thread
From: François Tigeot @ 2014-07-26 11:39 UTC (permalink / raw)
  To: dri-devel; +Cc: 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 <ftigeot@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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH libdrm] drm: Implement drmCheckModesettingSupported() for DragonFly
  2014-07-26 11:39 [PATCH libdrm] drm: Implement drmCheckModesettingSupported() for DragonFly François Tigeot
@ 2014-08-06 17:21 ` Francois Tigeot
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Tigeot @ 2014-08-06 17:21 UTC (permalink / raw)
  To: François Tigeot; +Cc: dri-devel

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-06 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-26 11:39 [PATCH libdrm] drm: Implement drmCheckModesettingSupported() for DragonFly François Tigeot
2014-08-06 17:21 ` Francois Tigeot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.