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)
commit133f4cb3365ef8e57c4837ffbe15de74684f6e19
treedbc18f245d2292cdf97122236e2cf6f2a82df47d
parent4f256e8aa3eda15c11c3cec3ec5336e1fc579cbd
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