projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7b6ec
)
drm/amdgpu: fix comment on amdgpu_bo_va
author
Christian König
<
[email protected]
>
Mon, 28 Aug 2017 12:46:40 +0000
(14:46 +0200)
committer
Alex Deucher
<
[email protected]
>
Tue, 29 Aug 2017 19:28:04 +0000
(15:28 -0400)
Except for the reference count all other members are protected
by the VM PD being reserved.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Chunming Zhou <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
index e613ba42f167ea471c2cff4e89a77fe1c2226ac9..42492e63b3a293650d5d07e7f8b7b2c19668a180 100644
(file)
--- 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;