diff options
| author | Christian König <[email protected]> | 2020-09-11 13:06:53 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2020-09-15 14:03:44 +0000 |
| commit | 0fe438cec9e1d263a831e62a0499e14ee228fb30 (patch) | |
| tree | 5cd5f08598986924db5bf6c8fa8ffcf221aba7a3 /drivers/gpu/drm/ttm/ttm_range_manager.c | |
| parent | drm/bridge: ps8640: Rework power state handling (diff) | |
| download | kernel-0fe438cec9e1d263a831e62a0499e14ee228fb30.tar.gz kernel-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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/390142/
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_range_manager.c')
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_range_manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_range_manager.c b/drivers/gpu/drm/ttm/ttm_range_manager.c index 770c8988c139..c80d9fa022f7 100644 --- a/drivers/gpu/drm/ttm/ttm_range_manager.c +++ b/drivers/gpu/drm/ttm/ttm_range_manager.c @@ -115,7 +115,6 @@ static const struct ttm_resource_manager_func ttm_range_manager_func; 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) { @@ -128,7 +127,6 @@ int ttm_range_man_init(struct ttm_bo_device *bdev, man = &rman->manager; man->available_caching = available_caching; - man->default_caching = default_caching; man->use_tt = use_tt; man->func = &ttm_range_manager_func; |
