drm/radeon: sync all BOs involved in a CS v2
authorChristian König <christian.koenig@amd.com>
Thu, 27 Nov 2014 12:12:58 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Dec 2014 17:37:11 +0000 (09:37 -0800)
commita3e97a494e017670a29973f2c610ff68897beca4
tree6bba838a36b8de4177f8e5c75063e0861c52217b
parent1c9e23ba8ed175ebe9a48366a276bc3ac493506c
drm/radeon: sync all BOs involved in a CS v2

commit 86b276385c6a986872e4cd144f5940b156053c3f upstream.

Not just the userspace relocs, otherwise we won't wait
for a swapped out page tables to be swapped in again.

v2: rebased on Alex current drm-fixes-3.18

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_cs.c