Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdkfd: add supported CZ devices PCI IDs to amdkfd

This patch adds the PCI IDs of supported CZ devices to the
supported_devices structure in amdkfd. That structure is used during the
amdkfd probing stage, to check if the currently probed device is eligible
to be handled by amdkfd.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>

authored by

Ben Goz and committed by
Oded Gabbay
123576d1 bd72a72c

+6 -1
+6 -1
drivers/gpu/drm/amd/amdkfd/kfd_device.c
··· 80 80 { 0x1318, &kaveri_device_info }, /* Kaveri */ 81 81 { 0x131B, &kaveri_device_info }, /* Kaveri */ 82 82 { 0x131C, &kaveri_device_info }, /* Kaveri */ 83 - { 0x131D, &kaveri_device_info } /* Kaveri */ 83 + { 0x131D, &kaveri_device_info }, /* Kaveri */ 84 + { 0x9870, &carrizo_device_info }, /* Carrizo */ 85 + { 0x9874, &carrizo_device_info }, /* Carrizo */ 86 + { 0x9875, &carrizo_device_info }, /* Carrizo */ 87 + { 0x9876, &carrizo_device_info }, /* Carrizo */ 88 + { 0x9877, &carrizo_device_info } /* Carrizo */ 84 89 }; 85 90 86 91 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size,