drm/radeon: fix const IB handling v2
authorChristian König <deathsimple@vodafone.de>
Fri, 13 Jul 2012 11:06:00 +0000 (13:06 +0200)
committerChristian König <deathsimple@vodafone.de>
Wed, 18 Jul 2012 11:17:49 +0000 (13:17 +0200)
commit4ef72566f1035fef5abd0913100d13746e066ee3
tree48aa82020454839b036e9fe48e969027d322dc87
parentbfb38d35c1cacb182d8bbda23379397bffeafc8c
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>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_ring.c