summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm/ttm_bo_driver.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_bo_driver.h
parentdrm/bridge: ps8640: Rework power state handling (diff)
downloadlinux-0fe438cec9e1d263a831e62a0499e14ee228fb30.tar.xz
linux-0fe438cec9e1d263a831e62a0499e14ee228fb30.zip
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_bo_driver.h')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 303a89d1066d..bf000d69e533 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -690,7 +690,6 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
* @bdev: ttm device
* @type: memory manager type
* @available_caching: TTM_PL_FLAG_* for allowed caching modes
- * @default_caching: default caching mode
* @use_tt: if the memory manager uses tt
* @p_size: size of area to be managed in pages.
*
@@ -700,7 +699,6 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
int ttm_range_man_init(struct ttm_bo_device *bdev,
unsigned type,
uint32_t available_caching,
- uint32_t default_caching,
bool use_tt,
unsigned long p_size);