提交 1d636698 编写于 作者: F Felix Kuehling 提交者: Oded Gabbay

drm/amdkfd: Add dGPU support to kernel_queue_init

Recognize dGPU ASIC families.
Signed-off-by: NFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: NOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
上级 ee04955a
...@@ -297,10 +297,15 @@ struct kernel_queue *kernel_queue_init(struct kfd_dev *dev, ...@@ -297,10 +297,15 @@ struct kernel_queue *kernel_queue_init(struct kfd_dev *dev,
switch (dev->device_info->asic_family) { switch (dev->device_info->asic_family) {
case CHIP_CARRIZO: case CHIP_CARRIZO:
case CHIP_TONGA:
case CHIP_FIJI:
case CHIP_POLARIS10:
case CHIP_POLARIS11:
kernel_queue_init_vi(&kq->ops_asic_specific); kernel_queue_init_vi(&kq->ops_asic_specific);
break; break;
case CHIP_KAVERI: case CHIP_KAVERI:
case CHIP_HAWAII:
kernel_queue_init_cik(&kq->ops_asic_specific); kernel_queue_init_cik(&kq->ops_asic_specific);
break; break;
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册