]> 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)
commite2cd11061021c6651518ec6e05eb4da989bfea90
treedbc18f245d2292cdf97122236e2cf6f2a82df47d
parent9c75b3c1d525173ea004a191b8c42208d978ce77
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