drm/amdgpu: use DRM_SCHED_FENCE_DONT_PIPELINE for VM updates
authorChristian König <christian.koenig@amd.com>
Fri, 7 Oct 2022 08:59:58 +0000 (10:59 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 19 Oct 2022 10:45:00 +0000 (12:45 +0200)
commit01f2cf53844b01e691516b465df1b6ab01b03230
tree61880f8c6964143b2a54749808fa68734243c771
parent7b476affcccfc7e644541a0a719f53fc7bd34c53
drm/amdgpu: use DRM_SCHED_FENCE_DONT_PIPELINE for VM updates

Make sure that we always have a CPU round trip to let the submission
code correctly decide if a TLB flush is necessary or not.

Signed-off-by: Christian König <christian.koenig@amd.com>
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2113#note_1579296
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221014081553.114899-2-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c