]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita64342dcee283ea3bff78c9448a3bc87bcc0b20e
treef66cf51f3f88c35c24517592ee5a4ed15a41887a
parent123bda5aa25a7a7ad9bba005a366df1b32c5e14b
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