/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 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() 1628 case IP_VERSION(9, 4, 0): in amdgpu_discovery_set_common_ip_blocks() 1629 case IP_VERSION(9, 4, 1): in amdgpu_discovery_set_common_ip_blocks() 1630 case IP_VERSION(9, 4, 2): in amdgpu_discovery_set_common_ip_blocks() 1631 case IP_VERSION(9, 4, 3): in amdgpu_discovery_set_common_ip_blocks() 1669 case IP_VERSION(9, 0, 1): in amdgpu_discovery_set_gmc_ip_blocks() [all …]
|
H A D | amdgpu_ucode.c | 1065 case IP_VERSION(9, 0, 0): in amdgpu_ucode_legacy_naming() 1116 case IP_VERSION(9, 0, 0): in amdgpu_ucode_legacy_naming() 1142 case IP_VERSION(4, 0, 0): in amdgpu_ucode_legacy_naming() 1144 case IP_VERSION(4, 0, 1): in amdgpu_ucode_legacy_naming() 1146 case IP_VERSION(4, 1, 0): in amdgpu_ucode_legacy_naming() 1147 case IP_VERSION(4, 1, 1): in amdgpu_ucode_legacy_naming() 1153 case IP_VERSION(4, 1, 2): in amdgpu_ucode_legacy_naming() 1157 case IP_VERSION(4, 2, 0): in amdgpu_ucode_legacy_naming() 1159 case IP_VERSION(4, 2, 2): in amdgpu_ucode_legacy_naming() 1161 case IP_VERSION(4, 4, 0): in amdgpu_ucode_legacy_naming() [all …]
|
H A D | gmc_v9_0.c | 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() 1194 case IP_VERSION(9, 4, 1): in gmc_v9_0_get_coherence_flags() 1195 case IP_VERSION(9, 4, 2): in gmc_v9_0_get_coherence_flags() [all …]
|
H A D | nv.c | 218 case IP_VERSION(3, 0, 0): in nv_query_video_codecs() 219 case IP_VERSION(3, 0, 64): 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() 457 case IP_VERSION(11, 5, 0): in nv_asic_reset_method() [all …]
|
H A D | hdp_v4_0.c | 52 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0) || in hdp_v4_0_invalidate_hdp() 53 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 2)) in hdp_v4_0_invalidate_hdp() 83 if (adev->ip_versions[HDP_HWIP][0] >= IP_VERSION(4, 4, 0)) in hdp_v4_0_reset_ras_error_count() 95 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 0) || in hdp_v4_0_update_clock_gating() 96 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 1) || in hdp_v4_0_update_clock_gating() 97 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 1) || in hdp_v4_0_update_clock_gating() 98 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 0)) { in hdp_v4_0_update_clock_gating() 141 case IP_VERSION(4, 2, 1): in hdp_v4_0_init_registers() 150 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0)) in hdp_v4_0_init_registers()
|
H A D | gmc_v10_0.c | 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() 719 case IP_VERSION(10, 3, 5): in gmc_v10_0_set_gfxhub_funcs() 720 case IP_VERSION(10, 3, 6): in gmc_v10_0_set_gfxhub_funcs() [all …]
|
H A D | amdgpu_reset.c | 42 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 D | athub_v1_0.c | 72 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 D | soc15.c | 179 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() 532 case IP_VERSION(9, 0, 0): in soc15_asic_reset_method() 626 case IP_VERSION(9, 0, 0): in soc15_supports_baco() [all …]
|
H A D | mmhub_v2_0.c | 155 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 D | nbio_v7_2.c | 63 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 D | amdgpu_gmc.c | 589 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() 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() 612 case IP_VERSION(10, 3, 2): in amdgpu_gmc_tmz_set() [all …]
|
H A D | athub_v3_0.c | 40 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 D | athub_v2_1.c | 74 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 D | soc21.c | 157 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() 381 case IP_VERSION(13, 0, 4): in soc21_asic_reset_method() 858 case IP_VERSION(4, 3, 0): in soc21_common_set_clockgating_state() 859 case IP_VERSION(4, 3, 1): in soc21_common_set_clockgating_state() 860 case IP_VERSION(7, 7, 0): in soc21_common_set_clockgating_state() 880 case IP_VERSION(6, 0, 0): in soc21_common_set_powergating_state() [all …]
|
H A D | psp_v13_0.c | 86 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 D | gfx_v10_0.c | 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() 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() 3701 case IP_VERSION(10, 3, 4): in gfx_v10_0_init_golden_registers() 3706 case IP_VERSION(10, 3, 5): in gfx_v10_0_init_golden_registers() [all …]
|
H A D | athub_v2_0.c | 81 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 D | amdgpu_psp.c | 104 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() 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() 114 case IP_VERSION(13, 0, 7): in psp_check_pmfw_centralized_cstate_management() 132 case IP_VERSION(9, 0, 0): in psp_init_sriov_microcode() 133 case IP_VERSION(11, 0, 7): in psp_init_sriov_microcode() [all …]
|
H A D | psp_v11_0.c | 99 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 D | kfd_device.c | 85 case IP_VERSION(4, 4, 2): in kfd_device_info_set_sdma_info() 94 case IP_VERSION(6, 0, 0): in kfd_device_info_set_sdma_info() 95 case IP_VERSION(6, 0, 1): in kfd_device_info_set_sdma_info() 96 case IP_VERSION(6, 0, 2): in kfd_device_info_set_sdma_info() 97 case IP_VERSION(6, 0, 3): in kfd_device_info_set_sdma_info() 110 case IP_VERSION(6, 0, 0): in kfd_device_info_set_sdma_info() 111 case IP_VERSION(6, 0, 1): in kfd_device_info_set_sdma_info() 112 case IP_VERSION(6, 0, 2): in kfd_device_info_set_sdma_info() 113 case IP_VERSION(6, 0, 3): in kfd_device_info_set_sdma_info() 150 case IP_VERSION(10, 1, 4): in kfd_device_info_set_event_interrupt_class() [all …]
|
H A D | kfd_debug.h | 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() 101 KFD_GC_VERSION(dev) == IP_VERSION(10, 1, 1)); in kfd_dbg_is_rlc_restore_supported() 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() 117 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 0) in kfd_dbg_has_gws_support() 119 (KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 1) in kfd_dbg_has_gws_support() 121 (KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0) && in kfd_dbg_has_gws_support() 122 KFD_GC_VERSION(dev) < IP_VERSION(12, 0, 0))) in kfd_dbg_has_gws_support() [all …]
|
H A D | kfd_crat.c | 1450 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() 1478 case IP_VERSION(10, 1, 2): in kfd_get_gpu_cache_info() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 585 case IP_VERSION(11, 0, 0): in smu_set_funcs() 586 case IP_VERSION(11, 0, 5): in smu_set_funcs() 587 case IP_VERSION(11, 0, 9): in smu_set_funcs() 590 case IP_VERSION(11, 0, 7): in smu_set_funcs() 596 case IP_VERSION(12, 0, 0): in smu_set_funcs() 597 case IP_VERSION(12, 0, 1): in smu_set_funcs() 600 case IP_VERSION(11, 5, 0): in smu_set_funcs() 603 case IP_VERSION(13, 0, 1): in smu_set_funcs() 604 case IP_VERSION(13, 0, 3): in smu_set_funcs() 605 case IP_VERSION(13, 0, 8): in smu_set_funcs() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 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() 2044 case IP_VERSION(11, 0, 0): in default_attr_update() 2099 case IP_VERSION(9, 4, 1): in default_attr_update() 2100 case IP_VERSION(9, 4, 2): in default_attr_update() 2109 case IP_VERSION(10, 3, 0): in default_attr_update() [all …]
|