diff options
| author | Christian König <[email protected]> | 2018-09-13 09:17:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-10 20:20:54 +0000 |
| commit | df2fc43d09d3ee5ede82cab9299df5e78aa427b5 (patch) | |
| tree | cb487e12ebde6c70e8877d99871296fe1947c331 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amdgpu/powerplay: factor out some pptable helpers (diff) | |
| download | kernel-df2fc43d09d3ee5ede82cab9299df5e78aa427b5.tar.gz kernel-df2fc43d09d3ee5ede82cab9299df5e78aa427b5.zip | |
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 <[email protected]>
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Reviewed-by: Junwei Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
