diff options
author | Jack Zhang <Jack.Zhang1@amd.com> | 2020-04-02 15:10:24 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-09 10:43:14 -0400 |
commit | 04bef61e5da18c2b301c629a209ccdba4d4c6fbb (patch) | |
tree | bbc3e1dc63a4c2cb7683b95f344cfbc749917819 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | 50dc581a8f43f22f72af613397c6a01460d7559d (diff) | |
download | linux-04bef61e5da18c2b301c629a209ccdba4d4c6fbb.tar.bz2 |
drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions