All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libdrm/mode: Update the encoder and connector defines
@ 2013-11-19  6:52 Thomas Hellstrom
  2013-11-19 13:34 ` Alex Deucher
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Hellstrom @ 2013-11-19  6:52 UTC (permalink / raw)
  To: jakob, dri-devel; +Cc: Thomas Hellstrom, linux-graphics-maintainer

Update the defines to match the kernel drm_mode.h

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
---
 xf86drmMode.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/xf86drmMode.h b/xf86drmMode.h
index 7fc52b6..9bcb1d1 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -128,6 +128,8 @@ extern "C" {
 #define DRM_MODE_ENCODER_TMDS   2
 #define DRM_MODE_ENCODER_LVDS   3
 #define DRM_MODE_ENCODER_TVDAC  4
+#define DRM_MODE_ENCODER_VIRTUAL 5
+#define DRM_MODE_ENCODER_DSI	6
 
 #define DRM_MODE_SUBCONNECTOR_Automatic 0
 #define DRM_MODE_SUBCONNECTOR_Unknown   0
@@ -136,6 +138,7 @@ extern "C" {
 #define DRM_MODE_SUBCONNECTOR_Composite 5
 #define DRM_MODE_SUBCONNECTOR_SVIDEO    6
 #define DRM_MODE_SUBCONNECTOR_Component 8
+#define DRM_MODE_SUBCONNECTOR_SCART     9
 
 #define DRM_MODE_CONNECTOR_Unknown      0
 #define DRM_MODE_CONNECTOR_VGA          1
@@ -152,6 +155,8 @@ extern "C" {
 #define DRM_MODE_CONNECTOR_HDMIB        12
 #define DRM_MODE_CONNECTOR_TV		13
 #define DRM_MODE_CONNECTOR_eDP		14
+#define DRM_MODE_CONNECTOR_VIRTUAL      15
+#define DRM_MODE_CONNECTOR_DSI          16
 
 #define DRM_MODE_PROP_PENDING   (1<<0)
 #define DRM_MODE_PROP_RANGE     (1<<1)
-- 
1.7.11.7

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

* Re: [PATCH] libdrm/mode: Update the encoder and connector defines
  2013-11-19  6:52 [PATCH] libdrm/mode: Update the encoder and connector defines Thomas Hellstrom
@ 2013-11-19 13:34 ` Alex Deucher
  2013-11-19 17:18   ` Thomas Hellstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2013-11-19 13:34 UTC (permalink / raw)
  To: Thomas Hellstrom; +Cc: linux-graphics-maintainer, Maling list - DRI developers

On Tue, Nov 19, 2013 at 1:52 AM, Thomas Hellstrom <thellstrom@vmware.com> wrote:
> Update the defines to match the kernel drm_mode.h
>
> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  xf86drmMode.h | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/xf86drmMode.h b/xf86drmMode.h
> index 7fc52b6..9bcb1d1 100644
> --- a/xf86drmMode.h
> +++ b/xf86drmMode.h
> @@ -128,6 +128,8 @@ extern "C" {
>  #define DRM_MODE_ENCODER_TMDS   2
>  #define DRM_MODE_ENCODER_LVDS   3
>  #define DRM_MODE_ENCODER_TVDAC  4
> +#define DRM_MODE_ENCODER_VIRTUAL 5
> +#define DRM_MODE_ENCODER_DSI   6
>
>  #define DRM_MODE_SUBCONNECTOR_Automatic 0
>  #define DRM_MODE_SUBCONNECTOR_Unknown   0
> @@ -136,6 +138,7 @@ extern "C" {
>  #define DRM_MODE_SUBCONNECTOR_Composite 5
>  #define DRM_MODE_SUBCONNECTOR_SVIDEO    6
>  #define DRM_MODE_SUBCONNECTOR_Component 8
> +#define DRM_MODE_SUBCONNECTOR_SCART     9
>
>  #define DRM_MODE_CONNECTOR_Unknown      0
>  #define DRM_MODE_CONNECTOR_VGA          1
> @@ -152,6 +155,8 @@ extern "C" {
>  #define DRM_MODE_CONNECTOR_HDMIB        12
>  #define DRM_MODE_CONNECTOR_TV          13
>  #define DRM_MODE_CONNECTOR_eDP         14
> +#define DRM_MODE_CONNECTOR_VIRTUAL      15
> +#define DRM_MODE_CONNECTOR_DSI          16
>
>  #define DRM_MODE_PROP_PENDING   (1<<0)
>  #define DRM_MODE_PROP_RANGE     (1<<1)
> --
> 1.7.11.7
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH] libdrm/mode: Update the encoder and connector defines
  2013-11-19 13:34 ` Alex Deucher
@ 2013-11-19 17:18   ` Thomas Hellstrom
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Hellstrom @ 2013-11-19 17:18 UTC (permalink / raw)
  To: Alex Deucher; +Cc: linux-graphics-maintainer, Maling list - DRI developers

On 11/19/2013 02:34 PM, Alex Deucher wrote:
> On Tue, Nov 19, 2013 at 1:52 AM, Thomas Hellstrom <thellstrom@vmware.com> wrote:
>> Update the defines to match the kernel drm_mode.h
>>
>> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
>
>
Thanks for reviewing. Pushed.

/Thomas

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

end of thread, other threads:[~2013-11-19 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19  6:52 [PATCH] libdrm/mode: Update the encoder and connector defines Thomas Hellstrom
2013-11-19 13:34 ` Alex Deucher
2013-11-19 17:18   ` Thomas Hellstrom

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.