diff options
author | Lang Yu <lang.yu@amd.com> | 2021-10-11 13:57:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-19 17:13:48 -0400 |
commit | 5aeeac6fa38fca450faed9770f75b1470c0e2073 (patch) | |
tree | 6511c46a5b32451b83bdd0770613eafe113288a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 48737ac4d70faffeb516e2a9847e24f9a7eee05f (diff) | |
download | linux-5aeeac6fa38fca450faed9770f75b1470c0e2073.tar.gz linux-5aeeac6fa38fca450faed9770f75b1470c0e2073.tar.bz2 linux-5aeeac6fa38fca450faed9770f75b1470c0e2073.zip |
drm/amdkfd: Fix an inappropriate error handling in allloc memory of gpu
We should unreference a gem object instead of an amdgpu bo here.
Fixes: fd9a9f8801de ("drm/amdgpu: Use GEM obj reference for KFD BOs")
Signed-off-by: Lang Yu <lang.yu@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_device.c')
0 files changed, 0 insertions, 0 deletions