Skip to content
Commit 02eed83a authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Alex Deucher
Browse files

drm/amdkfd: fixes for HMM mem allocation



Fix err return value and reset pgmap->type after checking it.

Fixes: c83dee9b ("drm/amdkfd: add SPM support for SVM")
Reviewed-by: default avatarFelix Kuehling <felix.kuehling@amd.com>
Signed-off-by: default avatarDafna Hirschfeld <dhirschfeld@habana.ai>
Signed-off-by: default avatarFelix Kuehling <felix.kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7075893d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment