diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index bbe88ec3951d..76c58e9e4778 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -547,6 +547,7 @@ struct r600_ih { | |||
547 | struct radeon_bo *ring_obj; | 547 | struct radeon_bo *ring_obj; |
548 | volatile uint32_t *ring; | 548 | volatile uint32_t *ring; |
549 | unsigned rptr; | 549 | unsigned rptr; |
550 | unsigned rptr_offs; | ||
550 | unsigned wptr; | 551 | unsigned wptr; |
551 | unsigned wptr_old; | 552 | unsigned wptr_old; |
552 | unsigned ring_size; | 553 | unsigned ring_size; |
@@ -598,6 +599,7 @@ void radeon_ib_pool_fini(struct radeon_device *rdev); | |||
598 | int radeon_ib_test(struct radeon_device *rdev); | 599 | int radeon_ib_test(struct radeon_device *rdev); |
599 | extern void radeon_ib_bogus_add(struct radeon_device *rdev, struct radeon_ib *ib); | 600 | extern void radeon_ib_bogus_add(struct radeon_device *rdev, struct radeon_ib *ib); |
600 | /* Ring access between begin & end cannot sleep */ | 601 | /* Ring access between begin & end cannot sleep */ |
602 | int radeon_ring_index(struct radeon_device *rdev, struct radeon_cp *cp); | ||
601 | void radeon_ring_free_size(struct radeon_device *rdev, struct radeon_cp *cp); | 603 | void radeon_ring_free_size(struct radeon_device *rdev, struct radeon_cp *cp); |
602 | int radeon_ring_alloc(struct radeon_device *rdev, struct radeon_cp *cp, unsigned ndw); | 604 | int radeon_ring_alloc(struct radeon_device *rdev, struct radeon_cp *cp, unsigned ndw); |
603 | int radeon_ring_lock(struct radeon_device *rdev, struct radeon_cp *cp, unsigned ndw); | 605 | int radeon_ring_lock(struct radeon_device *rdev, struct radeon_cp *cp, unsigned ndw); |
@@ -1284,9 +1286,7 @@ struct radeon_device { | |||
1284 | rwlock_t fence_lock; | 1286 | rwlock_t fence_lock; |
1285 | struct radeon_fence_driver fence_drv[RADEON_NUM_RINGS]; | 1287 | struct radeon_fence_driver fence_drv[RADEON_NUM_RINGS]; |
1286 | struct radeon_semaphore_driver semaphore_drv; | 1288 | struct radeon_semaphore_driver semaphore_drv; |
1287 | struct radeon_cp cp; | 1289 | struct radeon_cp cp[RADEON_NUM_RINGS]; |
1288 | struct radeon_cp cp1; | ||
1289 | struct radeon_cp cp2; | ||
1290 | struct radeon_ib_pool ib_pool; | 1290 | struct radeon_ib_pool ib_pool; |
1291 | struct radeon_irq irq; | 1291 | struct radeon_irq irq; |
1292 | struct radeon_asic *asic; | 1292 | struct radeon_asic *asic; |