From: Lucas De Marchi Date: Fri, 13 Jan 2023 23:09:07 +0000 (-0800) Subject: drm/xe: Add documentation for mem_type X-Git-Tag: v6.8-rc1~111^2~7^2~985 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ef151d7aa0a36050fab8063ec35b2c7c0f9870c;p=thirdparty%2Flinux.git 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 --- 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; };