drm/amdkfd: call amdgpu_amdkfd_get_hive_id directly
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 24 Aug 2020 14:18:37 +0000 (10:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:18 +0000 (16:40 -0400)
commit332f6e1e9880c75b0c7287b8af2547ad28f389cd
treef66cf51f3f88c35c24517592ee5a4ed15a41887a
parent817154c1a2035fdecead78873245f5b528da451e
drm/amdkfd: call amdgpu_amdkfd_get_hive_id directly

No need to use a function pointer because the implementation is not
ASIC-specific.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h