From 1ef151d7aa0a36050fab8063ec35b2c7c0f9870c Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 13 Jan 2023 15:09:07 -0800 Subject: [PATCH] drm/xe: Add documentation for mem_type mem_type field was added in commit d8b52a02cb40 ("drm/xe: Implement stolen memory.") to designate the TTM memory type for that mgr. Add kernel-doc with its description. Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h index cf02c62ff427f..39aa2ec1b9680 100644 --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h @@ -27,7 +27,7 @@ struct xe_ttm_vram_mgr { u64 default_page_size; /** @lock: protects allocations of VRAM */ struct mutex lock; - + /** @mem_type: The TTM memory type */ u32 mem_type; }; -- 2.30.2