mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
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/
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user