]> 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)
commit093dc49c55aa6463840fcefcf439f7f958591e84
tree03497fa350d8bd9e60f37da8b7de050466afed36
parentee04ff4b1724917401bbead227a7bede96cdf54c
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