All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
@ 2014-12-08 21:26 Adam Cheney
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Cheney @ 2014-12-08 21:26 UTC (permalink / raw)
  To: 'dri-devel@lists.freedesktop.org'


[-- Attachment #1.1: Type: text/plain, Size: 1612 bytes --]

Update drm_mode.h defines from kernel upstream for connector and
encoder types to expose DSI and other newly defined types.

Signed-off-by: Adam Cheney <acheney@nvidia.com<mailto:acheney@nvidia.com>>
---
include/drm/drm_mode.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 76fd76b..263cf07 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
#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_ENCODER_DPMST              7

 struct drm_mode_get_encoder {
              __u32 encoder_id;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
#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

 struct drm_mode_get_connector {

--
1.9.1


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 5072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

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

* RE: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
@ 2014-12-15 22:36 Adam Cheney
  2014-12-15 22:53 ` Rob Clark
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Cheney @ 2014-12-15 22:36 UTC (permalink / raw)
  To: 'dri-devel@lists.freedesktop.org', Thierry Reding


[-- Attachment #1.1: Type: text/plain, Size: 1788 bytes --]

Ping?

From: Adam Cheney
Sent: Monday, December 08, 2014 4:26 PM
To: 'dri-devel@lists.freedesktop.org'
Subject: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

Update drm_mode.h defines from kernel upstream for connector and
encoder types to expose DSI and other newly defined types.

Signed-off-by: Adam Cheney <acheney@nvidia.com<mailto:acheney@nvidia.com>>
---
include/drm/drm_mode.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 76fd76b..263cf07 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
#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_ENCODER_DPMST              7

 struct drm_mode_get_encoder {
              __u32 encoder_id;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
#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

 struct drm_mode_get_connector {

--
1.9.1


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 6069 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

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

* Re: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
  2014-12-15 22:36 [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines Adam Cheney
@ 2014-12-15 22:53 ` Rob Clark
  2014-12-15 23:16   ` Adam Cheney
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Clark @ 2014-12-15 22:53 UTC (permalink / raw)
  To: Adam Cheney; +Cc: Thierry Reding, dri-devel@lists.freedesktop.org

oh.. heh, I suppose this was meant to be a libdrm patch..  I didn't
realize that at first glance when I saw the patch fly by

Could you please resend the patch as plain text so that it actually applies?

BR,
-R

On Mon, Dec 15, 2014 at 5:36 PM, Adam Cheney <acheney@nvidia.com> wrote:
> Ping?
>
>
>
> From: Adam Cheney
> Sent: Monday, December 08, 2014 4:26 PM
> To: 'dri-devel@lists.freedesktop.org'
> Subject: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
>
>
>
> Update drm_mode.h defines from kernel upstream for connector and
>
> encoder types to expose DSI and other newly defined types.
>
>
>
> Signed-off-by: Adam Cheney <acheney@nvidia.com>
>
> ---
>
> include/drm/drm_mode.h | 5 +++++
>
> 1 file changed, 5 insertions(+)
>
>
>
> diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
>
> index 76fd76b..263cf07 100644
>
> --- a/include/drm/drm_mode.h
>
> +++ b/include/drm/drm_mode.h
>
> @@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
>
> #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_ENCODER_DPMST              7
>
>
>
>  struct drm_mode_get_encoder {
>
>               __u32 encoder_id;
>
> @@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
>
> #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
>
>
>
>  struct drm_mode_get_connector {
>
>
>
> --
>
> 1.9.1
>
>
>
> ________________________________
> This email message is for the sole use of the intended recipient(s) and may
> contain confidential information.  Any unauthorized review, use, disclosure
> or distribution is prohibited.  If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.
> ________________________________
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* RE: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
  2014-12-15 22:53 ` Rob Clark
@ 2014-12-15 23:16   ` Adam Cheney
  2014-12-16  8:12     ` Jani Nikula
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Cheney @ 2014-12-15 23:16 UTC (permalink / raw)
  To: Rob Clark; +Cc: Thierry Reding, dri-devel@lists.freedesktop.org

Thanks Rob.

Does the patch apply now?

Update drm_mode.h defines from kernel upstream for connector and
encoder types to expose DSI and other newly defined types.

Signed-off-by: Adam Cheney <acheney@nvidia.com>
---
include/drm/drm_mode.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 76fd76b..263cf07 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
#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_ENCODER_DPMST              7

 struct drm_mode_get_encoder {
              __u32 encoder_id;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
#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

 struct drm_mode_get_connector {

-- 
1.9.1

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* RE: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines
  2014-12-15 23:16   ` Adam Cheney
@ 2014-12-16  8:12     ` Jani Nikula
  0 siblings, 0 replies; 5+ messages in thread
From: Jani Nikula @ 2014-12-16  8:12 UTC (permalink / raw)
  To: Adam Cheney, Rob Clark; +Cc: Thierry Reding, dri-devel@lists.freedesktop.org

On Tue, 16 Dec 2014, Adam Cheney <acheney@nvidia.com> wrote:
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

Can you try to get rid of this please?

Thanks,
Jani.

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2014-12-16  8:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 22:36 [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines Adam Cheney
2014-12-15 22:53 ` Rob Clark
2014-12-15 23:16   ` Adam Cheney
2014-12-16  8:12     ` Jani Nikula
  -- strict thread matches above, loose matches on Subject: below --
2014-12-08 21:26 Adam Cheney

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.