/drivers/gpu/drm/amd/amdgpu/ |
D | hdp_v5_0.c | 57 if (!(adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | in hdp_v5_0_update_mem_power_gating() 96 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) { in hdp_v5_0_update_mem_power_gating() 103 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) { in hdp_v5_0_update_mem_power_gating() 110 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_SD) { in hdp_v5_0_update_mem_power_gating() 115 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) in hdp_v5_0_update_mem_power_gating() 119 else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) in hdp_v5_0_update_mem_power_gating() 127 if (adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_HDP_DS | in hdp_v5_0_update_mem_power_gating() 150 if (!(adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in hdp_v5_0_update_medium_grain_clock_gating()
|
D | vi.c | 1509 adev->cg_flags = 0; in vi_common_early_init() 1514 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1535 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1552 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1575 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1598 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1621 adev->cg_flags = 0; in vi_common_early_init() 1645 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1672 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1797 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in vi_update_bif_medium_grain_light_sleep() [all …]
|
D | athub_v2_1.c | 40 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_v2_1_update_medium_grain_clock_gating() 57 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_v2_1_update_medium_grain_light_sleep() 58 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in athub_v2_1_update_medium_grain_light_sleep()
|
D | athub_v2_0.c | 39 if (!(adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_v2_0_update_medium_grain_clock_gating() 59 if (!((adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_v2_0_update_medium_grain_light_sleep() 60 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS))) in athub_v2_0_update_medium_grain_light_sleep()
|
D | athub_v1_0.c | 39 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_update_medium_grain_clock_gating() 55 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_update_medium_grain_light_sleep() 56 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in athub_update_medium_grain_light_sleep()
|
D | nbio_v7_0.c | 156 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 167 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 178 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 193 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in nbio_v7_0_update_medium_grain_light_sleep()
|
D | nbio_v7_2.c | 228 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) { in nbio_v7_2_update_medium_grain_clock_gating() 255 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep() 265 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep() 277 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep()
|
D | nv.c | 1062 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1084 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1105 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1134 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1152 adev->cg_flags = 0; in nv_common_early_init() 1158 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1178 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1201 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1220 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 1237 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() [all …]
|
D | soc15.c | 1162 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1186 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1209 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1246 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1263 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1284 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1308 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1332 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1358 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1521 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DRM_MGCG)) in soc15_update_drm_clock_gating() [all …]
|
D | hdp_v4_0.c | 99 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in hdp_v4_0_update_clock_gating() 109 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in hdp_v4_0_update_clock_gating()
|
D | amdgpu_rlc.c | 46 if (adev->cg_flags & in amdgpu_gfx_rlc_enter_safe_mode() 70 if (adev->cg_flags & in amdgpu_gfx_rlc_exit_safe_mode()
|
D | smuio_v11_0_6.c | 48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_6_update_rom_clock_gating()
|
D | smuio_v9_0.c | 48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v9_0_update_rom_clock_gating()
|
D | smuio_v11_0.c | 46 if (!(adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_update_rom_clock_gating()
|
D | smuio_v13_0.c | 50 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v13_0_update_rom_clock_gating()
|
D | df_v1_7.c | 85 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DF_MGCG)) { in df_v1_7_update_medium_grain_clock_gating()
|
D | nbio_v6_1.c | 170 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) { in nbio_v6_1_update_medium_grain_clock_gating() 198 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in nbio_v6_1_update_medium_grain_light_sleep()
|
D | gmc_v7_0.c | 841 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS)) in gmc_v7_0_enable_mc_ls() 858 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in gmc_v7_0_enable_mc_mgcg() 874 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in gmc_v7_0_enable_bif_mgls() 897 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in gmc_v7_0_enable_hdp_mgcg() 913 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in gmc_v7_0_enable_hdp_ls()
|
D | gfx_v8_0.c | 5664 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGCG)) { in gfx_v8_0_update_medium_grain_clock_gating() 5665 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) { in gfx_v8_0_update_medium_grain_clock_gating() 5666 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_RLC_LS) in gfx_v8_0_update_medium_grain_clock_gating() 5670 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CP_LS) in gfx_v8_0_update_medium_grain_clock_gating() 5695 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS) { in gfx_v8_0_update_medium_grain_clock_gating() 5702 if ((adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) && in gfx_v8_0_update_medium_grain_clock_gating() 5703 (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS_LS)) in gfx_v8_0_update_medium_grain_clock_gating() 5769 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGCG)) { in gfx_v8_0_update_coarse_grain_clock_gating() 5790 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGLS) { in gfx_v8_0_update_coarse_grain_clock_gating() 5877 if (adev->cg_flags & (AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_CGLS)) { in gfx_v8_0_tonga_update_gfx_clock_gating() [all …]
|
D | nbio_v2_3.c | 223 if (!(adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v2_3_update_medium_grain_clock_gating() 252 if (!(adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v2_3_update_medium_grain_light_sleep()
|
D | vcn_v1_0.c | 454 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_disable_clock_gating() 469 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_disable_clock_gating() 579 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_enable_clock_gating() 593 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_enable_clock_gating() 643 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_clock_gating_dpg_mode() 654 if (adev->cg_flags & AMD_CG_SUPPORT_VCN_MGCG) in vcn_v1_0_clock_gating_dpg_mode()
|
D | cik.c | 2022 adev->cg_flags = in cik_common_early_init() 2043 adev->cg_flags = in cik_common_early_init() 2063 adev->cg_flags = in cik_common_early_init() 2099 adev->cg_flags = in cik_common_early_init()
|
D | jpeg_v2_0.c | 284 if (adev->cg_flags & AMD_CG_SUPPORT_JPEG_MGCG) in jpeg_v2_0_disable_clock_gating() 307 if (adev->cg_flags & AMD_CG_SUPPORT_JPEG_MGCG) in jpeg_v2_0_enable_clock_gating()
|
/drivers/gpu/drm/radeon/ |
D | radeon_asic.c | 2462 rdev->cg_flags = in radeon_asic_init() 2490 rdev->cg_flags = in radeon_asic_init() 2507 rdev->cg_flags = in radeon_asic_init() 2526 rdev->cg_flags = in radeon_asic_init() 2547 rdev->cg_flags = in radeon_asic_init() 2565 rdev->cg_flags = in radeon_asic_init() 2582 rdev->cg_flags = 0; in radeon_asic_init() 2594 rdev->cg_flags = in radeon_asic_init() 2613 rdev->cg_flags = in radeon_asic_init() 2639 rdev->cg_flags = in radeon_asic_init() [all …]
|
D | vce_v2_0.c | 116 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()
|