diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-12-21 12:13:46 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-05 05:03:33 -0500 |
commit | 69e130a6a42270f94e6ee0bce34c3480a6b9da61 (patch) | |
tree | 025e3a3d94400eb3f6dd15535544d569cc57b5ad /drivers/gpu/drm/radeon/radeon.h | |
parent | 1f2e124df90cfc1347fd301409570fa9b0aed2c9 (diff) |
drm/radeon: make ib size variable
This avoid to waste ib pool size and avoid a bunch of wait for
previous ib to finish.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index f29edbf62962..0301896ac157 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -638,7 +638,8 @@ struct r600_blit { | |||
638 | 638 | ||
639 | void r600_blit_suspend(struct radeon_device *rdev); | 639 | void r600_blit_suspend(struct radeon_device *rdev); |
640 | 640 | ||
641 | int radeon_ib_get(struct radeon_device *rdev, int ring, struct radeon_ib **ib); | 641 | int radeon_ib_get(struct radeon_device *rdev, int ring, |
642 | struct radeon_ib **ib, unsigned size); | ||
642 | void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib **ib); | 643 | void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib **ib); |
643 | int radeon_ib_schedule(struct radeon_device *rdev, struct radeon_ib *ib); | 644 | int radeon_ib_schedule(struct radeon_device *rdev, struct radeon_ib *ib); |
644 | int radeon_ib_pool_init(struct radeon_device *rdev); | 645 | int radeon_ib_pool_init(struct radeon_device *rdev); |