linux/drivers/gpu/drm/amd
Felix Kuehling ef3b4137aa drm/amdkfd: Use prange->list head for insert_list
There are seven list_heads in struct svm_range: list, update_list,
remove_list, insert_list, svm_bo_list, deferred_list, child_list. This
patch and the next one remove two of them that are redundant.

The insert_list head was only used for new ranges that are not on the
svms->list yet. So we can use that list head for keeping track of
new ranges before they get added, and use list_move_tail to move them
to the svms->list when ready.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-01-11 15:44:27 -05:00
..
acp
amdgpu Revert "drm/amdgpu: Don't inherit GEM object VMAs in child process" 2022-01-11 15:44:27 -05:00
amdkfd drm/amdkfd: Use prange->list head for insert_list 2022-01-11 15:44:27 -05:00
display drm/amd/display: invalid parameter check in dmub_hpd_callback 2022-01-11 15:44:27 -05:00
include drm/amdgpu: add support for IP discovery gc_info table v2 2021-12-16 14:08:20 -05:00
pm drm/amd/pm: keep the BACO feature enabled for suspend 2022-01-07 17:19:46 -05:00