Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A 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(9, 4, 4) || in kfd_dbg_is_per_vmid_supported()
82 KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0)); in kfd_dbg_is_per_vmid_supported()
101 return !(KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 10) || in kfd_dbg_is_rlc_restore_supported()
102 KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 1)); in kfd_dbg_is_rlc_restore_supported()
107 return KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0) && in kfd_dbg_has_cwsr_workaround()
108 KFD_GC_VERSION(dev) <= IP_VERSION(11, 0, 3); in kfd_dbg_has_cwsr_workaround()
113 if ((KFD_GC_VERSION(dev) == IP_VERSION(9, 0, 1) in kfd_dbg_has_gws_support()
115 (KFD_GC_VERSION(dev) >= IP_VERSION(9, 1, 0) in kfd_dbg_has_gws_support()
[all …]
H A Dkfd_device_queue_manager_v9.c66 if (KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 3) || in update_qpd_v9()
67 KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 4)) in update_qpd_v9()
H A Dkfd_priv.h205 #define KFD_GC_VERSION(dev) (amdgpu_ip_version((dev)->adev, 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)) || \
210 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 4)))
1152 if (KFD_GC_VERSION(dev) != IP_VERSION(9, 4, 3) && in kfd_node_by_irq_ids()
1153 KFD_GC_VERSION(dev) != IP_VERSION(9, 4, 4)) in kfd_node_by_irq_ids()
1508 return KFD_GC_VERSION(dev) >= IP_VERSION(9, 4, 2) || in kfd_flush_tlb_after_unmap()
1509 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 1) && dev->sdma_fw_version >= 18) || in kfd_flush_tlb_after_unmap()
1510 KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 0); in kfd_flush_tlb_after_unmap()
H A Dkfd_mqd_manager_v9.c80 if (KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 3) && in update_cu_mask()
81 KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 4)) { in update_cu_mask()
303 if (KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 3) && in update_mqd()
304 KFD_GC_VERSION(mm->dev) != IP_VERSION(9, 4, 4)) in update_mqd()
308 if (minfo && KFD_GC_VERSION(mm->dev) >= IP_VERSION(9, 4, 2)) { in update_mqd()
887 if (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3) || in mqd_manager_init_v9()
888 KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 4)) { in mqd_manager_init_v9()
912 if (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 3) || in mqd_manager_init_v9()
913 KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 4)) { in mqd_manager_init_v9()
H A Dkfd_mqd_manager.c105 bool wgp_mode_req = KFD_GC_VERSION(mm->dev) >= IP_VERSION(10, 0, 0); in mqd_symmetrically_map_cu_mask()
133 cu_bitmap_sh_mul = (KFD_GC_VERSION(mm->dev) >= IP_VERSION(11, 0, 0) && in mqd_symmetrically_map_cu_mask()
134 KFD_GC_VERSION(mm->dev) < IP_VERSION(13, 0, 0)) ? 2 : 1; in mqd_symmetrically_map_cu_mask()
H A Dkfd_packet_manager.c249 if (KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 2) || in pm_init()
250 KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 3) || in pm_init()
251 KFD_GC_VERSION(dqm->dev) == IP_VERSION(9, 4, 4)) in pm_init()
253 else if (KFD_GC_VERSION(dqm->dev) >= IP_VERSION(9, 0, 1)) in pm_init()
H A Dkfd_topology.c1263 KFD_GC_VERSION(to_dev->gpu) == IP_VERSION(9, 4, 0))) { in kfd_set_iolink_non_coherent()
1716 if (KFD_GC_VERSION(knode) == IP_VERSION(9, 4, 3) || in fill_in_l2_l3_pcache()
1717 KFD_GC_VERSION(knode) == IP_VERSION(9, 4, 4)) in fill_in_l2_l3_pcache()
1916 if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(11, 0, 0) && in kfd_topology_set_dbg_firmware_support()
1917 KFD_GC_VERSION(dev->gpu) < IP_VERSION(12, 0, 0)) { in kfd_topology_set_dbg_firmware_support()
1932 switch (KFD_GC_VERSION(dev->gpu)) { in kfd_topology_set_dbg_firmware_support()
1987 if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(10, 0, 0)) { in kfd_topology_set_capabilities()
1988 if (KFD_GC_VERSION(dev->gpu) == IP_VERSION(9, 4, 3) || in kfd_topology_set_capabilities()
1989 KFD_GC_VERSION(dev->gpu) == IP_VERSION(9, 4, 4)) in kfd_topology_set_capabilities()
1998 if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(9, 4, 2)) in kfd_topology_set_capabilities()
[all …]
H A Dkfd_flat_memory.c410 if (KFD_GC_VERSION(dev) >= IP_VERSION(9, 0, 1)) in kfd_init_apertures()
H A Dkfd_int_process_v9.c240 switch (KFD_GC_VERSION(dev)) { in context_id_expected()
253 return KFD_GC_VERSION(dev) >= IP_VERSION(9, 4, 1); in context_id_expected()
H A Dkfd_int_process_v10.c296 KFD_GC_VERSION(dev) == IP_VERSION(10, 3, 0)) || in event_interrupt_wq_v10()
H A Dkfd_svm.c1302 if (KFD_GC_VERSION(node) >= IP_VERSION(12, 0, 0)) in svm_range_get_pte_flags()