drm: adding SDI to drm_connector_enum_list
Subsystems (2)
PATCH 1/1 drm: adding SDI to drm_connector_enum_list
adding SDI to drm connector list
--- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/drm_connector.c +1 -0
@@ -86,6 +86,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = { { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, { DRM_MODE_CONNECTOR_DSI, "DSI" }, { DRM_MODE_CONNECTOR_DPI, "DPI" }, + { DRM_MODE_CONNECTOR_SDI, "SDI" }, };void drm_connector_ida_init (void )
include/uapi/drm/drm_mode.h +1 -0
@@ -247,6 +247,7 @@ struct drm_mode_get_encoder {#define DRM_MODE_CONNECTOR_VIRTUAL 15#define DRM_MODE_CONNECTOR_DSI 16#define DRM_MODE_CONNECTOR_DPI 17 +#define DRM_MODE_CONNECTOR_SDI 18struct drm_mode_get_connector {
Signature · 1 line
2.7.4
Quoted 3 lines · Saurabh Sengar
adding SDI to drm connector list
Signed-off-by Saurabh Sengar <[email protected]>
This is an uapi change, i.e. userspace needs to be updated. Do you _really_ need this? I'd recommend to just use something existing (go with VIRTUAL maybe, not sure).
Either way, needs to come together with the actual users and userspace side patches. If you really want this.
-Daniel
Quoted 36 lines
--- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+)drivers/gpu/drm/drm_connector.c +1
-0@@ -86,6 +86,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = { { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, { DRM_MODE_CONNECTOR_DSI, "DSI" }, { DRM_MODE_CONNECTOR_DPI, "DPI" }, + { DRM_MODE_CONNECTOR_SDI, "SDI" }, };void drm_connector_ida_init (void )include/uapi/drm/drm_mode.h +1
-0@@ -247,6 +247,7 @@ struct drm_mode_get_encoder {#define DRM_MODE_CONNECTOR_VIRTUAL 15#define DRM_MODE_CONNECTOR_DSI 16#define DRM_MODE_CONNECTOR_DPI 17 +#define DRM_MODE_CONNECTOR_SDI 18struct drm_mode_get_connector {Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Hi Daniel,
Thanks for your reply.
Currently I am using connector type 'Unknown' , and functionally it serves my need. Intention for sending this patch is that userspace tools should recognize SDI drivers as SDI only. Also, I see there are number of 'SDI' drivers getting developed 'under the hood' in linux kernel. This patch will benefit all of them.
It will be great if you could consider it.
Regards,
Saurabh
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Wednesday, July 26, 2017 8:08 PM
To: Saurabh Singh <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Saurabh Singh <[email protected]>; Dinesh Kumar <[email protected]>
Subject: Re: [PATCH] drm: adding SDI to drm_connector_enum_list
Quoted 3 lines · Saurabh Sengar
adding SDI to drm connector list
Signed-off-by Saurabh Sengar <[email protected]>
This is an uapi change, i.e. userspace needs to be updated. Do you _really_ need this? I'd recommend to just use something existing (go with VIRTUAL maybe, not sure).
Either way, needs to come together with the actual users and userspace side patches. If you really want this. -Daniel
Quoted 32 lines
--- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+)(quoted diff) +0
-0
b/drivers/gpu/drm/drm_connector.cindex 2db7fb5..ea48ddb 100644drivers/gpu/drm/drm_connector.c +1
-0@@ -86,6 +86,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = { { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, { DRM_MODE_CONNECTOR_DSI, "DSI" }, { DRM_MODE_CONNECTOR_DPI, "DPI" }, + { DRM_MODE_CONNECTOR_SDI, "SDI" }, };void drm_connector_ida_init (void )include/uapi/drm/drm_mode.h +1
-1@@ -247,6 +247,7 @@ struct drm_mode_get_encoder {#define DRM_MODE_CONNECTOR_VIRTUAL 15#define DRM_MODE_CONNECTOR_DSI 16#define DRM_MODE_CONNECTOR_DPI 17 +#define DRM_MODE_CONNECTOR_SDI 18struct drm_mode_get_connector { --2.7.4
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Quoted 7 lines · Saurabh Singh
Hi Daniel,
Thanks for your reply.
Currently I am using connector type 'Unknown' , and functionally it serves my need. Intention for sending this patch is that userspace tools should recognize SDI drivers as SDI only. Also, I see there are number of 'SDI' drivers getting developed 'under the hood' in linux kernel. This patch will benefit all of them.
Where are those?
Quoted 1 line
It will be great if you could consider it.
Well new uabi has very strict merge requirements:
https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements
I'll merge your patch as soon as all the pieces are ready. Just wanted to warn you that this is a _lot_ of work, and you probably want a really good reason.
Thanks, Daniel
Quoted 65 lines
Regards,
Saurabh-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Wednesday, July 26, 2017 8:08 PM
To: Saurabh Singh <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Saurabh Singh <[email protected]>; Dinesh Kumar <[email protected]>
Subject: Re: [PATCH] drm: adding SDI todrm_connector_enum_listQuoted 3 lines · Saurabh Sengar
adding SDI to drm connector list
Signed-off-by Saurabh Sengar <[email protected]>This is an uapi change, i.e. userspace needs to be updated. Do you _really_ need this? I'd recommend to just use something existing (go with VIRTUAL maybe, not sure).
Either way, needs to come together with the actual users and userspace side patches. If you really want this. -Daniel
Quoted 32 lines
--- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2 files changed, 2 insertions(+)(quoted diff) +0
-0
b/drivers/gpu/drm/drm_connector.cindex 2db7fb5..ea48ddb 100644drivers/gpu/drm/drm_connector.c +1
-0@@ -86,6 +86,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = { { DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" }, { DRM_MODE_CONNECTOR_DSI, "DSI" }, { DRM_MODE_CONNECTOR_DPI, "DPI" }, + { DRM_MODE_CONNECTOR_SDI, "SDI" }, };void drm_connector_ida_init (void )include/uapi/drm/drm_mode.h +1
-1@@ -247,6 +247,7 @@ struct drm_mode_get_encoder {#define DRM_MODE_CONNECTOR_VIRTUAL 15#define DRM_MODE_CONNECTOR_DSI 16#define DRM_MODE_CONNECTOR_DPI 17 +#define DRM_MODE_CONNECTOR_SDI 18struct drm_mode_get_connector { --2.7.4
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.chThis email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel