diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-05-09 15:35:00 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-09 18:22:49 +0200 |
commit | 68470ae7e67fe15b9ab01e1c1c709e6e2485a8e5 (patch) | |
tree | e403d728a22c66484cb37e8e6e4d29f12e54a241 /drivers/gpu/drm/radeon/radeon_fence.c | |
parent | drm/radeon: immediately free ttm-move semaphore (diff) | |
download | linux-68470ae7e67fe15b9ab01e1c1c709e6e2485a8e5.tar.xz linux-68470ae7e67fe15b9ab01e1c1c709e6e2485a8e5.zip |
drm/radeon: move the semaphore from the fence into the ib
It never really belonged there in the first place.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_fence.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_fence.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 3a49311fc711..48ec5e343844 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c @@ -139,8 +139,6 @@ static void radeon_fence_destroy(struct kref *kref) fence = container_of(kref, struct radeon_fence, kref); fence->seq = RADEON_FENCE_NOTEMITED_SEQ; - if (fence->semaphore) - radeon_semaphore_free(fence->rdev, fence->semaphore, NULL); kfree(fence); } @@ -156,7 +154,6 @@ int radeon_fence_create(struct radeon_device *rdev, (*fence)->rdev = rdev; (*fence)->seq = RADEON_FENCE_NOTEMITED_SEQ; (*fence)->ring = ring; - (*fence)->semaphore = NULL; return 0; } |