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

drm/amdkfd: add GC 11.0.4 KFD support

Add initial support for GC 11.0.4 in KFD compute driver.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Yifan Zhang and committed by
Alex Deucher
88c21c2b d0ca8248

+3
+1
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
··· 1521 1521 case IP_VERSION(11, 0, 1): 1522 1522 case IP_VERSION(11, 0, 2): 1523 1523 case IP_VERSION(11, 0, 3): 1524 + case IP_VERSION(11, 0, 4): 1524 1525 num_of_cache_types = 1525 1526 kfd_fill_gpu_cache_info_from_gfx_config(kdev, *pcache_info); 1526 1527 break;
+2
drivers/gpu/drm/amd/amdkfd/kfd_device.c
··· 153 153 case IP_VERSION(11, 0, 1): 154 154 case IP_VERSION(11, 0, 2): 155 155 case IP_VERSION(11, 0, 3): 156 + case IP_VERSION(11, 0, 4): 156 157 kfd->device_info.event_interrupt_class = &event_interrupt_class_v11; 157 158 break; 158 159 default: ··· 395 394 f2g = &gfx_v11_kfd2kgd; 396 395 break; 397 396 case IP_VERSION(11, 0, 1): 397 + case IP_VERSION(11, 0, 4): 398 398 gfx_target_version = 110003; 399 399 f2g = &gfx_v11_kfd2kgd; 400 400 break;