1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd
Jack Zhang cb1dfad688 drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset
[ Upstream commit 04bef61e5d ]

kfd_pre_reset will free mem_objs allocated by kfd_gtt_sa_allocate

Without this change, sriov tdr code path will never free those allocated
memories and get memory leak.

v2:add a bugfix for kiq ring test fail

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:54 +02:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset 2020-10-01 13:17:54 +02:00
amdkfd drm/amdkfd: Fix race in gfx10 context restore handler 2020-10-01 13:17:11 +02:00
display drm/amd/display: Stop if retimer is not available 2020-10-01 13:17:40 +02:00
include amdgpu/gmc_v9: save/restore sdpif regs during S3 2020-03-05 16:43:43 +01:00
powerplay drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table 2020-10-01 13:17:17 +02:00