diff options
author | Christian König <deathsimple@vodafone.de> | 2012-07-11 21:07:57 +0200 |
---|---|---|
committer | Christian König <deathsimple@vodafone.de> | 2012-07-18 13:17:44 +0200 |
commit | bfb38d35c1cacb182d8bbda23379397bffeafc8c (patch) | |
tree | 7eebc054ee7eb1bcb68becc64eaa309f0f69b50b /drivers/gpu/drm/radeon/radeon.h | |
parent | 246fa345a1b72fddb9b2b81f32abd615a5d1c0af (diff) |
drm/radeon: let sa manager block for fences to wait for v2
Otherwise we can encounter out of memory situations under extreme load.
v2: add documentation for the new function
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 6715e4c695f..2cb355bf272 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -362,7 +362,7 @@ struct radeon_bo_list { * alignment). */ struct radeon_sa_manager { - spinlock_t lock; + wait_queue_head_t wq; struct radeon_bo *bo; struct list_head *hole; struct list_head flist[RADEON_NUM_RINGS]; |