commit | a872c152fd91e815ce1a2f251ff06d693119fbbd | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Fri Nov 26 18:43:09 2021 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 01 16:07:13 2021 -0500 |
tree | 5d1a9546ec5b06c000640fcefd21b14505a4cf1b | |
parent | 71f8f119237ff2dd4fed49aa79eecdc50ed41ddb [diff] |
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>