drm/amdkfd: Make get_tile_config() generic
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 26 Feb 2020 17:49:03 +0000 (12:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Feb 2020 21:59:20 +0000 (16:59 -0500)
commitfd7d08bad7a4f255330422a11c7da9a9b8683eff
tree0b31d4d0014baab15cc3c83f12e4e3c232183dc4
parent94b5c215ce5c0694a16087c55a3213d06c3aed07
drm/amdkfd: Make get_tile_config() generic

Given we can query all the asic specific information from amdgpu_gfx_config,
we can make get_tile_config() generic.

Signed-off-by: Yong Zhao <Yong.Zhao@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.h
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_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h