]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix possible lack of synchronization btw ttm and other ring
authorJerome Glisse <jglisse@redhat.com>
Wed, 9 May 2012 13:34:44 +0000 (15:34 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 9 May 2012 16:22:12 +0000 (17:22 +0100)
commitd8f0a822c143e7673eadb63c27def13489180bf7
treedbc18f245d2292cdf97122236e2cf6f2a82df47d
parentea1d48c7d848a7596b18d1cfffaaf28aa4079141
drm/radeon: fix possible lack of synchronization btw ttm and other ring

We need to sync with the GFX ring as ttm might have schedule bo move
on it and new command scheduled for other ring need to wait for bo
data to be in place.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cs.c
include/drm/radeon_drm.h