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:
Jerome Glisse
2012-05-09 15:35:00 +02:00
committed by Dave Airlie
parent 7c0d409db5
commit 68470ae7e6
4 changed files with 12 additions and 13 deletions

View File

@@ -138,12 +138,12 @@ static int radeon_cs_sync_rings(struct radeon_cs_parser *p)
return 0;
}
r = radeon_semaphore_create(p->rdev, &p->ib->fence->semaphore);
r = radeon_semaphore_create(p->rdev, &p->ib->semaphore);
if (r) {
return r;
}
return radeon_semaphore_sync_rings(p->rdev, p->ib->fence->semaphore,
return radeon_semaphore_sync_rings(p->rdev, p->ib->semaphore,
sync_to_ring, p->ring);
}