From: Christian König Date: Mon, 28 Aug 2017 12:46:40 +0000 (+0200) Subject: drm/amdgpu: fix comment on amdgpu_bo_va X-Git-Tag: v4.15-rc1~56^2~28^2~188 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=00b5cc83c443dcd351cb2b21055656e007992b54;p=linux.git 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 Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher --- 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;