aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r100.c
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/r100.c
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/r100.c')
-rw-r--r--drivers/gpu/drm/radeon/r100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index e0f5ae895f0..4ee5a74dac2 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -3693,7 +3693,7 @@ int r100_ib_test(struct radeon_device *rdev, struct radeon_ring *ring)
3693 ib.ptr[6] = PACKET2(0); 3693 ib.ptr[6] = PACKET2(0);
3694 ib.ptr[7] = PACKET2(0); 3694 ib.ptr[7] = PACKET2(0);
3695 ib.length_dw = 8; 3695 ib.length_dw = 8;
3696 r = radeon_ib_schedule(rdev, &ib); 3696 r = radeon_ib_schedule(rdev, &ib, NULL);
3697 if (r) { 3697 if (r) {
3698 radeon_scratch_free(rdev, scratch); 3698 radeon_scratch_free(rdev, scratch);
3699 radeon_ib_free(rdev, &ib); 3699 radeon_ib_free(rdev, &ib);