Home
last modified time | relevance | path

Searched refs:IP_VERSION (Results 1 – 25 of 101) sorted by relevance

12345

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c326 if ((adev->ip_versions[UVD_HWIP][1] == IP_VERSION(3, 0, 1)) && in amdgpu_discovery_harvest_config_quirk()
327 (adev->ip_versions[GC_HWIP][0] == IP_VERSION(10, 3, 2))) { in amdgpu_discovery_harvest_config_quirk()
1353 IP_VERSION(ip->major, ip->minor, ip->revision); in amdgpu_discovery_reg_base_init()
1378 if (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 2, 0) && in amdgpu_discovery_harvest_ip()
1379 adev->ip_versions[GC_HWIP][0] != IP_VERSION(9, 4, 3)) { in amdgpu_discovery_harvest_ip()
1623 case IP_VERSION(9, 0, 1): in amdgpu_discovery_set_common_ip_blocks()
1624 case IP_VERSION(9, 1, 0): in amdgpu_discovery_set_common_ip_blocks()
1625 case IP_VERSION(9, 2, 1): in amdgpu_discovery_set_common_ip_blocks()
1626 case IP_VERSION(9, 2, 2): in amdgpu_discovery_set_common_ip_blocks()
1627 case IP_VERSION(9, 3, 0): in amdgpu_discovery_set_common_ip_blocks()
[all …]
H A Damdgpu_ucode.c1065 case IP_VERSION(9, 0, 0): in amdgpu_ucode_legacy_naming()
1074 case IP_VERSION(10, 0, 0): in amdgpu_ucode_legacy_naming()
1075 case IP_VERSION(10, 0, 1): in amdgpu_ucode_legacy_naming()
1084 case IP_VERSION(11, 0, 0): in amdgpu_ucode_legacy_naming()
1086 case IP_VERSION(11, 0, 2): in amdgpu_ucode_legacy_naming()
1088 case IP_VERSION(11, 0, 3): in amdgpu_ucode_legacy_naming()
1090 case IP_VERSION(11, 0, 4): in amdgpu_ucode_legacy_naming()
1092 case IP_VERSION(11, 0, 5): in amdgpu_ucode_legacy_naming()
1094 case IP_VERSION(11, 0, 7): in amdgpu_ucode_legacy_naming()
1096 case IP_VERSION(11, 0, 9): in amdgpu_ucode_legacy_naming()
[all …]
H A Dgmc_v9_0.c642 if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 3)) in gmc_v9_0_process_interrupt()
656 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(9, 4, 2))) in gmc_v9_0_process_interrupt()
674 case IP_VERSION(9, 0, 0): in gmc_v9_0_process_interrupt()
677 case IP_VERSION(9, 3, 0): in gmc_v9_0_process_interrupt()
680 case IP_VERSION(9, 4, 0): in gmc_v9_0_process_interrupt()
683 case IP_VERSION(9, 4, 1): in gmc_v9_0_process_interrupt()
686 case IP_VERSION(9, 1, 0): in gmc_v9_0_process_interrupt()
687 case IP_VERSION(9, 2, 0): in gmc_v9_0_process_interrupt()
690 case IP_VERSION(1, 5, 0): in gmc_v9_0_process_interrupt()
691 case IP_VERSION(2, 4, 0): in gmc_v9_0_process_interrupt()
[all …]
H A Dnv.c218 case IP_VERSION(3, 0, 0): in nv_query_video_codecs()
219 case IP_VERSION(3, 0, 64): in nv_query_video_codecs()
220 case IP_VERSION(3, 0, 192): in nv_query_video_codecs()
247 case IP_VERSION(3, 0, 16): in nv_query_video_codecs()
248 case IP_VERSION(3, 0, 2): in nv_query_video_codecs()
254 case IP_VERSION(3, 1, 1): in nv_query_video_codecs()
255 case IP_VERSION(3, 1, 2): in nv_query_video_codecs()
261 case IP_VERSION(3, 0, 33): in nv_query_video_codecs()
267 case IP_VERSION(2, 0, 0): in nv_query_video_codecs()
268 case IP_VERSION(2, 0, 2): in nv_query_video_codecs()
[all …]
H A Dgmc_v10_0.c148 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 3, 0))) in gmc_v10_0_process_interrupt()
281 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 3, 0))) in gmc_v10_0_flush_vm_hub()
684 case IP_VERSION(8, 7, 0): in gmc_v10_0_set_umc_funcs()
701 case IP_VERSION(2, 3, 0): in gmc_v10_0_set_mmhub_funcs()
702 case IP_VERSION(2, 4, 0): in gmc_v10_0_set_mmhub_funcs()
703 case IP_VERSION(2, 4, 1): in gmc_v10_0_set_mmhub_funcs()
715 case IP_VERSION(10, 3, 0): in gmc_v10_0_set_gfxhub_funcs()
716 case IP_VERSION(10, 3, 2): in gmc_v10_0_set_gfxhub_funcs()
717 case IP_VERSION(10, 3, 1): in gmc_v10_0_set_gfxhub_funcs()
718 case IP_VERSION(10, 3, 4): in gmc_v10_0_set_gfxhub_funcs()
[all …]
H A Dhdp_v4_0.c54 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0) || in hdp_v4_0_invalidate_hdp()
55 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 2)) in hdp_v4_0_invalidate_hdp()
87 if (adev->ip_versions[HDP_HWIP][0] >= IP_VERSION(4, 4, 0)) in hdp_v4_0_reset_ras_error_count()
99 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 0) || in hdp_v4_0_update_clock_gating()
100 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 1) || in hdp_v4_0_update_clock_gating()
101 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 1) || in hdp_v4_0_update_clock_gating()
102 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 0)) { in hdp_v4_0_update_clock_gating()
145 case IP_VERSION(4, 2, 1): in hdp_v4_0_init_registers()
154 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0)) in hdp_v4_0_init_registers()
H A Damdgpu_reset.c42 case IP_VERSION(13, 0, 2): in amdgpu_reset_init()
43 case IP_VERSION(13, 0, 6): in amdgpu_reset_init()
46 case IP_VERSION(11, 0, 7): in amdgpu_reset_init()
49 case IP_VERSION(13, 0, 10): in amdgpu_reset_init()
64 case IP_VERSION(13, 0, 2): in amdgpu_reset_fini()
65 case IP_VERSION(13, 0, 6): in amdgpu_reset_fini()
68 case IP_VERSION(11, 0, 7): in amdgpu_reset_fini()
71 case IP_VERSION(13, 0, 10): in amdgpu_reset_fini()
H A Dathub_v1_0.c72 case IP_VERSION(9, 0, 0): in athub_v1_0_set_clockgating()
73 case IP_VERSION(9, 1, 0): in athub_v1_0_set_clockgating()
74 case IP_VERSION(9, 2, 0): in athub_v1_0_set_clockgating()
75 case IP_VERSION(9, 3, 0): in athub_v1_0_set_clockgating()
76 case IP_VERSION(9, 4, 0): in athub_v1_0_set_clockgating()
77 case IP_VERSION(1, 5, 0): in athub_v1_0_set_clockgating()
H A Dsoc15.c179 case IP_VERSION(4, 0, 0): in soc15_query_video_codecs()
180 case IP_VERSION(4, 1, 0): in soc15_query_video_codecs()
191 case IP_VERSION(1, 0, 0): in soc15_query_video_codecs()
192 case IP_VERSION(1, 0, 1): in soc15_query_video_codecs()
198 case IP_VERSION(2, 5, 0): in soc15_query_video_codecs()
199 case IP_VERSION(2, 6, 0): in soc15_query_video_codecs()
200 case IP_VERSION(2, 2, 0): in soc15_query_video_codecs()
206 case IP_VERSION(4, 0, 3): in soc15_query_video_codecs()
327 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(12, 0, 0) || in soc15_get_xclk()
328 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(12, 0, 1) || in soc15_get_xclk()
[all …]
H A Dmmhub_v2_0.c155 case IP_VERSION(2, 0, 0): in mmhub_v2_0_print_l2_protection_fault_status()
156 case IP_VERSION(2, 0, 2): in mmhub_v2_0_print_l2_protection_fault_status()
159 case IP_VERSION(2, 1, 0): in mmhub_v2_0_print_l2_protection_fault_status()
160 case IP_VERSION(2, 1, 1): in mmhub_v2_0_print_l2_protection_fault_status()
163 case IP_VERSION(2, 1, 2): in mmhub_v2_0_print_l2_protection_fault_status()
572 case IP_VERSION(2, 1, 0): in mmhub_v2_0_update_medium_grain_clock_gating()
573 case IP_VERSION(2, 1, 1): in mmhub_v2_0_update_medium_grain_clock_gating()
574 case IP_VERSION(2, 1, 2): in mmhub_v2_0_update_medium_grain_clock_gating()
605 case IP_VERSION(2, 1, 0): in mmhub_v2_0_update_medium_grain_clock_gating()
606 case IP_VERSION(2, 1, 1): in mmhub_v2_0_update_medium_grain_clock_gating()
[all …]
H A Dnbio_v7_2.c63 case IP_VERSION(7, 2, 1): in nbio_v7_2_get_rev_id()
64 case IP_VERSION(7, 3, 0): in nbio_v7_2_get_rev_id()
65 case IP_VERSION(7, 5, 0): in nbio_v7_2_get_rev_id()
82 case IP_VERSION(7, 2, 1): in nbio_v7_2_mc_access_enable()
83 case IP_VERSION(7, 3, 0): in nbio_v7_2_mc_access_enable()
84 case IP_VERSION(7, 5, 0): in nbio_v7_2_mc_access_enable()
266 case IP_VERSION(7, 2, 1): in nbio_v7_2_update_medium_grain_light_sleep()
267 case IP_VERSION(7, 3, 0): in nbio_v7_2_update_medium_grain_light_sleep()
268 case IP_VERSION(7, 5, 0): in nbio_v7_2_update_medium_grain_light_sleep()
373 case IP_VERSION(7, 2, 1): in nbio_v7_2_init_registers()
[all …]
H A Damdgpu_gmc.c589 case IP_VERSION(9, 2, 2): in amdgpu_gmc_tmz_set()
590 case IP_VERSION(9, 1, 0): in amdgpu_gmc_tmz_set()
592 case IP_VERSION(9, 3, 0): in amdgpu_gmc_tmz_set()
594 case IP_VERSION(10, 3, 7): in amdgpu_gmc_tmz_set()
596 case IP_VERSION(11, 0, 1): in amdgpu_gmc_tmz_set()
607 case IP_VERSION(10, 1, 10): in amdgpu_gmc_tmz_set()
608 case IP_VERSION(10, 1, 1): in amdgpu_gmc_tmz_set()
609 case IP_VERSION(10, 1, 2): in amdgpu_gmc_tmz_set()
610 case IP_VERSION(10, 1, 3): in amdgpu_gmc_tmz_set()
611 case IP_VERSION(10, 3, 0): in amdgpu_gmc_tmz_set()
[all …]
H A Dathub_v3_0.c40 case IP_VERSION(3, 0, 1): in athub_v3_0_get_cg_cntl()
53 case IP_VERSION(3, 0, 1): in athub_v3_0_set_cg_cntl()
103 case IP_VERSION(3, 0, 0): in athub_v3_0_set_clockgating()
104 case IP_VERSION(3, 0, 1): in athub_v3_0_set_clockgating()
105 case IP_VERSION(3, 0, 2): in athub_v3_0_set_clockgating()
H A Dsoc21.c157 case IP_VERSION(4, 0, 0): in soc21_query_video_codecs()
158 case IP_VERSION(4, 0, 2): in soc21_query_video_codecs()
159 case IP_VERSION(4, 0, 4): in soc21_query_video_codecs()
377 case IP_VERSION(13, 0, 0): in soc21_asic_reset_method()
378 case IP_VERSION(13, 0, 7): in soc21_asic_reset_method()
379 case IP_VERSION(13, 0, 10): in soc21_asic_reset_method()
381 case IP_VERSION(13, 0, 4): in soc21_asic_reset_method()
382 case IP_VERSION(13, 0, 11): in soc21_asic_reset_method()
451 case IP_VERSION(11, 0, 0): in soc21_need_full_reset()
452 case IP_VERSION(11, 0, 2): in soc21_need_full_reset()
[all …]
H A Dathub_v2_1.c74 case IP_VERSION(2, 1, 0): in athub_v2_1_set_clockgating()
75 case IP_VERSION(2, 1, 1): in athub_v2_1_set_clockgating()
76 case IP_VERSION(2, 1, 2): in athub_v2_1_set_clockgating()
77 case IP_VERSION(2, 4, 0): in athub_v2_1_set_clockgating()
H A Dgfx_v10_0.c3631 case IP_VERSION(10, 1, 10): in gfx_v10_0_init_spm_golden_registers()
3636 case IP_VERSION(10, 1, 1): in gfx_v10_0_init_spm_golden_registers()
3641 case IP_VERSION(10, 1, 2): in gfx_v10_0_init_spm_golden_registers()
3654 case IP_VERSION(10, 1, 10): in gfx_v10_0_init_golden_registers()
3662 case IP_VERSION(10, 1, 1): in gfx_v10_0_init_golden_registers()
3670 case IP_VERSION(10, 1, 2): in gfx_v10_0_init_golden_registers()
3678 case IP_VERSION(10, 3, 0): in gfx_v10_0_init_golden_registers()
3686 case IP_VERSION(10, 3, 2): in gfx_v10_0_init_golden_registers()
3691 case IP_VERSION(10, 3, 1): in gfx_v10_0_init_golden_registers()
3696 case IP_VERSION(10, 3, 3): in gfx_v10_0_init_golden_registers()
[all …]
H A Dpsp_v13_0.c86 case IP_VERSION(13, 0, 2): in psp_v13_0_init_microcode()
97 case IP_VERSION(13, 0, 1): in psp_v13_0_init_microcode()
98 case IP_VERSION(13, 0, 3): in psp_v13_0_init_microcode()
99 case IP_VERSION(13, 0, 5): in psp_v13_0_init_microcode()
100 case IP_VERSION(13, 0, 8): in psp_v13_0_init_microcode()
101 case IP_VERSION(13, 0, 11): in psp_v13_0_init_microcode()
102 case IP_VERSION(14, 0, 0): in psp_v13_0_init_microcode()
110 case IP_VERSION(13, 0, 0): in psp_v13_0_init_microcode()
111 case IP_VERSION(13, 0, 6): in psp_v13_0_init_microcode()
112 case IP_VERSION(13, 0, 7): in psp_v13_0_init_microcode()
[all …]
H A Damdgpu_psp.c104 case IP_VERSION(11, 0, 0): in psp_check_pmfw_centralized_cstate_management()
105 case IP_VERSION(11, 0, 4): in psp_check_pmfw_centralized_cstate_management()
106 case IP_VERSION(11, 0, 5): in psp_check_pmfw_centralized_cstate_management()
107 case IP_VERSION(11, 0, 7): in psp_check_pmfw_centralized_cstate_management()
108 case IP_VERSION(11, 0, 9): in psp_check_pmfw_centralized_cstate_management()
109 case IP_VERSION(11, 0, 11): in psp_check_pmfw_centralized_cstate_management()
110 case IP_VERSION(11, 0, 12): in psp_check_pmfw_centralized_cstate_management()
111 case IP_VERSION(11, 0, 13): in psp_check_pmfw_centralized_cstate_management()
112 case IP_VERSION(13, 0, 0): in psp_check_pmfw_centralized_cstate_management()
113 case IP_VERSION(13, 0, 2): in psp_check_pmfw_centralized_cstate_management()
[all …]
H A Dathub_v2_0.c81 case IP_VERSION(1, 3, 1): in athub_v2_0_set_clockgating()
82 case IP_VERSION(2, 0, 0): in athub_v2_0_set_clockgating()
83 case IP_VERSION(2, 0, 2): in athub_v2_0_set_clockgating()
H A Dpsp_v11_0.c99 case IP_VERSION(11, 0, 2): in psp_v11_0_init_microcode()
100 case IP_VERSION(11, 0, 4): in psp_v11_0_init_microcode()
110 case IP_VERSION(11, 0, 0): in psp_v11_0_init_microcode()
111 case IP_VERSION(11, 0, 5): in psp_v11_0_init_microcode()
112 case IP_VERSION(11, 0, 9): in psp_v11_0_init_microcode()
122 case IP_VERSION(11, 0, 7): in psp_v11_0_init_microcode()
123 case IP_VERSION(11, 0, 11): in psp_v11_0_init_microcode()
124 case IP_VERSION(11, 0, 12): in psp_v11_0_init_microcode()
125 case IP_VERSION(11, 0, 13): in psp_v11_0_init_microcode()
131 case IP_VERSION(11, 5, 0): in psp_v11_0_init_microcode()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c71 case IP_VERSION(4, 0, 0):/* VEGA10 */ in kfd_device_info_set_sdma_info()
72 case IP_VERSION(4, 0, 1):/* VEGA12 */ in kfd_device_info_set_sdma_info()
73 case IP_VERSION(4, 1, 0):/* RAVEN */ in kfd_device_info_set_sdma_info()
74 case IP_VERSION(4, 1, 1):/* RAVEN */ in kfd_device_info_set_sdma_info()
75 case IP_VERSION(4, 1, 2):/* RENOIR */ in kfd_device_info_set_sdma_info()
76 case IP_VERSION(5, 2, 1):/* VANGOGH */ in kfd_device_info_set_sdma_info()
77 case IP_VERSION(5, 2, 3):/* YELLOW_CARP */ in kfd_device_info_set_sdma_info()
78 case IP_VERSION(5, 2, 6):/* GC 10.3.6 */ in kfd_device_info_set_sdma_info()
79 case IP_VERSION(5, 2, 7):/* GC 10.3.7 */ in kfd_device_info_set_sdma_info()
82 case IP_VERSION(4, 2, 0):/* VEGA20 */ in kfd_device_info_set_sdma_info()
[all …]
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(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 …]
H A Dkfd_crat.c1450 case IP_VERSION(9, 0, 1): in kfd_get_gpu_cache_info()
1454 case IP_VERSION(9, 2, 1): in kfd_get_gpu_cache_info()
1458 case IP_VERSION(9, 4, 0): in kfd_get_gpu_cache_info()
1459 case IP_VERSION(9, 4, 1): in kfd_get_gpu_cache_info()
1463 case IP_VERSION(9, 4, 2): in kfd_get_gpu_cache_info()
1464 case IP_VERSION(9, 4, 3): in kfd_get_gpu_cache_info()
1468 case IP_VERSION(9, 1, 0): in kfd_get_gpu_cache_info()
1469 case IP_VERSION(9, 2, 2): in kfd_get_gpu_cache_info()
1473 case IP_VERSION(9, 3, 0): in kfd_get_gpu_cache_info()
1477 case IP_VERSION(10, 1, 10): in kfd_get_gpu_cache_info()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c466 if (adev->ip_versions[MP1_HWIP][0] >= IP_VERSION(11, 0, 0)) in is_support_sw_smu()
586 case IP_VERSION(11, 0, 0): in smu_set_funcs()
587 case IP_VERSION(11, 0, 5): in smu_set_funcs()
588 case IP_VERSION(11, 0, 9): in smu_set_funcs()
591 case IP_VERSION(11, 0, 7): in smu_set_funcs()
592 case IP_VERSION(11, 0, 11): in smu_set_funcs()
593 case IP_VERSION(11, 0, 12): in smu_set_funcs()
594 case IP_VERSION(11, 0, 13): in smu_set_funcs()
597 case IP_VERSION(12, 0, 0): in smu_set_funcs()
598 case IP_VERSION(12, 0, 1): in smu_set_funcs()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c2016 if (gc_ver < IP_VERSION(9, 0, 0)) in default_attr_update()
2019 if (gc_ver < IP_VERSION(9, 0, 0) || in default_attr_update()
2023 if (mp1_ver < IP_VERSION(10, 0, 0)) in default_attr_update()
2030 if (adev->flags & AMD_IS_APU || gc_ver == IP_VERSION(9, 0, 1)) in default_attr_update()
2038 case IP_VERSION(9, 0, 1): in default_attr_update()
2039 case IP_VERSION(9, 4, 0): in default_attr_update()
2040 case IP_VERSION(9, 4, 1): in default_attr_update()
2041 case IP_VERSION(9, 4, 2): in default_attr_update()
2042 case IP_VERSION(9, 4, 3): in default_attr_update()
2043 case IP_VERSION(10, 3, 0): in default_attr_update()
[all …]

12345