drm/amdgpu: new resource cursor (v2)
authorChristian König <christian.koenig@amd.com>
Wed, 17 Feb 2021 11:36:15 +0000 (12:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:29:43 +0000 (23:29 -0400)
commitee18f40ea1816bc7d3516119dbc29fc53dee5f70
treeef7cb3515ce977ff727a4a6a658960f464163f13
parent37c49ded05537ffc53edda4e5192ff3b74f2de07
drm/amdgpu: new resource cursor (v2)

Allows to walk over the drm_mm nodes in a TTM resource object.

v2: squash in fix from Felix

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_res_cursor.h [new file with mode: 0644]