Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00b5cc83 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarChunming Zhou <david1.zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cb7b6ec2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;