drm/xe: Add documentation for mem_type
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 13 Jan 2023 23:09:07 +0000 (15:09 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:26:53 +0000 (18:26 -0500)
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 <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h

index cf02c62ff427f03830d855edce84a863b2d9aa5c..39aa2ec1b96800984c20cdd0d348980cd6877c0a 100644 (file)
@@ -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;
 };