Skip to contentSkip to conversation

Add new DRM_MODE_CONNECTOR and _ENCODER defines

PATCH Adam Cheney 3 participants 4 messages Dec 15, 2014 – Dec 16, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Ping?

From: Adam Cheney
Sent: Monday, December 08, 2014 4:26 PM
To: '[email protected]'
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.

---
include/drm/drm_mode.h | 5 +++++

1 file changed, 5 insertions(+)
include/drm/drm_mode.h +0 -0
index 76fd76b..263cf07 100644
@@ -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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Quoted 87 lines · Adam Cheney

Ping?

From: Adam Cheney
Sent: Monday, December 08, 2014 4:26 PM
To: '[email protected]'
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.

---

include/drm/drm_mode.h | 5 +++++

1 file changed, 5 insertions(+)
include/drm/drm_mode.h +0 -0

index 76fd76b..263cf07 100644

--- a/include/drm/drm_mode.h

+++ b/include/drm/drm_mode.h

include/drm/drm_mode.h +5 -1
@@ -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.
________________________________

Quoted 5 lines

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

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.

---
include/drm/drm_mode.h | 5 +++++

1 file changed, 5 insertions(+)
include/drm/drm_mode.h +0 -0
index 76fd76b..263cf07 100644
@@ -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 {

Signature · 12 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
Quoted 6 lines · Adam Cheney

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

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel