Home
last modified time | relevance | path

Searched refs:cg_flags (Results 1 – 25 of 68) sorted by relevance

123

/drivers/gpu/drm/amd/amdgpu/
Dhdp_v5_0.c57 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()
Dvi.c1509 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 …]
Dathub_v2_1.c40 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()
Dathub_v2_0.c39 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()
Dathub_v1_0.c39 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()
Dnbio_v7_0.c156 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()
Dnbio_v7_2.c228 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()
Dnv.c1062 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 …]
Dsoc15.c1162 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 …]
Dhdp_v4_0.c99 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()
Damdgpu_rlc.c46 if (adev->cg_flags & in amdgpu_gfx_rlc_enter_safe_mode()
70 if (adev->cg_flags & in amdgpu_gfx_rlc_exit_safe_mode()
Dsmuio_v11_0_6.c48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_6_update_rom_clock_gating()
Dsmuio_v9_0.c48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v9_0_update_rom_clock_gating()
Dsmuio_v11_0.c46 if (!(adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_update_rom_clock_gating()
Dsmuio_v13_0.c50 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v13_0_update_rom_clock_gating()
Ddf_v1_7.c85 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DF_MGCG)) { in df_v1_7_update_medium_grain_clock_gating()
Dnbio_v6_1.c170 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()
Dgmc_v7_0.c841 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()
Dgfx_v8_0.c5664 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 …]
Dnbio_v2_3.c223 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()
Dvcn_v1_0.c454 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()
Dcik.c2022 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()
Djpeg_v2_0.c284 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/
Dradeon_asic.c2462 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 …]
Dvce_v2_0.c116 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()

123