Commit b52817e9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Daniel Vetter

drm: drm_print.h: fix kernel-doc markups

A kernel-doc markup should start with the identifier on its
first line.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/5b76c5625709aaaa3abee98faa620b9f3d27ff85.1603791716.git.mchehab+huawei@kernel.org
parent 38a8b32f
...@@ -338,7 +338,7 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category, ...@@ -338,7 +338,7 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category,
const char *format, ...); const char *format, ...);
/** /**
* Error output. * DRM_DEV_ERROR() - Error output.
* *
* @dev: device pointer * @dev: device pointer
* @fmt: printf() like format string. * @fmt: printf() like format string.
...@@ -347,10 +347,12 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category, ...@@ -347,10 +347,12 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category,
drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__) drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__)
/** /**
* Rate limited error output. Like DRM_ERROR() but won't flood the log. * DRM_DEV_ERROR_RATELIMITED() - Rate limited error output.
* *
* @dev: device pointer * @dev: device pointer
* @fmt: printf() like format string. * @fmt: printf() like format string.
*
* Like DRM_ERROR() but won't flood the log.
*/ */
#define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \ #define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \
({ \ ({ \
...@@ -375,15 +377,27 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category, ...@@ -375,15 +377,27 @@ void drm_dev_dbg(const struct device *dev, enum drm_debug_category category,
}) })
/** /**
* Debug output. * DRM_DEV_DEBUG() - Debug output for generic drm code
* *
* @dev: device pointer * @dev: device pointer
* @fmt: printf() like format string. * @fmt: printf() like format string.
*/ */
#define DRM_DEV_DEBUG(dev, fmt, ...) \ #define DRM_DEV_DEBUG(dev, fmt, ...) \
drm_dev_dbg(dev, DRM_UT_CORE, fmt, ##__VA_ARGS__) drm_dev_dbg(dev, DRM_UT_CORE, fmt, ##__VA_ARGS__)
/**
* DRM_DEV_DEBUG_DRIVER() - Debug output for vendor specific part of the driver
*
* @dev: device pointer
* @fmt: printf() like format string.
*/
#define DRM_DEV_DEBUG_DRIVER(dev, fmt, ...) \ #define DRM_DEV_DEBUG_DRIVER(dev, fmt, ...) \
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__) drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
/**
* DRM_DEV_DEBUG_KMS() - Debug output for modesetting code
*
* @dev: device pointer
* @fmt: printf() like format string.
*/
#define DRM_DEV_DEBUG_KMS(dev, fmt, ...) \ #define DRM_DEV_DEBUG_KMS(dev, fmt, ...) \
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__) drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment