Re: [PATCH 2/2] drm/amdgpu: Synchronize after mapping into a compute VM

2023-02-27 Thread Felix Kuehling
On 2023-02-27 04:42, Christian König wrote: Am 25.02.23 um 00:36 schrieb Felix Kuehling: Compute VMs use user mode queues for command submission. They cannot use a CS ioctl to synchronize with pending PTE updates and flush TLBs. Do this synchronization in amdgpu_gem_va_ioctl for compute VMs. Si

Re: [PATCH 2/2] drm/amdgpu: Synchronize after mapping into a compute VM

2023-02-27 Thread Christian König
Am 25.02.23 um 00:36 schrieb Felix Kuehling: Compute VMs use user mode queues for command submission. They cannot use a CS ioctl to synchronize with pending PTE updates and flush TLBs. Do this synchronization in amdgpu_gem_va_ioctl for compute VMs. Signed-off-by: Felix Kuehling --- drivers/gp

Re: [PATCH 2/2] drm/amdgpu: Synchronize after mapping into a compute VM

2023-02-26 Thread Chen, Xiaogang
On 2/24/2023 5:36 PM, Felix Kuehling wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Compute VMs use user mode queues for command submission. They cannot use a CS ioctl to synchronize with pending PT

[PATCH 2/2] drm/amdgpu: Synchronize after mapping into a compute VM

2023-02-24 Thread Felix Kuehling
Compute VMs use user mode queues for command submission. They cannot use a CS ioctl to synchronize with pending PTE updates and flush TLBs. Do this synchronization in amdgpu_gem_va_ioctl for compute VMs. Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 16 +