drm/ttm: enable TTM page pool kerneldoc
authorChristian König <christian.koenig@amd.com>
Tue, 7 Sep 2021 07:42:42 +0000 (09:42 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 9 Sep 2021 11:30:14 +0000 (13:30 +0200)
Fix the remaining warnings and finally enable this.

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

index 69c4a20b95d09f9de03209abb98766034f2ef788..e0538083a2c0e315429158c7c0e575878cd0892c 100644 (file)
@@ -67,6 +67,15 @@ TTM TT object reference
 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_tt.c
    :export:
 
+TTM page pool reference
+-----------------------
+
+.. kernel-doc:: include/drm/ttm/ttm_pool.h
+   :internal:
+
+.. kernel-doc:: drivers/gpu/drm/ttm/ttm_pool.c
+   :export:
+
 The Graphics Execution Manager (GEM)
 ====================================
 
index 4321728bdd11f86a69b5e0672175a9337e2898c6..ef09b23d29e313f61fcd21adc9ffdd13ab084e82 100644 (file)
@@ -37,7 +37,7 @@ struct ttm_pool;
 struct ttm_operation_ctx;
 
 /**
- * ttm_pool_type - Pool for a certain memory type
+ * struct ttm_pool_type - Pool for a certain memory type
  *
  * @pool: the pool we belong to, might be NULL for the global ones
  * @order: the allocation order our pages have
@@ -58,8 +58,9 @@ struct ttm_pool_type {
 };
 
 /**
- * ttm_pool - Pool for all caching and orders
+ * struct ttm_pool - Pool for all caching and orders
  *
+ * @dev: the device we allocate pages for
  * @use_dma_alloc: if coherent DMA allocations should be used
  * @use_dma32: if GFP_DMA32 should be used
  * @caching: pools for each caching/order