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>
This commit is contained in:

committed by
Dave Airlie

parent
7c0d409db5
commit
68470ae7e6
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user