summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2021-11-27 02:43:09 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-12-02 00:07:13 +0300
commita872c152fd91e815ce1a2f251ff06d693119fbbd (patch)
tree5d1a9546ec5b06c000640fcefd21b14505a4cf1b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent71f8f119237ff2dd4fed49aa79eecdc50ed41ddb (diff)
downloadlinux-a872c152fd91e815ce1a2f251ff06d693119fbbd.tar.xz
drm/amdkfd: fix double free mem structure
drm_gem_object_put calls release_notify callback to free the mem structure and unreserve_mem_limit, move it down after the last access of mem and make it conditional call. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions