mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 21:56:40 +07:00
drm/radeon: fix VM syncing with multiple rings
When a VM is used on more than one ring we need to sync to the last user. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
e9e2fbe975
commit
1678dbc22e
@ -463,7 +463,7 @@ static int radeon_cs_ib_vm_chunk(struct radeon_device *rdev,
|
||||
goto out;
|
||||
}
|
||||
radeon_cs_sync_rings(parser);
|
||||
radeon_cs_sync_to(parser, vm->last_flush);
|
||||
radeon_cs_sync_to(parser, vm->fence);
|
||||
radeon_cs_sync_to(parser, radeon_vm_grab_id(rdev, vm, parser->ring));
|
||||
|
||||
if ((rdev->family >= CHIP_TAHITI) &&
|
||||
|
Loading…
Reference in New Issue
Block a user