]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39ca9ca953b2e3ba2a39816536a9622832cb5a8f
tree61880f8c6964143b2a54749808fa68734243c771
parent54ca83f2ad0e347b57f4797a2140fbfbd17be7e4
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