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)
commit737dad0b5d609f464cae73292de646d3d016ec73
tree03497fa350d8bd9e60f37da8b7de050466afed36
parent35ba8850b673050b71b17c1421079031f4fda319
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