diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-04-20 23:48:18 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-23 15:39:53 -0400 |
commit | fe158997c8b73ca5117e07ecfa94ec7d9acf7eb4 (patch) | |
tree | f928d86ebbb2e98849b896cfd6f3e5bafcf3895c /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | 6f81b2d047c59eb77cd04795a44245d6a52cdaec (diff) | |
download | linux-fe158997c8b73ca5117e07ecfa94ec7d9acf7eb4.tar.bz2 |
drm/amdgpu: shrink critical section in amdgpu_amdkfd_gpuvm_free_memory_of_gpu
Reduce the mem->lock`s protected code area, no need to protect pr_debug.
This also simplifies error handling.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
0 files changed, 0 insertions, 0 deletions