Commit 18ab7e88 authored by Huacai Chen's avatar Huacai Chen Committed by Alex Deucher
Browse files

drm/radeon: Use ttm_bo_move_null() in radeon_bo_move()



Since ttm_bo_move_null() is exactly the same as ttm_resource_free() +
ttm_bo_assign_mem(), we use ttm_bo_move_null() for the GTT --> SYSTEM
move case too. Then the code is more consistent as the SYSTEM --> GTT
move case.

Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 466a59ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment