Skip to contentSkip to conversation

drm: Add description for scdc variable

PATCH Superseded Shashank Sharma 2 participants 5 messages Mar 25, 2017 – Mar 28, 2017

Subsystems (2)

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm: Add description for scdc variable

This patch adds description about 'scdc' variable in drm_hdmi_info structure, to fix this warning during doc-build.

"drm_connector.h:140: warning: No description found for parameter 'scdc'"

V2: Rebase

---
 include/drm/drm_connector.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_connector.h +2 -0
index f8b766d..9fba967 100644
@@ -133,6 +133,8 @@ struct drm_scdc {
  * This information is available in CEA-861-F extension blocks (like HF-VSDB).
  */
 struct drm_hdmi_info {
+
+	/* @scdc: sink's scdc support and capabilities */
 	struct drm_scdc scdc;
 };
 
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 9 lines · Shashank Sharma

This patch adds description about 'scdc' variable in drm_hdmi_info structure, to fix this warning during doc-build.

"drm_connector.h:140: warning: No description found for parameter 'scdc'"

V2: Rebase

Since you're bikeshedding this to v4 already, might as well jump in too :-)

include/drm/drm_connector.h struct drm_scdc { · line 136

Quoted 13 lines
---
 include/drm/drm_connector.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_connector.h +1 -0
index f8b766d..9fba967 100644
@@ -133,6 +133,8 @@ struct drm_scdc {
  * This information is available in CEA-861-F extension blocks (like HF-VSDB).
  */
 struct drm_hdmi_info {
+

Please no empty line here.

include/drm/drm_connector.h struct drm_scdc { · line 137

Quoted 1 line
include/drm/drm_connector.h +1 -0
+	/* @scdc: sink's scdc support and capabilities */

One-line struct member kerneldoc works, but you need to prefix it with /** like any other kernel-doc comment. See

https://dri.freedesktop.org/docs/drm/doc-guide/kernel-doc.html#in-line-member-documentation-comments

Cheers, Daniel

Quoted 6 lines
include/drm/drm_connector.h +0 -0
 	struct drm_scdc scdc;
 };
 
Signature · 1 line
2.7.4
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
#2 lore raw

Thanks, V5 will do the trick for sure :-)

Regards
Shashank
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Saturday, March 25, 2017 11:30 PM
To: Sharma, Shashank <[email protected]>
Cc: [email protected]; Daniel Vetter <[email protected]>
Subject: Re: [PATCH v2] drm: Add description for scdc variable

Quoted 9 lines · Shashank Sharma

This patch adds description about 'scdc' variable in drm_hdmi_info structure, to fix this warning during doc-build.

"drm_connector.h:140: warning: No description found for parameter 'scdc'"

V2: Rebase

Since you're bikeshedding this to v4 already, might as well jump in too :-)

include/drm/drm_connector.h struct drm_scdc { · line 136

Quoted 13 lines
---
 include/drm/drm_connector.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_connector.h +1 -0
index f8b766d..9fba967 100644
@@ -133,6 +133,8 @@ struct drm_scdc {
  * This information is available in CEA-861-F extension blocks (like HF-VSDB).
  */
 struct drm_hdmi_info {
+

Please no empty line here.

include/drm/drm_connector.h struct drm_scdc { · line 137

Quoted 1 line
include/drm/drm_connector.h +1 -0
+	/* @scdc: sink's scdc support and capabilities */

One-line struct member kerneldoc works, but you need to prefix it with /** like any other kernel-doc comment. See

https://dri.freedesktop.org/docs/drm/doc-guide/kernel-doc.html#in-line-member-documentation-comments

Cheers, Daniel

Quoted 6 lines
include/drm/drm_connector.h +0 -1
 	struct drm_scdc scdc;
 };
 
--

2.7.4

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
#3 lore raw
Quoted 1 line · Shashank

Thanks, V5 will do the trick for sure :-)

Hm, where is v5?
-Daniel

Quoted 58 lines

Regards
Shashank
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Saturday, March 25, 2017 11:30 PM
To: Sharma, Shashank <[email protected]>
Cc: [email protected]; Daniel Vetter <[email protected]>
Subject: Re: [PATCH v2] drm: Add description for scdc variable

Quoted 9 lines · Shashank Sharma

This patch adds description about 'scdc' variable in drm_hdmi_info structure, to fix this warning during doc-build.

"drm_connector.h:140: warning: No description found for parameter 'scdc'"

V2: Rebase

Since you're bikeshedding this to v4 already, might as well jump in too :-)

include/drm/drm_connector.h struct drm_scdc { · line 136

Quoted 13 lines
---
 include/drm/drm_connector.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_connector.h +1 -0
index f8b766d..9fba967 100644
@@ -133,6 +133,8 @@ struct drm_scdc {
  * This information is available in CEA-861-F extension blocks (like HF-VSDB).
  */
 struct drm_hdmi_info {
+

Please no empty line here.

include/drm/drm_connector.h struct drm_scdc { · line 137

Quoted 1 line
include/drm/drm_connector.h +1 -0
+	/* @scdc: sink's scdc support and capabilities */

One-line struct member kerneldoc works, but you need to prefix it with /** like any other kernel-doc comment. See

https://dri.freedesktop.org/docs/drm/doc-guide/kernel-doc.html#in-line-member-documentation-comments

Cheers, Daniel

Quoted 6 lines
include/drm/drm_connector.h +0 -1
 	struct drm_scdc scdc;
 };
 
--

2.7.4

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
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
#4 lore raw

Here you go, https://patchwork.freedesktop.org/patch/146746/
Had to remove extra line in start, from V4.
Confirmed with a make DOCBOOKS="" htmldocs, no more error for scdc.

Regards
Shashank
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Tuesday, March 28, 2017 9:09 AM
To: Sharma, Shashank <[email protected]>
Cc: Daniel Vetter <[email protected]>; [email protected]
Subject: Re: [PATCH v2] drm: Add description for scdc variable

Quoted 1 line · Shashank

Thanks, V5 will do the trick for sure :-)

Hm, where is v5?
-Daniel

Quoted 54 lines

Regards
Shashank
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]] On Behalf Of Daniel Vetter
Sent: Saturday, March 25, 2017 11:30 PM
To: Sharma, Shashank <[email protected]>
Cc: [email protected]; Daniel Vetter <[email protected]>
Subject: Re: [PATCH v2] drm: Add description for scdc variable

Quoted 9 lines · Shashank Sharma

This patch adds description about 'scdc' variable in drm_hdmi_info structure, to fix this warning during doc-build.

"drm_connector.h:140: warning: No description found for parameter 'scdc'"

V2: Rebase

Since you're bikeshedding this to v4 already, might as well jump in too
:-)

include/drm/drm_connector.h struct drm_scdc { · line 136

Quoted 13 lines
---
 include/drm/drm_connector.h | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/include/drm/drm_connector.h index f8b766d..9fba967 100644

include/drm/drm_connector.h +1 -0
@@ -133,6 +133,8 @@ struct drm_scdc {
  * This information is available in CEA-861-F extension blocks (like HF-VSDB).
  */
 struct drm_hdmi_info {
+

Please no empty line here.

include/drm/drm_connector.h struct drm_scdc { · line 137

Quoted 1 line
include/drm/drm_connector.h +1 -0
+	/* @scdc: sink's scdc support and capabilities */

One-line struct member kerneldoc works, but you need to prefix it with /** like any other kernel-doc comment. See

https://dri.freedesktop.org/docs/drm/doc-guide/kernel-doc.html#in-line
-member-documentation-comments

Cheers, Daniel

Quoted 3 lines
include/drm/drm_connector.h +0 -0
 	struct drm_scdc scdc;
 };
 
Quoted 8 lines
Quoted 3 lines

--
2.7.4

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel