drm/amdgpu: use the new cursor in amdgpu_ttm_access_memory
authorChristian König <christian.koenig@amd.com>
Wed, 17 Feb 2021 13:33:54 +0000 (14:33 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:29:54 +0000 (23:29 -0400)
commit498ad8ec2ff025faa94a872068c6167a9b4c3d2b
treeab354eb0a8b141ae5a287a45eb86d018cd1f62f8
parent10ebcd953dfa34cc3a5744cd359db85bc94a0162
drm/amdgpu: use the new cursor in amdgpu_ttm_access_memory

Separate the drm_mm_node walking from the actual handling.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Oak Zeng <Oak.Zeng@amd.com>
Tested-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c