summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-09-13 12:17:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-10-10 23:20:54 +0300
commitdf2fc43d09d3ee5ede82cab9299df5e78aa427b5 (patch)
treecb487e12ebde6c70e8877d99871296fe1947c331 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenta553c19d158535a62b513f5a9ef9f036a54b511f (diff)
downloadlinux-df2fc43d09d3ee5ede82cab9299df5e78aa427b5.tar.xz
list: introduce list_bulk_move_tail helper
Move all entries between @first and including @last before @head. This is useful for LRU lists where a whole block of entries should be moved to the end of the list. Used as a band aid in TTM, but better placed in the common list headers. Acked-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions