Home
last modified time | relevance | path

Searched refs:KFD_GC_VERSION (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_debug.h79 return (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 2) || in kfd_dbg_is_per_vmid_supported()
80 KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3) || in kfd_dbg_is_per_vmid_supported()
81 KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0)); in kfd_dbg_is_per_vmid_supported()
100 return !(KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 10) || in kfd_dbg_is_rlc_restore_supported()
101 KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 1)); in kfd_dbg_is_rlc_restore_supported()
106 return KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0) && in kfd_dbg_has_cwsr_workaround()
107 KFD_GC_VERSION(dev) <= IP_VERSION(11, 0, 3); in kfd_dbg_has_cwsr_workaround()
112 if ((KFD_GC_VERSION(dev) == IP_VERSION(9, 0, 1) in kfd_dbg_has_gws_support()
114 (KFD_GC_VERSION(dev) >= IP_VERSION(9, 1, 0) in kfd_dbg_has_gws_support()
115 && KFD_GC_VERSION(dev) <= IP_VERSION(9, 2, 2) in kfd_dbg_has_gws_support()
[all …]
Dkfd_device.c128 uint32_t gc_version = KFD_GC_VERSION(kfd); in kfd_device_info_set_event_interrupt_class()
177 uint32_t gc_version = KFD_GC_VERSION(kfd); in kfd_device_info_init()
445 if (KFD_GC_VERSION(kfd) < IP_VERSION(9, 0, 1)) { in kfd_cwsr_init()
449 } else if (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 1)) { in kfd_cwsr_init()
453 } else if (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 2)) { in kfd_cwsr_init()
457 } else if (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 3)) { in kfd_cwsr_init()
461 } else if (KFD_GC_VERSION(kfd) < IP_VERSION(10, 1, 1)) { in kfd_cwsr_init()
465 } else if (KFD_GC_VERSION(kfd) < IP_VERSION(10, 3, 0)) { in kfd_cwsr_init()
469 } else if (KFD_GC_VERSION(kfd) < IP_VERSION(11, 0, 0)) { in kfd_cwsr_init()
493 ((KFD_GC_VERSION(node) == IP_VERSION(9, 0, 1) in kfd_gws_init()
[all …]
Dkfd_priv.h205 #define KFD_GC_VERSION(dev) ((dev)->adev->ip_versions[GC_HWIP][0]) macro
206 #define KFD_IS_SOC15(dev) ((KFD_GC_VERSION(dev)) >= (IP_VERSION(9, 0, 1)))
208 ((KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 2)) || \
209 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3)))
1131 if (KFD_GC_VERSION(dev) != IP_VERSION(9, 4, 3)) in kfd_node_by_irq_ids()
1469 return KFD_GC_VERSION(dev) >= IP_VERSION(9, 4, 2) || in kfd_flush_tlb_after_unmap()
1470 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 1) && dev->sdma_fw_version >= 18) || in kfd_flush_tlb_after_unmap()
1471 KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 0); in kfd_flush_tlb_after_unmap()
Dkfd_mqd_manager.c104 bool wgp_mode_req = KFD_GC_VERSION(mm->dev) >= IP_VERSION(10, 0, 0); in mqd_symmetrically_map_cu_mask()
131 cu_bitmap_sh_mul = (KFD_GC_VERSION(mm->dev) >= IP_VERSION(11, 0, 0) && in mqd_symmetrically_map_cu_mask()
132 KFD_GC_VERSION(mm->dev) < IP_VERSION(12, 0, 0)) ? 2 : 1; in mqd_symmetrically_map_cu_mask()
Dkfd_packet_manager.c241 if (KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 2) || in pm_init()
242 KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 3)) in pm_init()
244 else if (KFD_GC_VERSION(dqm->dev) >= IP_VERSION(9, 0, 1)) in pm_init()
Dkfd_topology.c1234 KFD_GC_VERSION(to_dev->gpu) == IP_VERSION(9, 4, 0))) { in kfd_set_iolink_non_coherent()
1826 if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(11, 0, 0) && in kfd_topology_set_dbg_firmware_support()
1827 KFD_GC_VERSION(dev->gpu) < IP_VERSION(12, 0, 0)) { in kfd_topology_set_dbg_firmware_support()
1842 switch (KFD_GC_VERSION(dev->gpu)) { in kfd_topology_set_dbg_firmware_support()
1897 if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(10, 0, 0)) { in kfd_topology_set_capabilities()
1898 if (KFD_GC_VERSION(dev->gpu) == IP_VERSION(9, 4, 3)) in kfd_topology_set_capabilities()
1907 if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(9, 4, 2)) in kfd_topology_set_capabilities()
1914 if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(11, 0, 0)) in kfd_topology_set_capabilities()
1989 if (KFD_GC_VERSION(dev->gpu->kfd) == IP_VERSION(9, 4, 3)) in kfd_topology_add_device()
2039 if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(9, 0, 1)) in kfd_topology_add_device()
[all …]
Dkfd_device_queue_manager_v9.c66 if (KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 3)) in update_qpd_v9()
Dkfd_int_process_v9.c196 switch (KFD_GC_VERSION(dev)) { in context_id_expected()
209 return KFD_GC_VERSION(dev) >= IP_VERSION(9, 4, 1); in context_id_expected()
Dkfd_mqd_manager_v9.c80 if (KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 3)) { in update_cu_mask()
302 if (KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 3)) in update_mqd()
851 if (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3)) { in mqd_manager_init_v9()
876 if (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3)) { in mqd_manager_init_v9()
Dkfd_flat_memory.c402 if (KFD_GC_VERSION(dev) >= IP_VERSION(9, 0, 1)) in kfd_init_apertures()
Dkfd_process_queue_manager.c128 if (KFD_GC_VERSION(dev) != IP_VERSION(9, 4, 3) && !dev->kfd->shared_resources.enable_mes) { in pqm_set_gws()
189 if (KFD_GC_VERSION(pqn->q->device) != IP_VERSION(9, 4, 3) && in pqm_clean_queue_resource()
291 if (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3)) in pqm_create_queue()
553 KFD_GC_VERSION(pqn->q->device) >= IP_VERSION(10, 0, 0)) { in pqm_update_mqd()
Dkfd_int_process_v10.c352 KFD_GC_VERSION(dev) == IP_VERSION(10, 3, 0)) || in event_interrupt_wq_v10()
Dkfd_crat.c1449 switch (KFD_GC_VERSION(kdev)) { in kfd_get_gpu_cache_info()
1938 (KFD_GC_VERSION(kdev) == IP_VERSION(9, 4, 3) && in kfd_fill_gpu_direct_io_link_to_cpu()
1941 bool ext_cpu = KFD_GC_VERSION(kdev) != IP_VERSION(9, 4, 3); in kfd_fill_gpu_direct_io_link_to_cpu()
Dkfd_device_queue_manager.c1668 (KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 3))) { in start_cpsch()
2577 if (KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0)) in device_queue_manager_init()
2579 else if (KFD_GC_VERSION(dev) >= IP_VERSION(10, 1, 1)) in device_queue_manager_init()
2581 else if (KFD_GC_VERSION(dev) >= IP_VERSION(9, 0, 1)) in device_queue_manager_init()
Dkfd_process.c1435 if (KFD_GC_VERSION(dev) >= IP_VERSION(10, 1, 1)) in kfd_process_xnack_mode()
2115 if (KFD_GC_VERSION(pdd->dev->kfd) == IP_VERSION(9, 4, 3)) { in kfd_process_drain_interrupts()