drm: fix doc warnings related to drm connector
Subsystems (2)
PATCH 1/1 drm: fix doc warnings related to drm connector
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)
drivers/gpu/drm/drm_connector.c +2 -0
@@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector,/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * HDMI connectors.
@@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);/** * drm_mode_create_dp_colorspace_property - create dp colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors.
include/drm/drm_connector.h +2 -0
@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */
Signature · 1 line
2.34.1
Quoted 2 lines · Bragatheswaran Manickavel
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
Quoted 32 lines
Signed-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)drivers/gpu/drm/drm_connector.c +2
-0@@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector,/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * HDMI connectors. @@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);/** * drm_mode_create_dp_colorspace_property - create dp colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. include/drm/drm_connector.h +0
-0
include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */
Oh, you mean to add description for colorspace-related fields.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 6 lines · Bagas Sanjaya
Quoted 2 lines · Bragatheswaran Manickavel
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
There are already patches for these issues.
Please check latest linux-next and make patches to it instead of using mainline.
Thanks.
Quoted 46 lines
Quoted 32 lines
Signed-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)drivers/gpu/drm/drm_connector.c +2
-0@@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector,/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * HDMI connectors. @@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);/** * drm_mode_create_dp_colorspace_property - create dp colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. include/drm/drm_connector.h +0
-0include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */ Oh, you mean to add description for colorspace-related fields.
Thanks.
Signature · 1 line
~Randy
Quoted 3 lines · Randy Dunlap
Quoted 1 line · Bagas Sanjaya
On Sat, Sep 09, 2023 at 04:33:43PM +0530, Bragatheswaran Manickavel
Quoted 9 lines · wrote:
Quoted 5 lines
Quoted 2 lines
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
There are already patches for these issues.
Please check latest linux-next and make patches to it instead of using
mainline.
Quoted 2 lines
Thanks.
Just had a look at the latest next-20230908. Changes of include/drm/drm_connector.h are
not present.
Thanks,
Quoted 11 lines
Quoted 11 lines
Review
Quoted 11 lines
Signed-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)(quoted diff) +0
-0
b/drivers/gpu/drm/drm_connector.c
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int
Quoted 4 lines
index
bf8371dc2a61..084c95785dda100644drivers/gpu/drm/drm_connector.c +0
-0@@ -2203,6 +2203,7 @@ static int
drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c static int · line 2204
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0* HDMI connectors. @@ -2227,6 +2228,7 @@
EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c line 2229
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_dp_colorspace_property - create dp colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 17 lines
Quoted 17 lines
Quoted 6 lines
drivers/gpu/drm/drm_connector.c +0
-0* DP connectors. include/drm/drm_connector.h +0
-0include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */ Oh, you mean to add description for colorspace-related fields.
Quoted 5 lines
Quoted 3 lines
Thanks.
--
~Randy
Quoted 3 lines · Randy Dunlap
Quoted 1 line · Bagas Sanjaya
On Sat, Sep 09, 2023 at 04:33:43PM +0530, Bragatheswaran Manickavel
Quoted 9 lines · wrote:
Quoted 5 lines
Quoted 2 lines
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
There are already patches for these issues.
Please check latest linux-next and make patches to it instead of using
mainline.
Quoted 2 lines
Thanks.
Just had a look at the latest next-20230908. Changes of include/drm/drm_connector.h are
not present.
Thanks,
Quoted 9 lines
Quoted 9 lines
Review
Quoted 9 lines
Signed-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)(quoted diff) +0
-0
b/drivers/gpu/drm/drm_connector.c
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int
Quoted 4 lines
index
bf8371dc2a61..084c95785dda100644drivers/gpu/drm/drm_connector.c +0
-0@@ -2203,6 +2203,7 @@ static int
drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c static int · line 2204
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0* HDMI connectors. @@ -2227,6 +2228,7 @@
EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c line 2229
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_dp_colorspace_property - create dp colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 17 lines
Quoted 17 lines
Quoted 6 lines
drivers/gpu/drm/drm_connector.c +0
-0* DP connectors. include/drm/drm_connector.h +0
-0include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */ Oh, you mean to add description for colorspace-related fields.
Quoted 4 lines
Quoted 3 lines
Thanks.
--
Quoted 2 lines · Randy Dunlap
Quoted 1 line · Bagas Sanjaya
On Sat, Sep 09, 2023 at 04:33:43PM +0530, Bragatheswaran Manickavel
Quoted 9 lines · wrote:
Quoted 5 lines
Quoted 2 lines
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
There are already patches for these issues.
Please check latest linux-next and make patches to it instead of using
mainline.
Quoted 2 lines
Thanks.
Just had a look at the latest next-20230908. Changes of include/drm/drm_connector.h are
not present.
thanks,
Quoted 9 lines
Quoted 9 lines
Review
Quoted 9 lines
Signed-off-by Bragatheswaran Manickavel <[email protected]>--- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+)(quoted diff) +0
-0
b/drivers/gpu/drm/drm_connector.c
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int
Quoted 4 lines
index
bf8371dc2a61..084c95785dda100644drivers/gpu/drm/drm_connector.c +0
-0@@ -2203,6 +2203,7 @@ static int
drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c static int · line 2204
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c static int drm_mode_create_colorspace_property(struct drm_connector *connector,
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0* HDMI connectors. @@ -2227,6 +2228,7 @@
EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_connector.c line 2229
Quoted 2 lines
drivers/gpu/drm/drm_connector.c +0
-0/** * drm_mode_create_dp_colorspace_property - create dp colorspace
property
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/drm_connector.c EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
Quoted 4 lines
drivers/gpu/drm/drm_connector.c +1
-0* @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to
desired
Quoted 17 lines
Quoted 17 lines
Quoted 6 lines
drivers/gpu/drm/drm_connector.c +0
-0* DP connectors. include/drm/drm_connector.h +0
-0include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace {/* For Default case, driver will set the colorspace */ Oh, you mean to add description for colorspace-related fields.
Quoted 1 line
Quoted 1 line
Thanks.
--
Quoted 9 lines · Bragatheswaran Manickavel
Quoted 9 lines · On Sun, 10 Sept 2023 at 09:29, Randy Dunlap <[email protected]…
Quoted 6 lines · Bagas Sanjaya
Quoted 2 lines · Bragatheswaran Manickavel
Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values.
What are these?
Quoted 8 lines
Quoted 5 lines
There are already patches for these issues.
Please check latest linux-next and make patches to it instead of using mainline.
Thanks.
Just had a look at the latest next-20230908. Changes of
include/drm/drm_connector.hare not present.
That's correct. The patch for that was sent on Sept. 6 and applied to a drm git tree on Sept. 7.
It's here: https://lore.kernel.org/all/[email protected]/
Quoted 49 lines
Quoted 43 lines
Quoted 43 lines
Quoted 32 lines
Signed-off-by Bragatheswaran Manickavel <[email protected] <mailto:[email protected]>>---
drivers/gpu/drm/drm_connector.c | 2 ++
include/drm/drm_connector.h | 2 ++2 files changed, 4 insertions(+)drivers/gpu/drm/drm_connector.c +2
-0@@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector, /*** drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get hdmi supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * HDMI connectors. @@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property); /*** drm_mode_create_dp_colorspace_property - create dp colorspace property * @connector: connector to create the Colorspace property on. +* @supported_colorspaces: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. include/drm/drm_connector.h +0
-0include/drm/drm_connector.h enum drm_privacy_screen_status { · line 505
Quoted 8 lines
include/drm/drm_connector.h +2
-0@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {* ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. +* @DRM_MODE_COLORIMETRY_COUNT: +* Represents the count of colorspaces. */ enum drm_colorspace { /* For Default case, driver will set the colorspace */Oh, you mean to add description for colorspace-related fields.
Quoted 5 lines
Quoted 3 lines
Thanks.
--
~Randy
Signature · 1 line
~Randy