aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-05-01 21:56:08 +0000
committerOded Gabbay <[email protected]>2018-05-01 21:56:08 +0000
commiteeb27b7eb3826c23cc5688c47845e7309f20fc32 (patch)
treee2bb326aa927e3d5f45622c5e373af2dfa180a36 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amdkfd: Fix CP soft hang on APUs (diff)
downloadkernel-eeb27b7eb3826c23cc5688c47845e7309f20fc32.tar.gz
kernel-eeb27b7eb3826c23cc5688c47845e7309f20fc32.zip
drm/amdkfd: Fix signal handling performance again
It turns out that idr_for_each_entry is really slow compared to just iterating over the slots. Based on measurements the difference is estimated to be about a factor 64. That means using idr_for_each_entry is only worth it with very few allocated events. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions