summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_device.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2011-12-21 12:13:47 -0500
committerDave Airlie <airlied@redhat.com>2012-01-05 10:03:53 +0000
commitc1341e52802ab401be7addb55408e23307f9074b (patch)
tree84319dfa10da13769fd9562eda73a8e60f069088 /drivers/gpu/drm/radeon/radeon_device.c
parent69e130a6a42270f94e6ee0bce34c3480a6b9da61 (diff)
downloadlinux-c1341e52802ab401be7addb55408e23307f9074b.tar.bz2
drm/radeon: allocate semaphore from the ib pool
This allow to share the ib pool with semaphore and avoid having more bo around. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index e81c333e0f97..846eeb852e59 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -731,7 +731,7 @@ int radeon_device_init(struct radeon_device *rdev,
INIT_LIST_HEAD(&rdev->gem.objects);
init_waitqueue_head(&rdev->irq.vblank_queue);
init_waitqueue_head(&rdev->irq.idle_queue);
- INIT_LIST_HEAD(&rdev->semaphore_drv.free);
+ INIT_LIST_HEAD(&rdev->semaphore_drv.bo);
/* Set asic functions */
r = radeon_asic_init(rdev);