diff options
author | Christian König <deathsimple@vodafone.de> | 2012-05-09 17:34:50 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-09 20:22:32 +0400 |
commit | a651c55a0b489a9d5900354d487ebe34d84eec2c (patch) | |
tree | 19d39be46771f2b261197e6f0e01075390f3b645 /drivers/gpu/drm/radeon/radeon.h | |
parent | dd8bea2111ab80ecb640183d00c383e03554509d (diff) | |
download | linux-a651c55a0b489a9d5900354d487ebe34d84eec2c.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 701094b05f47..8a6b1b31bb5e 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -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; |