diff options
author | Christian König <christian.koenig@amd.com> | 2016-03-08 12:03:27 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-09 13:04:02 -0500 |
commit | 32b41ac21fde8f7cea465d74c570fc7bd0089163 (patch) | |
tree | a700f466f89fa94ce2b0cc9f63e24ba48518f67b /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 20250215821140801369b84f8cbe79a459a82ba5 (diff) |
drm/amdgpu: Revert "add mutex for ba_va->valids/invalids"
Not needed any more because we need to protect the elements on the list anyway.
This reverts commit 38bf516c75b4ef0f5c716e05fa9baab7c52d6c39.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 28b4088b2530..9a03d566bf6d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -484,7 +484,6 @@ struct amdgpu_bo_va_mapping { | |||
484 | 484 | ||
485 | /* bo virtual addresses in a specific vm */ | 485 | /* bo virtual addresses in a specific vm */ |
486 | struct amdgpu_bo_va { | 486 | struct amdgpu_bo_va { |
487 | struct mutex mutex; | ||
488 | /* protected by bo being reserved */ | 487 | /* protected by bo being reserved */ |
489 | struct list_head bo_list; | 488 | struct list_head bo_list; |
490 | struct fence *last_pt_update; | 489 | struct fence *last_pt_update; |