Skip to contentSkip to conversation

drm/exynos: clean up description of exynos_drm_crtc

PATCH In review Inki Dae 3 participants 12 messages Apr 6, 2017 – Apr 19, 2017 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20170406012110epcas1p3b013a6c11a9df4b76070540d73355534@epcas1p3.samsung.com

Inki Dae

author maintainer
#1 lore raw

PATCH 1/1 drm/exynos: clean up description of exynos_drm_crtc

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+	      for enabling DP clock of FIMD and HDMI PHY clock.
  */
 struct exynos_drm_crtc {
 	struct drm_crtc			base;
Signature · 1 line
1.9.1
#2 lore raw

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+	      for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
 	struct drm_crtc			base;
author maintainer
#3 lore raw

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+	      for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
 	struct drm_crtc			base;
#4 lore raw

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+	      for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
 	struct drm_crtc			base;
#5 lore raw

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 73 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

Quoted 2 lines

For 'pipe_clk' I would just go with this:

Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

#6 lore raw
Quoted 74 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 73 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

Quoted 4 lines
Quoted 2 lines

For 'pipe_clk' I would just go with this:

Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

author maintainer
#7 lore raw

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 75 lines
Quoted 74 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 73 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

For 'pipe_clk' I would just go with this:

Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

Thanks,
Inki Dae

Quoted 47 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
Quoted 79 lines · Inki Dae

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 76 lines
Quoted 75 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 74 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

I'm not referring to your use of commit-id, but to you totally ignoring the documentation bits for 'struct exynos_drm_clk'. Please be more careful when reading my mails.

- Tobias

Quoted 50 lines

Thanks,
Inki Dae

Quoted 40 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

#9 lore raw

Another thing that I noticed. Why wasn't the v2 that ended up in your git ever submitted to the mailing list? Because it should have, in particular to spot these obvious errors.

- Tobias

Quoted 152 lines · Tobias Jakobi
Quoted 79 lines · Inki Dae

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 76 lines
Quoted 75 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 74 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

I'm not referring to your use of commit-id, but to you totally ignoring the documentation bits for 'struct exynos_drm_clk'. Please be more careful when reading my mails.

- Tobias

Quoted 50 lines

Thanks,
Inki Dae

Quoted 40 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

author maintainer
#10 lore raw

2017년 04월 11일 17:17에 Tobias Jakobi 이(가) 쓴 글:

Quoted 3 lines

Another thing that I noticed. Why wasn't the v2 that ended up in your git ever submitted to the mailing list? Because it should have, in particular to spot these obvious errors.

Only comment about this.

This patch cleans up description of struct exynos_drm_clk - removed unnecessary descriptions and adds one missed before. I think no problem to update the description without v2 because no code change and description enough.

If you want to update the description more then you can post it. Ps. I am not a leisurely person to respond to every little thing.

Thanks,
Inki Dae

Quoted 166 lines

- Tobias

Quoted 157 lines · Tobias Jakobi
Quoted 79 lines · Inki Dae

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 76 lines
Quoted 75 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 74 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

I'm not referring to your use of commit-id, but to you totally ignoring the documentation bits for 'struct exynos_drm_clk'. Please be more careful when reading my mails.

- Tobias

Quoted 50 lines

Thanks,
Inki Dae

Quoted 40 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#11 lore raw

Hello Inki,

Quoted 9 lines · Inki Dae

2017년 04월 11일 17:17에 Tobias Jakobi 이(가) 쓴 글:

Quoted 3 lines

Another thing that I noticed. Why wasn't the v2 that ended up in your git ever submitted to the mailing list? Because it should have, in particular to spot these obvious errors.

Only comment about this.

This patch cleans up description of struct exynos_drm_clk - removed unnecessary descriptions and adds one missed before. I think no problem to update the description without v2 because no code change and description enough.

I think you miss the point here. I checked the mail thread again and you responded with "More simple and looks better." when I suggested to put the largest part of your description in front of 'struct exynos_drm_clk'. I even went so far as to prepare the comment for you. And then you proceed by ignoring everything and merging some completly different patch. I find this disrespectful.

I'm quoting your words here (from [1]):

Quoted 1 line

I'd like to say *maintainer is really not a place for power*, and maintainer would implicitly have a role to encourage in contribution activity of contributer.

If you really mean this, you should also act accordingly. And that does not mean saying "A" to someone and then doing "B".

Quoted 2 lines

If you want to update the description more then you can post it. Ps. I am not a leisurely person to respond to every little thing.

I don't expect you to respond to every little thing. But I expect proper and honest communication. Also a response delay of four weeks is simply not acceptable. And I don't think I'm the only one on dri-devel that thinks that way.

With best wishes,
Tobias

[1] http://www.spinics.net/lists/dri-devel/msg131304.html

Quoted 170 lines

Thanks,
Inki Dae

Quoted 166 lines

- Tobias

Quoted 157 lines · Tobias Jakobi
Quoted 79 lines · Inki Dae

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 76 lines
Quoted 75 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 74 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

I'm not referring to your use of commit-id, but to you totally ignoring the documentation bits for 'struct exynos_drm_clk'. Please be more careful when reading my mails.

- Tobias

Quoted 50 lines

Thanks,
Inki Dae

Quoted 40 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

author maintainer
#12 lore raw

2017년 04월 16일 20:51에 Tobias Jakobi 이(가) 쓴 글:

Quoted 14 lines

Hello Inki,

Quoted 9 lines · Inki Dae

2017년 04월 11일 17:17에 Tobias Jakobi 이(가) 쓴 글:

Quoted 3 lines

Another thing that I noticed. Why wasn't the v2 that ended up in your git ever submitted to the mailing list? Because it should have, in particular to spot these obvious errors.

Only comment about this.

This patch cleans up description of struct exynos_drm_clk - removed unnecessary descriptions and adds one missed before. I think no problem to update the description without v2 because no code change and description enough.

Quoted 10 lines

I think you miss the point here. I checked the mail thread again and you responded with "More simple and looks better." when I suggested to put the largest part of your description in front of 'struct exynos_drm_clk'. I even went so far as to prepare the comment for you. And then you proceed by ignoring everything and merging some completly different patch. I find this disrespectful.

I'm quoting your words here (from [1]):

Quoted 1 line

I'd like to say *maintainer is really not a place for power*, and maintainer would implicitly have a role to encourage in contribution activity of contributer.

Tobias,

What you want wouldn't be always what someone wants. This patch is really a trivial thing and as I already commented I thought as-is enough. Even I already picked your suggestion up,
"For 'pipe_clk' I would just go with this:
@pipe_clk: A pointet to the crtc's pipeline clock"

Quoted 2 lines

If you really mean this, you should also act accordingly. And that does not mean saying "A" to someone and then doing "B".

And I never ignore you. Instead I commented like below for you, "If you want to update the description more then you can post it"

Thanks,
Inki Dae

Quoted 10 lines
Quoted 5 lines

If you want to update the description more then you can post it. Ps. I am not a leisurely person to respond to every little thing.

I don't expect you to respond to every little thing. But I expect proper and honest communication. Also a response delay of four weeks is simply not acceptable. And I don't think I'm the only one on dri-devel that thinks that way.

Quoted 181 lines

With best wishes,
Tobias

[1] http://www.spinics.net/lists/dri-devel/msg131304.html

Quoted 170 lines

Thanks,
Inki Dae

Quoted 166 lines

- Tobias

Quoted 157 lines · Tobias Jakobi
Quoted 79 lines · Inki Dae

2017년 04월 10일 19:29에 Tobias Jakobi 이(가) 쓴 글:

Quoted 76 lines
Quoted 75 lines · Inki Dae

2017-04-07 20:40 GMT+09:00 Tobias Jakobi <[email protected]>:

Quoted 74 lines

Hello Inki,

Quoted 48 lines · Inki Dae

Hello Tobias,

2017년 04월 07일 02:10에 Tobias Jakobi 이(가) 쓴 글:

Quoted 38 lines

Hello Inki,

Quoted 6 lines · Inki Dae

This patch removes unnecessary descriptions on exynos_drm_crtc structure and adds one description which specifies what pipe_clk member does.

pipe_clk support had been added by below patch without any description,
drm/exynos: add support for pipeline clock to the framework

I would put the commit id here. That makes it easier to look up the commit your refer to.

Quoted 11 lines
---
 drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
index 527bf1d..b0462cc 100644
@@ -152,12 +152,10 @@ struct exynos_drm_clk {
  *

drivers/gpu/drm/exynos/exynos_drm_drv.h struct exynos_drm_clk { · line 158

Quoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +2 -4
  * @base: crtc object.
  * @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
- * @enabled: if the crtc is enabled or not
- * @event: vblank event that is currently queued for flip
- * @wait_update: wait all pending planes updates to finish
- * @pending_update: number of pending plane updates in this crtc
  * @ops: pointer to callbacks for exynos drm specific functionality
  * @ctx: A pointer to the crtc's implementation specific context
+ * @pipe_clk: A pipe clock structure which includes a callback function
+         for enabling DP clock of FIMD and HDMI PHY clock.

This is wrong/inconsistent with the rest of the documentation. pipe_clk is not a struct, but a pointer.

Quoted 5 lines

I would suggest to follow. Just document that we have a pointer to <add escription> here (compare docu for 'ops' and 'ctx').
And then put the later bits ("...callback function for enabling DP clock...") directly to the definition of 'struct exynos_drm_clk' (which is currently lacking any kind of docu).

Quoted 4 lines

Thanks for pointing it out. My mistake. :)

How about this simply?
"A pointer to exynos_drm_clk structure for enabling and disabling DP clock of FIMD and HDMI PHY clocks"

Not what I meant. You're describing 'struct exynos_drm_clk', and that does not belong here. If you describe 'struct exynos_drm_clk', then this should go in front of the struct's definition.

How abouting something like this in front of the struct's definition::

Quoted 11 lines

/*
* Exynos DRM pipeline clock structure.
*
* @enable: callback to enable/disable the clock.
*
* Used for proper clock synchronization of components belonging
* to the same pipeline. Used e.g. for enabling the DP clock of
* the FIMD or the HDMI PHY clock.
*/
struct exynos_drm_clk {
<snip>

For 'pipe_clk' I would just go with this:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@pipe_clk: A pointet to the crtc's pipeline clock.

More simple and looks better.

In this form (commit a07d468cb2efd347a9e279e4f68661f0f370d10f in exynos-drm-next), the description is incomplete. Please read my mails again.

Many patches in mainline used same form. Please git log | grep "commit-id" -n10. Sorry but no update and no comment anymore but will use the generic form later.

I'm not referring to your use of commit-id, but to you totally ignoring the documentation bits for 'struct exynos_drm_clk'. Please be more careful when reading my mails.

- Tobias

Quoted 50 lines

Thanks,
Inki Dae

Quoted 40 lines

- Tobias

Quoted 26 lines

Thanks,
Inki Dae

Quoted 22 lines

I hope this helps.

- Tobias

Quoted 15 lines

Thanks,
Inki Dae

Quoted 12 lines

- Tobias

Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -0
  */
 struct exynos_drm_crtc {
    struct drm_crtc                 base;
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

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