drm/radeon: add proper locking to the SA v3
Make the suballocator self containing to locking. v2: split the bugfix into a seperate patch. v3: remove some unreleated changes. Sig-off-by: Christian König <deathsimple@vodafone.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
dd8bea2111
commit
a651c55a0b
2 changed files with 7 additions and 0 deletions
|
|
@ -381,6 +381,7 @@ struct radeon_bo_list {
|
|||
* alignment).
|
||||
*/
|
||||
struct radeon_sa_manager {
|
||||
spinlock_t lock;
|
||||
struct radeon_bo *bo;
|
||||
struct list_head sa_bo;
|
||||
unsigned size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue