[PATCH] drm/xe/oa: Fix 'enum drm_xe_perf_type' kernel doc warnings

Ashutosh Dixit ashutosh.dixit at intel.com
Fri Jun 21 19:09:03 UTC 2024


Include kernel doc's for 'enum drm_xe_perf_type' to fix kernel doc
warnings.

Reported-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
 include/uapi/drm/xe_drm.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 93e00be44b2d..d831f277f186 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1379,8 +1379,11 @@ struct drm_xe_wait_user_fence {
  * enum drm_xe_perf_type - Perf stream types
  */
 enum drm_xe_perf_type {
+	/** @DRM_XE_PERF_TYPE_OA: OA perf stream type */
 	DRM_XE_PERF_TYPE_OA,
-	__DRM_XE_PERF_TYPE_MAX, /* non-ABI */
+
+	/** @__DRM_XE_PERF_TYPE_MAX: Non-ABI */
+	__DRM_XE_PERF_TYPE_MAX,
 };
 
 /**
-- 
2.41.0



More information about the Intel-xe mailing list