OSDN Git Service

drm/ttm: enable TTM placement kerneldoc
authorChristian König <christian.koenig@amd.com>
Fri, 3 Sep 2021 12:14:41 +0000 (14:14 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 9 Sep 2021 11:29:05 +0000 (13:29 +0200)
Fix the last remaining warning and finally enable this.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-7-christian.koenig@amd.com
Documentation/gpu/drm-mm.rst
include/drm/ttm/ttm_placement.h

index 66d24b7..1c9930f 100644 (file)
@@ -43,6 +43,12 @@ TTM device object reference
 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_device.c
    :export:
 
+TTM resource placement reference
+--------------------------------
+
+.. kernel-doc:: include/drm/ttm/ttm_placement.h
+   :internal:
+
 TTM resource object reference
 -----------------------------
 
index 8995c9e..76d1b91 100644 (file)
@@ -58,6 +58,7 @@
  *
  * @fpfn:      first valid page frame number to put the object
  * @lpfn:      last valid page frame number to put the object
+ * @mem_type:  One of TTM_PL_* where the resource should be allocated from.
  * @flags:     memory domain and caching flags for the object
  *
  * Structure indicating a possible place to put an object.