Commit 7cf3a7b1 authored by Yifan Zhang's avatar Yifan Zhang Committed by Zheng Zengkai
Browse files

drm/amdkfd: fix boot failure when iommu is disabled in Picasso.

stable inclusion
from stable-v5.10.85
commit f3d9114ac99f4358809f44b390b304b8b53fb4a4
bugzilla: 186032 https://gitee.com/openeuler/kernel/issues/I4QVI4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f3d9114ac99f4358809f44b390b304b8b53fb4a4



--------------------------------

commit afd18180 upstream.

When IOMMU disabled in sbios and kfd in iommuv2 path, iommuv2
init will fail. But this failure should not block amdgpu driver init.

Reported-by: default avataryouling <youling257@gmail.com>
Tested-by: default avataryouling <youling257@gmail.com>
Signed-off-by: default avatarYifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: default avatarJames Zhu <James.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 4c681812
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment