mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
drm/ttm: add kerneldoc for enum ttm_caching
Briefly describe what this is all about. 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-4-christian.koenig@amd.com
This commit is contained in:
parent
fcd0bbd619
commit
be77a2f4cf
@ -31,6 +31,9 @@ The Translation Table Manager (TTM)
|
||||
.. kernel-doc:: drivers/gpu/drm/ttm/ttm_module.c
|
||||
:doc: TTM
|
||||
|
||||
.. kernel-doc:: include/drm/ttm/ttm_caching.h
|
||||
:internal:
|
||||
|
||||
The Graphics Execution Manager (GEM)
|
||||
====================================
|
||||
|
||||
|
@ -27,9 +27,26 @@
|
||||
|
||||
#define TTM_NUM_CACHING_TYPES 3
|
||||
|
||||
/**
|
||||
* enum ttm_caching - CPU caching and BUS snooping behavior.
|
||||
*/
|
||||
enum ttm_caching {
|
||||
/**
|
||||
* @ttm_uncached: Most defensive option for device mappings,
|
||||
* don't even allow write combining.
|
||||
*/
|
||||
ttm_uncached,
|
||||
|
||||
/**
|
||||
* @ttm_write_combined: Don't cache read accesses, but allow at least
|
||||
* writes to be combined.
|
||||
*/
|
||||
ttm_write_combined,
|
||||
|
||||
/**
|
||||
* @ttm_cached: Fully cached like normal system memory, requires that
|
||||
* devices snoop the CPU cache on accesses.
|
||||
*/
|
||||
ttm_cached
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user