diff options
author | Christian König <christian.koenig@amd.com> | 2022-02-04 09:42:22 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-07 18:03:50 -0500 |
commit | d7d7ddc15672940be0dbbe03e016c5bb617256b8 (patch) | |
tree | 83087d808327de1a6a51e6bf995e9024eef93ebe /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 66d58bf73ba17ac45fca79f2e5e26870cc224ee3 (diff) | |
download | linux-d7d7ddc15672940be0dbbe03e016c5bb617256b8.tar.gz linux-d7d7ddc15672940be0dbbe03e016c5bb617256b8.tar.bz2 linux-d7d7ddc15672940be0dbbe03e016c5bb617256b8.zip |
drm/amdgpu: move lockdep assert to the right place.
Since newly added BOs don't have any mappings it's ok to add them
without holding the VM lock. Only when we add per VM BOs the lock is
mandatory.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: Bhardwaj, Rajneesh <Rajneesh.Bhardwaj@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-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_kms.c')
0 files changed, 0 insertions, 0 deletions