mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-23 11:47:04 +08:00
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 <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
94214635f0
commit
43ac885764
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user