From: Christian König Date: Wed, 19 Nov 2014 13:01:27 +0000 (+0100) Subject: drm/radeon: sync PD updates as shared X-Git-Tag: MMI-PSA29.97-13-9~10979^2~29^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43ac885764a589626018cc66973507213cef96ca;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/radeon: sync PD updates as shared We never invalidate PD entries and making them valid can run with other users in parallel. Signed-off-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon/radeon_vm.c index f45761469e95..470451c1de62 100644 --- a/drivers/gpu/drm/radeon/radeon_vm.c +++ b/drivers/gpu/drm/radeon/radeon_vm.c @@ -695,7 +695,7 @@ int radeon_vm_update_page_directory(struct radeon_device *rdev, if (ib.length_dw != 0) { radeon_asic_vm_pad_ib(rdev, &ib); - radeon_sync_resv(rdev, &ib.sync, pd->tbo.resv, false); + radeon_sync_resv(rdev, &ib.sync, pd->tbo.resv, true); WARN_ON(ib.length_dw > ndw); r = radeon_ib_schedule(rdev, &ib, NULL, false); if (r) {