drm/radeon: add spinlock for BO_VA status protection (v2)
Stop using the VM mutex for this v2: fix typo in comment Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
44c4bd21bd
commit
f7a3db75a6
2 changed files with 33 additions and 6 deletions
|
@ -929,6 +929,9 @@ struct radeon_vm {
|
|||
|
||||
struct rb_root va;
|
||||
|
||||
/* protecting invalidated and freed */
|
||||
spinlock_t status_lock;
|
||||
|
||||
/* BOs moved, but not yet updated in the PT */
|
||||
struct list_head invalidated;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue