]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: init iommu after amdkfd device init
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 28 Sep 2021 07:42:35 +0000 (15:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Oct 2021 17:02:20 +0000 (13:02 -0400)
commite9ad08533483a438e5d1b0f1a734abcb626ac35e
tree79370b7270808c19f70319422eb30787b7882a25
parentc891e055fda9c8fd41e36e4a9f7ee5397ab8af29
drm/amdgpu: init iommu after amdkfd device init

This patch is to fix clinfo failure in Raven/Picasso:

Number of platforms: 1
  Platform Profile: FULL_PROFILE
  Platform Version: OpenCL 2.2 AMD-APP (3364.0)
  Platform Name: AMD Accelerated Parallel Processing
  Platform Vendor: Advanced Micro Devices, Inc.
  Platform Extensions: cl_khr_icd cl_amd_event_callback

  Platform Name: AMD Accelerated Parallel Processing Number of devices: 0

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c