diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-12-21 21:13:47 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-05 14:03:53 +0400 |
commit | c1341e52802ab401be7addb55408e23307f9074b (patch) | |
tree | 84319dfa10da13769fd9562eda73a8e60f069088 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | 69e130a6a42270f94e6ee0bce34c3480a6b9da61 (diff) | |
download | linux-c1341e52802ab401be7addb55408e23307f9074b.tar.xz |
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.c | 2 |
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); |