aboutsummaryrefslogtreecommitdiff
path: root/include/drm/ttm/ttm_resource.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-09-11 15:06:53 +0200
committerChristian König <christian.koenig@amd.com>2020-09-15 16:03:44 +0200
commit0fe438cec9e1d263a831e62a0499e14ee228fb30 (patch)
tree5cd5f08598986924db5bf6c8fa8ffcf221aba7a3 /include/drm/ttm/ttm_resource.h
parent46f206304db0311b0920479f42accaa7cb472fdc (diff)
drm/ttm: remove default caching
As far as I can tell this was never used either and we just always fallback to the order cached > wc > uncached anyway. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/390142/
Diffstat (limited to 'include/drm/ttm/ttm_resource.h')
-rw-r--r--include/drm/ttm/ttm_resource.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
index 7b8a3157fbb3..a6ae4bf9c3e1 100644
--- a/include/drm/ttm/ttm_resource.h
+++ b/include/drm/ttm/ttm_resource.h
@@ -110,8 +110,6 @@ struct ttm_resource_manager_func {
* @size: Size of the managed region.
* @available_caching: A mask of available caching types, TTM_PL_FLAG_XX,
* as defined in ttm_placement_common.h
- * @default_caching: The default caching policy used for a buffer object
- * placed in this memory type if the user doesn't provide one.
* @func: structure pointer implementing the range manager. See above
* @move_lock: lock for move fence
* static information. bdev::driver::io_mem_free is never used.
@@ -128,7 +126,6 @@ struct ttm_resource_manager {
bool use_tt;
uint64_t size;
uint32_t available_caching;
- uint32_t default_caching;
const struct ttm_resource_manager_func *func;
spinlock_t move_lock;