/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 269 if ((adev->ip_versions[UVD_HWIP][1] == IP_VERSION(3, 0, 1)) && in amdgpu_discovery_harvest_config_quirk() 270 (adev->ip_versions[GC_HWIP][0] == IP_VERSION(10, 3, 2))) { in amdgpu_discovery_harvest_config_quirk() 1181 IP_VERSION(ip->major, ip->minor, ip->revision); in amdgpu_discovery_reg_base_init() 1253 if (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 2, 0)) { in amdgpu_discovery_harvest_ip() 1481 case IP_VERSION(9, 0, 1): in amdgpu_discovery_set_common_ip_blocks() 1482 case IP_VERSION(9, 1, 0): in amdgpu_discovery_set_common_ip_blocks() 1483 case IP_VERSION(9, 2, 1): in amdgpu_discovery_set_common_ip_blocks() 1484 case IP_VERSION(9, 2, 2): in amdgpu_discovery_set_common_ip_blocks() 1485 case IP_VERSION(9, 3, 0): in amdgpu_discovery_set_common_ip_blocks() 1486 case IP_VERSION(9, 4, 0): in amdgpu_discovery_set_common_ip_blocks() [all …]
|
D | nv.c | 185 case IP_VERSION(3, 0, 0): in nv_query_video_codecs() 186 case IP_VERSION(3, 0, 64): in nv_query_video_codecs() 187 case IP_VERSION(3, 0, 192): in nv_query_video_codecs() 200 case IP_VERSION(3, 0, 16): in nv_query_video_codecs() 201 case IP_VERSION(3, 0, 2): in nv_query_video_codecs() 207 case IP_VERSION(3, 1, 1): in nv_query_video_codecs() 208 case IP_VERSION(3, 1, 2): in nv_query_video_codecs() 214 case IP_VERSION(3, 0, 33): in nv_query_video_codecs() 220 case IP_VERSION(2, 0, 0): in nv_query_video_codecs() 221 case IP_VERSION(2, 0, 2): in nv_query_video_codecs() [all …]
|
D | gmc_v9_0.c | 605 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(9, 4, 2))) in gmc_v9_0_process_interrupt() 624 case IP_VERSION(9, 0, 0): in gmc_v9_0_process_interrupt() 627 case IP_VERSION(9, 3, 0): in gmc_v9_0_process_interrupt() 630 case IP_VERSION(9, 4, 0): in gmc_v9_0_process_interrupt() 633 case IP_VERSION(9, 4, 1): in gmc_v9_0_process_interrupt() 636 case IP_VERSION(9, 1, 0): in gmc_v9_0_process_interrupt() 637 case IP_VERSION(9, 2, 0): in gmc_v9_0_process_interrupt() 640 case IP_VERSION(1, 5, 0): in gmc_v9_0_process_interrupt() 641 case IP_VERSION(2, 4, 0): in gmc_v9_0_process_interrupt() 644 case IP_VERSION(9, 4, 2): in gmc_v9_0_process_interrupt() [all …]
|
D | gmc_v10_0.c | 141 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 3, 0))) in gmc_v10_0_process_interrupt() 276 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 3, 0))) in gmc_v10_0_flush_vm_hub() 675 case IP_VERSION(8, 7, 0): in gmc_v10_0_set_umc_funcs() 708 case IP_VERSION(2, 3, 0): in gmc_v10_0_set_mmhub_funcs() 709 case IP_VERSION(2, 4, 0): in gmc_v10_0_set_mmhub_funcs() 710 case IP_VERSION(2, 4, 1): in gmc_v10_0_set_mmhub_funcs() 722 case IP_VERSION(10, 3, 0): in gmc_v10_0_set_gfxhub_funcs() 723 case IP_VERSION(10, 3, 2): in gmc_v10_0_set_gfxhub_funcs() 724 case IP_VERSION(10, 3, 1): in gmc_v10_0_set_gfxhub_funcs() 725 case IP_VERSION(10, 3, 4): in gmc_v10_0_set_gfxhub_funcs() [all …]
|
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()
|
D | hdp_v4_0.c | 52 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0)) in hdp_v4_0_invalidate_hdp() 82 if (adev->ip_versions[HDP_HWIP][0] >= IP_VERSION(4, 4, 0)) in hdp_v4_0_reset_ras_error_count() 94 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 0) || in hdp_v4_0_update_clock_gating() 95 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 0, 1) || in hdp_v4_0_update_clock_gating() 96 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 1) || in hdp_v4_0_update_clock_gating() 97 adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 1, 0)) { in hdp_v4_0_update_clock_gating() 140 case IP_VERSION(4, 2, 1): in hdp_v4_0_init_registers() 149 if (adev->ip_versions[HDP_HWIP][0] == IP_VERSION(4, 4, 0)) in hdp_v4_0_init_registers()
|
D | amdgpu_gmc.c | 523 case IP_VERSION(9, 2, 2): in amdgpu_gmc_tmz_set() 524 case IP_VERSION(9, 1, 0): in amdgpu_gmc_tmz_set() 526 case IP_VERSION(9, 3, 0): in amdgpu_gmc_tmz_set() 528 case IP_VERSION(10, 3, 7): in amdgpu_gmc_tmz_set() 539 case IP_VERSION(10, 1, 10): in amdgpu_gmc_tmz_set() 540 case IP_VERSION(10, 1, 1): in amdgpu_gmc_tmz_set() 541 case IP_VERSION(10, 1, 2): in amdgpu_gmc_tmz_set() 542 case IP_VERSION(10, 1, 3): in amdgpu_gmc_tmz_set() 543 case IP_VERSION(10, 3, 0): in amdgpu_gmc_tmz_set() 544 case IP_VERSION(10, 3, 2): in amdgpu_gmc_tmz_set() [all …]
|
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 …]
|
D | soc15.c | 161 case IP_VERSION(4, 0, 0): in soc15_query_video_codecs() 162 case IP_VERSION(4, 1, 0): in soc15_query_video_codecs() 173 case IP_VERSION(1, 0, 0): in soc15_query_video_codecs() 174 case IP_VERSION(1, 0, 1): in soc15_query_video_codecs() 180 case IP_VERSION(2, 5, 0): in soc15_query_video_codecs() 181 case IP_VERSION(2, 6, 0): in soc15_query_video_codecs() 182 case IP_VERSION(2, 2, 0): in soc15_query_video_codecs() 344 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(12, 0, 0) || in soc15_get_xclk() 345 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(12, 0, 1)) in soc15_get_xclk() 347 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(10, 0, 0) || in soc15_get_xclk() [all …]
|
D | psp_v11_0.c | 99 case IP_VERSION(11, 0, 2): in psp_v11_0_init_microcode() 102 case IP_VERSION(11, 0, 0): in psp_v11_0_init_microcode() 105 case IP_VERSION(11, 0, 5): in psp_v11_0_init_microcode() 108 case IP_VERSION(11, 0, 9): in psp_v11_0_init_microcode() 111 case IP_VERSION(11, 0, 4): in psp_v11_0_init_microcode() 114 case IP_VERSION(11, 0, 7): in psp_v11_0_init_microcode() 117 case IP_VERSION(11, 0, 11): in psp_v11_0_init_microcode() 120 case IP_VERSION(11, 5, 0): in psp_v11_0_init_microcode() 123 case IP_VERSION(11, 0, 12): in psp_v11_0_init_microcode() 126 case IP_VERSION(11, 0, 13): in psp_v11_0_init_microcode() [all …]
|
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 …]
|
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()
|
D | soc21.c | 82 case IP_VERSION(4, 0, 0): in soc21_query_video_codecs() 83 case IP_VERSION(4, 0, 2): in soc21_query_video_codecs() 323 case IP_VERSION(13, 0, 0): in soc21_asic_reset_method() 324 case IP_VERSION(13, 0, 7): in soc21_asic_reset_method() 325 case IP_VERSION(13, 0, 10): in soc21_asic_reset_method() 327 case IP_VERSION(13, 0, 4): in soc21_asic_reset_method() 328 case IP_VERSION(13, 0, 11): in soc21_asic_reset_method() 425 case IP_VERSION(11, 0, 0): in soc21_need_full_reset() 427 case IP_VERSION(11, 0, 2): in soc21_need_full_reset() 428 case IP_VERSION(11, 0, 3): in soc21_need_full_reset() [all …]
|
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()
|
D | gfx_v10_0.c | 3645 case IP_VERSION(10, 1, 10): in gfx_v10_0_init_spm_golden_registers() 3650 case IP_VERSION(10, 1, 1): in gfx_v10_0_init_spm_golden_registers() 3655 case IP_VERSION(10, 1, 2): in gfx_v10_0_init_spm_golden_registers() 3668 case IP_VERSION(10, 1, 10): in gfx_v10_0_init_golden_registers() 3676 case IP_VERSION(10, 1, 1): in gfx_v10_0_init_golden_registers() 3684 case IP_VERSION(10, 1, 2): in gfx_v10_0_init_golden_registers() 3692 case IP_VERSION(10, 3, 0): in gfx_v10_0_init_golden_registers() 3700 case IP_VERSION(10, 3, 2): in gfx_v10_0_init_golden_registers() 3705 case IP_VERSION(10, 3, 1): in gfx_v10_0_init_golden_registers() 3710 case IP_VERSION(10, 3, 3): in gfx_v10_0_init_golden_registers() [all …]
|
D | amdgpu_reset.c | 41 case IP_VERSION(13, 0, 2): in amdgpu_reset_init() 44 case IP_VERSION(11, 0, 7): in amdgpu_reset_init() 59 case IP_VERSION(13, 0, 2): in amdgpu_reset_fini() 62 case IP_VERSION(11, 0, 7): in amdgpu_reset_fini()
|
D | psp_v13_0.c | 78 case IP_VERSION(13, 0, 2): in psp_v13_0_init_microcode() 81 case IP_VERSION(13, 0, 1): in psp_v13_0_init_microcode() 82 case IP_VERSION(13, 0, 3): in psp_v13_0_init_microcode() 92 case IP_VERSION(13, 0, 2): in psp_v13_0_init_microcode() 103 case IP_VERSION(13, 0, 1): in psp_v13_0_init_microcode() 104 case IP_VERSION(13, 0, 3): in psp_v13_0_init_microcode() 105 case IP_VERSION(13, 0, 5): in psp_v13_0_init_microcode() 106 case IP_VERSION(13, 0, 8): in psp_v13_0_init_microcode() 107 case IP_VERSION(13, 0, 11): in psp_v13_0_init_microcode() 115 case IP_VERSION(13, 0, 0): in psp_v13_0_init_microcode() [all …]
|
D | amdgpu_psp.c | 80 case IP_VERSION(11, 0, 0): in psp_check_pmfw_centralized_cstate_management() 81 case IP_VERSION(11, 0, 4): in psp_check_pmfw_centralized_cstate_management() 82 case IP_VERSION(11, 0, 5): in psp_check_pmfw_centralized_cstate_management() 83 case IP_VERSION(11, 0, 7): in psp_check_pmfw_centralized_cstate_management() 84 case IP_VERSION(11, 0, 9): in psp_check_pmfw_centralized_cstate_management() 85 case IP_VERSION(11, 0, 11): in psp_check_pmfw_centralized_cstate_management() 86 case IP_VERSION(11, 0, 12): in psp_check_pmfw_centralized_cstate_management() 87 case IP_VERSION(11, 0, 13): in psp_check_pmfw_centralized_cstate_management() 88 case IP_VERSION(13, 0, 0): in psp_check_pmfw_centralized_cstate_management() 89 case IP_VERSION(13, 0, 2): in psp_check_pmfw_centralized_cstate_management() [all …]
|
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()
|
D | gfx_v9_0.c | 894 case IP_VERSION(9, 0, 1): in gfx_v9_0_init_golden_registers() 902 case IP_VERSION(9, 2, 1): in gfx_v9_0_init_golden_registers() 910 case IP_VERSION(9, 4, 0): in gfx_v9_0_init_golden_registers() 918 case IP_VERSION(9, 4, 1): in gfx_v9_0_init_golden_registers() 923 case IP_VERSION(9, 2, 2): in gfx_v9_0_init_golden_registers() 924 case IP_VERSION(9, 1, 0): in gfx_v9_0_init_golden_registers() 936 case IP_VERSION(9, 3, 0): in gfx_v9_0_init_golden_registers() 941 case IP_VERSION(9, 4, 2): in gfx_v9_0_init_golden_registers() 949 if ((adev->ip_versions[GC_HWIP][0] != IP_VERSION(9, 4, 1)) && in gfx_v9_0_init_golden_registers() 950 (adev->ip_versions[GC_HWIP][0] != IP_VERSION(9, 4, 2))) in gfx_v9_0_init_golden_registers() [all …]
|
D | sdma_v4_0.c | 473 case IP_VERSION(4, 0, 0): in sdma_v4_0_init_golden_registers() 481 case IP_VERSION(4, 0, 1): in sdma_v4_0_init_golden_registers() 489 case IP_VERSION(4, 2, 0): in sdma_v4_0_init_golden_registers() 500 case IP_VERSION(4, 2, 2): in sdma_v4_0_init_golden_registers() 505 case IP_VERSION(4, 4, 0): in sdma_v4_0_init_golden_registers() 510 case IP_VERSION(4, 1, 0): in sdma_v4_0_init_golden_registers() 511 case IP_VERSION(4, 1, 1): in sdma_v4_0_init_golden_registers() 524 case IP_VERSION(4, 1, 2): in sdma_v4_0_init_golden_registers() 543 case IP_VERSION(4, 0, 0): in sdma_v4_0_setup_ulv() 547 case IP_VERSION(4, 2, 0): in sdma_v4_0_setup_ulv() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 69 case IP_VERSION(4, 0, 0):/* VEGA10 */ in kfd_device_info_set_sdma_info() 70 case IP_VERSION(4, 0, 1):/* VEGA12 */ in kfd_device_info_set_sdma_info() 71 case IP_VERSION(4, 1, 0):/* RAVEN */ in kfd_device_info_set_sdma_info() 72 case IP_VERSION(4, 1, 1):/* RAVEN */ in kfd_device_info_set_sdma_info() 73 case IP_VERSION(4, 1, 2):/* RENOIR */ in kfd_device_info_set_sdma_info() 74 case IP_VERSION(5, 2, 1):/* VANGOGH */ in kfd_device_info_set_sdma_info() 75 case IP_VERSION(5, 2, 3):/* YELLOW_CARP */ in kfd_device_info_set_sdma_info() 76 case IP_VERSION(5, 2, 6):/* GC 10.3.6 */ in kfd_device_info_set_sdma_info() 77 case IP_VERSION(5, 2, 7):/* GC 10.3.7 */ in kfd_device_info_set_sdma_info() 80 case IP_VERSION(4, 2, 0):/* VEGA20 */ in kfd_device_info_set_sdma_info() [all …]
|
D | kfd_int_process_v9.c | 147 case IP_VERSION(9, 0, 1): in context_id_expected() 149 case IP_VERSION(9, 1, 0): in context_id_expected() 150 case IP_VERSION(9, 2, 1): in context_id_expected() 151 case IP_VERSION(9, 2, 2): in context_id_expected() 152 case IP_VERSION(9, 3, 0): in context_id_expected() 153 case IP_VERSION(9, 4, 0): in context_id_expected() 159 return KFD_GC_VERSION(dev) >= IP_VERSION(9, 4, 1); in context_id_expected()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 445 if (adev->ip_versions[MP1_HWIP][0] >= IP_VERSION(11, 0, 0)) in is_support_sw_smu() 564 case IP_VERSION(11, 0, 0): in smu_set_funcs() 565 case IP_VERSION(11, 0, 5): in smu_set_funcs() 566 case IP_VERSION(11, 0, 9): in smu_set_funcs() 569 case IP_VERSION(11, 0, 7): in smu_set_funcs() 570 case IP_VERSION(11, 0, 11): in smu_set_funcs() 571 case IP_VERSION(11, 0, 12): in smu_set_funcs() 572 case IP_VERSION(11, 0, 13): in smu_set_funcs() 575 case IP_VERSION(12, 0, 0): in smu_set_funcs() 576 case IP_VERSION(12, 0, 1): in smu_set_funcs() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 93 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 9)) || in smu_v11_0_init_microcode() 94 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 7)))) in smu_v11_0_init_microcode() 98 case IP_VERSION(11, 0, 0): in smu_v11_0_init_microcode() 101 case IP_VERSION(11, 0, 5): in smu_v11_0_init_microcode() 104 case IP_VERSION(11, 0, 9): in smu_v11_0_init_microcode() 107 case IP_VERSION(11, 0, 7): in smu_v11_0_init_microcode() 110 case IP_VERSION(11, 0, 11): in smu_v11_0_init_microcode() 113 case IP_VERSION(11, 0, 12): in smu_v11_0_init_microcode() 116 case IP_VERSION(11, 0, 13): in smu_v11_0_init_microcode() 119 case IP_VERSION(11, 0, 2): in smu_v11_0_init_microcode() [all …]
|