Skip to content

Commit 9eeba91

Browse files
javiercarrascocruzmripard
authored andcommitted
drm/connector: document DRM_MODE_COLORIMETRY_COUNT
The drm_colorspace enum member DRM_MODE_COLORIMETRY_COUNT has been properly documented by moving the description out of the enum to the member description list to get rid of an additional warning and improve documentation clarity. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230906-topic-drm_connector_doc-v2-1-1f2dcaa43269@gmail.com
1 parent 481fc9e commit 9eeba91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/drm/drm_connector.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@ enum drm_privacy_screen_status {
498498
* ITU-R BT.601 colorimetry format
499499
* The DP spec does not say whether this is the 525 or the 625
500500
* line version.
501+
* @DRM_MODE_COLORIMETRY_COUNT:
502+
* Not a valid value; merely used four counting
501503
*/
502504
enum drm_colorspace {
503505
/* For Default case, driver will set the colorspace */
@@ -522,7 +524,6 @@ enum drm_colorspace {
522524
DRM_MODE_COLORIMETRY_RGB_WIDE_FIXED = 13,
523525
DRM_MODE_COLORIMETRY_RGB_WIDE_FLOAT = 14,
524526
DRM_MODE_COLORIMETRY_BT601_YCC = 15,
525-
/* not a valid value; merely used for counting */
526527
DRM_MODE_COLORIMETRY_COUNT
527528
};
528529

0 commit comments

Comments
 (0)