]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/mes: fix bo va unmap issue in mes
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 9 Sep 2020 10:32:36 +0000 (18:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 14:03:20 +0000 (10:03 -0400)
commitf3157c6e7a8d13d248bcc6bf881586d151c173f1
tree03497fa350d8bd9e60f37da8b7de050466afed36
parent3439827f5c7ca547022ede9d6c155a6cc854d0ac
drm/amdgpu/mes: fix bo va unmap issue in mes

Need reserve buffers before unmap mes ctx bo va.

v2: fix removal of dma_resv_excl_fence() (Alex)
v3: fix dma_resv_usage (Alex)

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h