diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2015-11-17 22:17:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-11-20 18:22:23 -0500 |
commit | 69b576a1bc8b466ae7bff0208f1c139dbaaf802c (patch) | |
tree | a5d2d94a0a026181a0834b9d3c78979da3ed5725 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | d66f8e48f1201620eeb0a11df4c2071f7ee35750 (diff) |
drm/amdgpu: add mutex for ba_va->valids/invalids
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@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, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 306f75700bf8..50672bb19798 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -496,6 +496,7 @@ struct amdgpu_bo_va_mapping { | |||
496 | 496 | ||
497 | /* bo virtual addresses in a specific vm */ | 497 | /* bo virtual addresses in a specific vm */ |
498 | struct amdgpu_bo_va { | 498 | struct amdgpu_bo_va { |
499 | struct mutex mutex; | ||
499 | /* protected by bo being reserved */ | 500 | /* protected by bo being reserved */ |
500 | struct list_head bo_list; | 501 | struct list_head bo_list; |
501 | struct fence *last_pt_update; | 502 | struct fence *last_pt_update; |