/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() 1180 adev->ip_versions[hw_ip][ip->number_instance] = in amdgpu_discovery_reg_base_init() 1253 if (adev->ip_versions[GC_HWIP][0] < IP_VERSION(10, 2, 0)) { in amdgpu_discovery_harvest_ip() 1480 switch (adev->ip_versions[GC_HWIP][0]) { in amdgpu_discovery_set_common_ip_blocks() 1516 adev->ip_versions[GC_HWIP][0]); in amdgpu_discovery_set_common_ip_blocks() 1525 switch (adev->ip_versions[GC_HWIP][0]) { in amdgpu_discovery_set_gmc_ip_blocks() 1561 adev->ip_versions[GC_HWIP][0]); in amdgpu_discovery_set_gmc_ip_blocks() 1569 switch (adev->ip_versions[OSSSYS_HWIP][0]) { in amdgpu_discovery_set_ih_ip_blocks() 1598 adev->ip_versions[OSSSYS_HWIP][0]); in amdgpu_discovery_set_ih_ip_blocks() [all …]
|
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() 139 switch (adev->ip_versions[HDP_HWIP][0]) { 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 | gmc_v9_0.c | 605 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(9, 4, 2))) in gmc_v9_0_process_interrupt() 623 switch (adev->ip_versions[MMHUB_HWIP][0]) { in gmc_v9_0_process_interrupt() 722 if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 2)) in gmc_v9_0_use_invalidate_semaphore() 773 adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 0)) { in gmc_v9_0_flush_gpu_tlb() 841 (adev->ip_versions[GC_HWIP][0] < IP_VERSION(9, 4, 2))) in gmc_v9_0_flush_gpu_tlb() 914 adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 0)); in gmc_v9_0_flush_gpu_tlb_pasid() 1131 if ((adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 1) || in gmc_v9_0_get_vm_pte() 1132 adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 2)) && in gmc_v9_0_get_vm_pte() 1137 if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 2)) in gmc_v9_0_get_vm_pte() 1153 switch (adev->ip_versions[DCE_HWIP][0]) { in gmc_v9_0_get_vbios_fb_size() [all …]
|
D | athub_v3_0.c | 39 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v3_0_get_cg_cntl() 52 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v3_0_set_cg_cntl() 102 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v3_0_set_clockgating()
|
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() 674 switch (adev->ip_versions[UMC_HWIP][0]) { in gmc_v10_0_set_umc_funcs() 707 switch (adev->ip_versions[MMHUB_HWIP][0]) { in gmc_v10_0_set_mmhub_funcs() 721 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v10_0_set_gfxhub_funcs() 842 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v10_0_mc_init() 909 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v10_0_sw_init() 927 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v10_0_sw_init() 1202 if (adev->in_s0ix && adev->ip_versions[DF_HWIP][0] > IP_VERSION(3, 0, 2)) { in gmc_v10_0_set_clockgating_state() 1211 if (adev->ip_versions[ATHUB_HWIP][0] >= IP_VERSION(2, 1, 0)) in gmc_v10_0_set_clockgating_state() [all …]
|
D | soc15.c | 159 if (adev->ip_versions[VCE_HWIP][0]) { in soc15_query_video_codecs() 160 switch (adev->ip_versions[VCE_HWIP][0]) { in soc15_query_video_codecs() 172 switch (adev->ip_versions[UVD_HWIP][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() 348 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(10, 0, 1)) in soc15_get_xclk() 546 switch (adev->ip_versions[MP1_HWIP][0]) { in soc15_asic_reset_method() 611 switch (adev->ip_versions[MP1_HWIP][0]) { in soc15_supports_baco() 956 switch (adev->ip_versions[GC_HWIP][0]) { in soc15_common_early_init() [all …]
|
D | amdgpu_reset.c | 40 switch (adev->ip_versions[MP1_HWIP][0]) { in amdgpu_reset_init() 58 switch (adev->ip_versions[MP1_HWIP][0]) { in amdgpu_reset_fini()
|
D | nbio_v7_2.c | 62 switch (adev->ip_versions[NBIO_HWIP][0]) { in nbio_v7_2_get_rev_id() 81 switch (adev->ip_versions[NBIO_HWIP][0]) { in nbio_v7_2_mc_access_enable() 265 switch (adev->ip_versions[NBIO_HWIP][0]) { in nbio_v7_2_update_medium_grain_light_sleep() 372 switch (adev->ip_versions[NBIO_HWIP][0]) { in nbio_v7_2_init_registers()
|
D | mmhub_v2_0.c | 154 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_print_l2_protection_fault_status() 571 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_update_medium_grain_clock_gating() 604 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_update_medium_grain_clock_gating() 628 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_update_medium_grain_light_sleep() 654 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_set_clockgating() 679 switch (adev->ip_versions[MMHUB_HWIP][0]) { in mmhub_v2_0_get_clockgating()
|
D | soc21.c | 80 switch (adev->ip_versions[UVD_HWIP][0]) { in soc21_query_video_codecs() 322 switch (adev->ip_versions[MP1_HWIP][0]) { in soc21_asic_reset_method() 424 switch (adev->ip_versions[GC_HWIP][0]) { in soc21_need_full_reset() 564 switch (adev->ip_versions[GC_HWIP][0]) { in soc21_common_early_init() 772 switch (adev->ip_versions[NBIO_HWIP][0]) { in soc21_common_set_clockgating_state() 794 switch (adev->ip_versions[LSDMA_HWIP][0]) { in soc21_common_set_powergating_state()
|
D | sdma_v4_0.c | 472 switch (adev->ip_versions[SDMA0_HWIP][0]) { in sdma_v4_0_init_golden_registers() 542 switch (adev->ip_versions[SDMA0_HWIP][0]) { in sdma_v4_0_setup_ulv() 584 switch (adev->ip_versions[SDMA0_HWIP][0]) { in sdma_v4_0_init_microcode() 624 if (adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 2, 2) || in sdma_v4_0_init_microcode() 625 adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 4, 0)) { in sdma_v4_0_init_microcode() 1024 if (adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 2, 2) && in sdma_v4_0_ctx_switch_enable() 1305 switch (adev->ip_versions[SDMA0_HWIP][0]) { in sdma_v4_0_init_pg() 1748 switch (adev->ip_versions[SDMA0_HWIP][0]) { in sdma_v4_0_fw_support_paging_queue() 1773 if ((adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 0, 0)) && in sdma_v4_0_early_init() 1911 if (adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 2, 0) || in sdma_v4_0_sw_fini() [all …]
|
D | aldebaran.c | 38 if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2) && in aldebaran_is_mode2_default() 160 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2) && in aldebaran_mode2_perform_reset() 341 if (reset_context->reset_req_dev->ip_versions[MP1_HWIP][0] == in aldebaran_mode2_restore_hwcontext()
|
D | gfx_v9_0.c | 893 switch (adev->ip_versions[GC_HWIP][0]) { 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() 1099 if ((adev->ip_versions[GC_HWIP][0] != IP_VERSION(9, 4, 1)) && in gfx_v9_0_check_fw_write_wait() 1106 switch (adev->ip_versions[GC_HWIP][0]) { in gfx_v9_0_check_fw_write_wait() 1206 if ((adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 3, 0)) && in check_if_enlarge_doorbell_range() 1219 switch (adev->ip_versions[GC_HWIP][0]) { in gfx_v9_0_check_if_need_gfxoff() 1352 if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 2) || in gfx_v9_0_load_mec2_fw_bin_support() 1353 adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 1) || in gfx_v9_0_load_mec2_fw_bin_support() 1354 adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 3, 0)) in gfx_v9_0_load_mec2_fw_bin_support() [all …]
|
D | athub_v2_0.c | 80 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v2_0_set_clockgating()
|
D | athub_v2_1.c | 73 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v2_1_set_clockgating()
|
D | athub_v1_0.c | 71 switch (adev->ip_versions[ATHUB_HWIP][0]) { in athub_v1_0_set_clockgating()
|
D | amdgpu_ras.c | 203 if (obj->adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 2) && in amdgpu_ras_debugfs_read() 204 obj->adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 4)) { in amdgpu_ras_debugfs_read() 562 if (obj->adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 2) && in amdgpu_ras_sysfs_read() 563 obj->adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 4)) { in amdgpu_ras_sysfs_read() 1163 if (adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 2) && in amdgpu_ras_query_error_count() 1164 adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 4)) { in amdgpu_ras_query_error_count() 1808 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2))) in amdgpu_ras_log_on_err_counter() 1813 if (adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 2) && in amdgpu_ras_log_on_err_counter() 1814 adev->ip_versions[MP0_HWIP][0] != IP_VERSION(11, 0, 4) && in amdgpu_ras_log_on_err_counter() 1815 adev->ip_versions[MP0_HWIP][0] != IP_VERSION(13, 0, 0)) { in amdgpu_ras_log_on_err_counter() [all …]
|
D | amdgpu_psp.c | 79 switch (adev->ip_versions[MP0_HWIP][0]) { in psp_check_pmfw_centralized_cstate_management() 104 switch (adev->ip_versions[MP0_HWIP][0]) { in psp_early_init() 332 switch (adev->ip_versions[MP0_HWIP][0]) { in psp_init_sriov_microcode() 389 adev->ip_versions[MP0_HWIP][0] == IP_VERSION(13, 0, 2); in psp_sw_init() 440 if (adev->ip_versions[MP0_HWIP][0] == IP_VERSION(11, 0, 0) || in psp_sw_init() 441 adev->ip_versions[MP0_HWIP][0] == IP_VERSION(11, 0, 7)) { in psp_sw_init() 510 if (adev->ip_versions[MP0_HWIP][0] == IP_VERSION(11, 0, 0) || in psp_sw_fini() 511 adev->ip_versions[MP0_HWIP][0] == IP_VERSION(11, 0, 7)) in psp_sw_fini() 788 switch (psp->adev->ip_versions[MP0_HWIP][0]) { in psp_skip_tmr() 1178 if (adev->ip_versions[MP0_HWIP][0] == IP_VERSION(11, 0, 4) || in psp_xgmi_terminate() [all …]
|
D | psp_v13_0_4.c | 42 switch (adev->ip_versions[MP0_HWIP][0]) { in psp_v13_0_4_init_microcode() 51 switch (adev->ip_versions[MP0_HWIP][0]) { in psp_v13_0_4_init_microcode()
|
D | gmc_v11_0.c | 547 switch (adev->ip_versions[UMC_HWIP][0]) { in gmc_v11_0_set_umc_funcs() 584 switch (adev->ip_versions[MMHUB_HWIP][0]) { in gmc_v11_0_set_mmhub_funcs() 599 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v11_0_set_gfxhub_funcs() 747 switch (adev->ip_versions[GC_HWIP][0]) { in gmc_v11_0_sw_init()
|
D | mes_v10_1.c | 387 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_init_microcode() 644 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_load_microcode() 654 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_load_microcode() 664 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_load_microcode() 673 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_load_microcode() 1087 switch (adev->ip_versions[GC_HWIP][0]) { in mes_v10_1_kiq_setting()
|
/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() 97 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v11_0_init_microcode() 124 adev->ip_versions[MP1_HWIP][0]); in smu_v11_0_init_microcode() 242 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v11_0_check_fw_version() 275 adev->ip_versions[MP1_HWIP][0]); in smu_v11_0_check_fw_version() 503 size_t size = adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 5, 0) ? in smu_v11_0_init_power() 760 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 11) || in smu_v11_0_init_display_count() 761 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 5, 0) || in smu_v11_0_init_display_count() 762 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 12) || in smu_v11_0_init_display_count() [all …]
|
D | navi10_ppt.c | 347 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && in navi10_get_allowed_feature_mask() 356 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && in navi10_get_allowed_feature_mask() 912 switch (adev->ip_versions[MP1_HWIP][0]) { in navi1x_get_smu_metrics_data() 922 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && smu_version > 0x00351F00) || in navi1x_get_smu_metrics_data() 923 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && smu_version > 0x002A3B00)) in navi1x_get_smu_metrics_data() 1708 switch (adev->ip_versions[MP1_HWIP][0]) { in navi10_populate_umd_state_clk() 2748 if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0) || in navi10_need_umc_cdr_workaround() 2749 adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) in navi10_need_umc_cdr_workaround() 2857 if (((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 0)) && (pmfw_version >= 0x2a3500)) || in navi10_run_umc_cdr_workaround() 2858 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 5)) && (pmfw_version >= 0x351D00))) { in navi10_run_umc_cdr_workaround() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 103 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v13_0_init_microcode() 213 if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 7)) || in smu_v13_0_init_pptable_microcode() 214 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 0)) || in smu_v13_0_init_pptable_microcode() 215 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10))) in smu_v13_0_init_pptable_microcode() 251 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v13_0_check_fw_status() 288 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v13_0_check_fw_version() 315 adev->ip_versions[MP1_HWIP][0]); in smu_v13_0_check_fw_version() 839 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v13_0_gfx_off_control() 1796 if (smu->adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2)) { in smu_v13_0_set_performance_level() 1944 if((smu->adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2)) && (!ret && value)) in smu_v13_0_get_dpm_level_count() [all …]
|
/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() 563 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_set_funcs() 708 if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 1)) || in smu_late_init() 709 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 3))) in smu_late_init() 1160 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_smc_hw_setup() 1343 if (adev->ip_versions[MP1_HWIP][0] < IP_VERSION(11, 0, 0)) { in smu_start_smc_engine() 1449 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_disable_dpms() 1469 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_disable_dpms() 1489 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_disable_dpms() 1519 if (adev->ip_versions[GC_HWIP][0] >= IP_VERSION(9, 4, 2) && in smu_disable_dpms() [all …]
|