commit | 8f4729e880647c419de0bbe3ff21d7efb4e65676 | [log] [tgz] |
---|---|---|
author | Kent Russell <kent.russell@amd.com> | Wed Oct 14 07:47:32 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Oct 14 15:29:28 2020 -0400 |
tree | 0809304e239bec2dbacd7bc5ba31ff85278db859 | |
parent | 187561dd76531945126b15c9486fec7cfa5f0415 [diff] |
drm/amdkfd: Use kvfree in destroy_crat_image Now that we use kvmalloc for the crat_image, we need to use kvfree when we destroy this. Fixes: d0e63b343e575e ("drm/amdkfd: Use kvmalloc instead of kmalloc for VCRAT") Reported-by: Morris Zhang <shiwu.zhang@amd.clm> Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>