aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2012-05-09 09:35:00 -0400
committerDave Airlie <airlied@redhat.com>2012-05-09 12:22:49 -0400
commit68470ae7e67fe15b9ab01e1c1c709e6e2485a8e5 (patch)
treee403d728a22c66484cb37e8e6e4d29f12e54a241 /drivers/gpu/drm/radeon/radeon.h
parent7c0d409db56dab0fb211d7710403456c7b4b794b (diff)
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.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 617030727ca8..9507be0f4083 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -272,7 +272,6 @@ struct radeon_fence {
272 uint64_t seq; 272 uint64_t seq;
273 /* RB, DMA, etc. */ 273 /* RB, DMA, etc. */
274 unsigned ring; 274 unsigned ring;
275 struct radeon_semaphore *semaphore;
276}; 275};
277 276
278int radeon_fence_driver_start_ring(struct radeon_device *rdev, int ring); 277int radeon_fence_driver_start_ring(struct radeon_device *rdev, int ring);
@@ -624,13 +623,14 @@ void radeon_irq_kms_pflip_irq_put(struct radeon_device *rdev, int crtc);
624 */ 623 */
625 624
626struct radeon_ib { 625struct radeon_ib {
627 struct radeon_sa_bo *sa_bo; 626 struct radeon_sa_bo *sa_bo;
628 uint32_t length_dw; 627 uint32_t length_dw;
629 uint64_t gpu_addr; 628 uint64_t gpu_addr;
630 uint32_t *ptr; 629 uint32_t *ptr;
631 struct radeon_fence *fence; 630 struct radeon_fence *fence;
632 unsigned vm_id; 631 unsigned vm_id;
633 bool is_const_ib; 632 bool is_const_ib;
633 struct radeon_semaphore *semaphore;
634}; 634};
635 635
636struct radeon_ring { 636struct radeon_ring {