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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdkfd: add GC 11.0.1 KFD support

Add initial support for GC 11.0.1 in KFD compute driver.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Huang Rui and committed by
Alex Deucher
26776a70 b0abae7d

+8
+1
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
··· 1520 1520 num_of_cache_types = ARRAY_SIZE(yellow_carp_cache_info); 1521 1521 break; 1522 1522 case IP_VERSION(11, 0, 0): 1523 + case IP_VERSION(11, 0, 1): 1523 1524 case IP_VERSION(11, 0, 2): 1524 1525 pcache_info = cache_info; 1525 1526 num_of_cache_types =
+7
drivers/gpu/drm/amd/amdkfd/kfd_device.c
··· 73 73 case IP_VERSION(4, 1, 2):/* RENOIR */ 74 74 case IP_VERSION(5, 2, 1):/* VANGOGH */ 75 75 case IP_VERSION(5, 2, 3):/* YELLOW_CARP */ 76 + case IP_VERSION(6, 0, 1): 76 77 kfd->device_info.num_sdma_queues_per_engine = 2; 77 78 break; 78 79 case IP_VERSION(4, 2, 0):/* VEGA20 */ ··· 100 99 101 100 switch (sdma_version) { 102 101 case IP_VERSION(6, 0, 0): 102 + case IP_VERSION(6, 0, 1): 103 103 case IP_VERSION(6, 0, 2): 104 104 /* Reserve 1 for paging and 1 for gfx */ 105 105 kfd->device_info.num_reserved_sdma_queues_per_engine = 2; ··· 139 137 kfd->device_info.event_interrupt_class = &event_interrupt_class_v9; 140 138 break; 141 139 case IP_VERSION(11, 0, 0): 140 + case IP_VERSION(11, 0, 1): 142 141 case IP_VERSION(11, 0, 2): 143 142 kfd->device_info.event_interrupt_class = &event_interrupt_class_v11; 144 143 break; ··· 370 367 break; 371 368 case IP_VERSION(11, 0, 0): 372 369 gfx_target_version = 110000; 370 + f2g = &gfx_v11_kfd2kgd; 371 + break; 372 + case IP_VERSION(11, 0, 1): 373 + gfx_target_version = 110003; 373 374 f2g = &gfx_v11_kfd2kgd; 374 375 break; 375 376 case IP_VERSION(11, 0, 2):