Skip to content

Commit

Permalink
drm/ttm: enable TTM page pool kerneldoc
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Christian König committed Sep 9, 2021
1 parent 4f4859d commit 361da7c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Documentation/gpu/drm-mm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
====================================

Expand Down
5 changes: 3 additions & 2 deletions include/drm/ttm/ttm_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 361da7c

Please sign in to comment.