drm/xe: Add documentation for mem_type

mem_type field was added in commit d8b52a02cb ("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>
This commit is contained in:
Lucas De Marchi
2023-01-13 15:09:07 -08:00
committed by Rodrigo Vivi
parent 2c3878820b
commit 1ef151d7aa

View 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;
};