drm/amdkfd: Add multiple kgd support
authorXihan Zhang <xihan.zhang@amd.com>
Tue, 17 Mar 2015 11:32:53 +0000 (19:32 +0800)
committerOded Gabbay <oded.gabbay@amd.com>
Wed, 25 Mar 2015 12:02:05 +0000 (14:02 +0200)
commitcea405b172e3b1fd2cf9da5ec05c7d808d6af03d
tree02f0b670f9eb1ec27d2322bea19d70096ccdcec1
parentaffa7d86441a9fe1ddd67f4ed551ed41313da561
drm/amdkfd: Add multiple kgd support

The current code can only support one kgd instance. We have to
support multiple kgd instances in one system. i.e two amdgpu or two
radeon or one amdgpu + one radeon or more than two kgd instances.

Signed-off-by: Xihan Zhang <xihan.zhang@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
drivers/gpu/drm/amd/amdkfd/kfd_module.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h
drivers/gpu/drm/radeon/radeon_kfd.c