diff options
author | Christian König <christian.koenig@amd.com> | 2017-08-28 14:46:40 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-29 15:28:04 -0400 |
commit | 00b5cc83c443dcd351cb2b21055656e007992b54 (patch) | |
tree | 2ff74b973f64d6f8c9251665e2a2de8f2e5b7ba1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | cb7b6ec2f8b8759b6b5beb4d17ea6984867a3296 (diff) | |
download | talos-obmc-linux-00b5cc83c443dcd351cb2b21055656e007992b54.tar.gz talos-obmc-linux-00b5cc83c443dcd351cb2b21055656e007992b54.zip |
drm/amdgpu: fix comment on amdgpu_bo_va
Except for the reference count all other members are protected
by the VM PD being reserved.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index e613ba42f167..42492e63b3a2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -49,9 +49,11 @@ struct amdgpu_bo_va { struct amdgpu_vm_bo_base base; /* protected by bo being reserved */ - struct dma_fence *last_pt_update; unsigned ref_count; + /* all other members protected by the VM PD being reserved */ + struct dma_fence *last_pt_update; + /* mappings for this bo_va */ struct list_head invalids; struct list_head valids; |