Skip to content
Commit 5aeeac6f authored by Lang Yu's avatar Lang Yu Committed by Alex Deucher
Browse files

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: fd9a9f88 ("drm/amdgpu: Use GEM obj reference for KFD BOs")

Signed-off-by: default avatarLang Yu <lang.yu@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 48737ac4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment