summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2021-12-08 17:51:43 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-01-11 15:44:27 -0500
commitb121862c787c2a84ed5f42597aeeff5c1ead8f5b (patch)
tree0bc611763a4ea35f22fb7dad8879464c5f63f7f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
parentef3b4137aa09a9ad38f42d4de087cedf1b98c521 (diff)
downloadlinux-b121862c787c2a84ed5f42597aeeff5c1ead8f5b.tar.bz2
drm/amdkfd: Use prange->update_list head for remove_list
The remove_list head was only used for keeping track of existing ranges that are to be removed from the svms->list. The update_list was used for new or existing ranges that need updated attributes. These two cases are mutually exclusive (i.e. the same range will never be on both lists). Therefore we can use the update_list head to track the remove_list and save another 16 bytes in the svm_range struct. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c')
0 files changed, 0 insertions, 0 deletions