aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-07-13 07:06:00 -0400
committerChristian König <deathsimple@vodafone.de>2012-07-18 07:17:49 -0400
commit4ef72566f1035fef5abd0913100d13746e066ee3 (patch)
tree48aa82020454839b036e9fe48e969027d322dc87 /drivers/gpu/drm/radeon/radeon.h
parentbfb38d35c1cacb182d8bbda23379397bffeafc8c (diff)
drm/radeon: fix const IB handling v2
Const IBs are executed on the CE not the CP, so we can't fence them in the normal way. So submit them directly before the IB instead, just as the documentation says. v2: keep the extra documentation Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 2cb355bf2725..2d7f06c85336 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -751,7 +751,8 @@ struct si_rlc {
751int radeon_ib_get(struct radeon_device *rdev, int ring, 751int radeon_ib_get(struct radeon_device *rdev, int ring,
752 struct radeon_ib *ib, unsigned size); 752 struct radeon_ib *ib, unsigned size);
753void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib *ib); 753void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib *ib);
754int radeon_ib_schedule(struct radeon_device *rdev, struct radeon_ib *ib); 754int radeon_ib_schedule(struct radeon_device *rdev, struct radeon_ib *ib,
755 struct radeon_ib *const_ib);
755int radeon_ib_pool_init(struct radeon_device *rdev); 756int radeon_ib_pool_init(struct radeon_device *rdev);
756void radeon_ib_pool_fini(struct radeon_device *rdev); 757void radeon_ib_pool_fini(struct radeon_device *rdev);
757int radeon_ib_ring_tests(struct radeon_device *rdev); 758int radeon_ib_ring_tests(struct radeon_device *rdev);