]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
authorYifan Zhang <yifan1.zhang@amd.com>
Mon, 11 Oct 2021 12:37:01 +0000 (20:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Oct 2021 18:15:52 +0000 (14:15 -0400)
commite8612b166b902760782e131b3c4e6b789e64b930
tree53d7185751d9009c338d9b042ba649c127b17999
parentb793cfdbfeee91c6c2bed3aa1f8d83a317acbca3
drm/amdkfd: fix boot failure when iommu is disabled in Picasso.

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: youling <youling257@gmail.com>
Tested-by: youling <youling257@gmail.com>
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c