diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-11-26 18:43:09 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-01 17:08:00 -0500 |
commit | 494f2e42ce4a9ddffb5d8c5b2db816425ef90397 (patch) | |
tree | a3c075ca426414b74f56dfb3cd93503a6cae565d /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | |
parent | fc2c456ea8329053685db179d30e3ff0c91e5066 (diff) | |
download | linux-494f2e42ce4a9ddffb5d8c5b2db816425ef90397.tar.gz linux-494f2e42ce4a9ddffb5d8c5b2db816425ef90397.tar.bz2 linux-494f2e42ce4a9ddffb5d8c5b2db816425ef90397.zip |
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/display/amdgpu_dm/amdgpu_dm_crc.c')
0 files changed, 0 insertions, 0 deletions