/drivers/gpu/drm/amd/amdgpu/ |
D | vi.c | 949 adev->cg_flags = 0; in vi_common_early_init() 954 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 975 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 992 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1015 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1038 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1061 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1088 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1219 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in vi_update_bif_medium_grain_light_sleep() 1239 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in vi_update_hdp_medium_grain_clock_gating() [all …]
|
D | nbio_v7_0.c | 141 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 152 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 163 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating()
|
D | soc15.c | 627 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 650 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 781 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in soc15_update_hdp_light_sleep() 796 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DRM_MGCG)) in soc15_update_drm_clock_gating() 825 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DRM_LS)) in soc15_update_drm_light_sleep() 841 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in soc15_update_rom_medium_grain_clock_gating() 862 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DF_MGCG)) { in soc15_update_df_medium_grain_clock_gating()
|
D | mmhub_v1_0.c | 603 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) { in mmhub_v1_0_update_medium_grain_clock_gating() 660 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_update_medium_grain_clock_gating() 676 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS)) in mmhub_v1_0_update_medium_grain_light_sleep() 692 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_update_medium_grain_light_sleep() 693 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in athub_update_medium_grain_light_sleep()
|
D | nbio_v6_1.c | 161 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) { in nbio_v6_1_update_medium_grain_clock_gating() 189 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in nbio_v6_1_update_medium_grain_light_sleep()
|
D | gmc_v7_0.c | 816 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS)) in gmc_v7_0_enable_mc_ls() 833 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in gmc_v7_0_enable_mc_mgcg() 849 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in gmc_v7_0_enable_bif_mgls() 872 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in gmc_v7_0_enable_hdp_mgcg() 888 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in gmc_v7_0_enable_hdp_ls()
|
D | gfx_v8_0.c | 5642 if (adev->cg_flags & (AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_MGCG)) { in iceland_enter_rlc_safe_mode() 5676 if (adev->cg_flags & (AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_MGCG)) { in iceland_exit_rlc_safe_mode() 5705 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGCG)) { in gfx_v8_0_update_medium_grain_clock_gating() 5706 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) { in gfx_v8_0_update_medium_grain_clock_gating() 5707 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_RLC_LS) in gfx_v8_0_update_medium_grain_clock_gating() 5711 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CP_LS) in gfx_v8_0_update_medium_grain_clock_gating() 5736 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS) { in gfx_v8_0_update_medium_grain_clock_gating() 5743 if ((adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) && in gfx_v8_0_update_medium_grain_clock_gating() 5744 (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS_LS)) in gfx_v8_0_update_medium_grain_clock_gating() 5810 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGCG)) { in gfx_v8_0_update_coarse_grain_clock_gating() [all …]
|
D | si.c | 1341 adev->cg_flags = in si_common_early_init() 1360 adev->cg_flags = in si_common_early_init() 1381 adev->cg_flags = in si_common_early_init() 1402 adev->cg_flags = in si_common_early_init() 1421 adev->cg_flags = in si_common_early_init()
|
D | cik.c | 1670 adev->cg_flags = in cik_common_early_init() 1691 adev->cg_flags = in cik_common_early_init() 1711 adev->cg_flags = in cik_common_early_init() 1747 adev->cg_flags = in cik_common_early_init()
|
D | amdgpu_virt.c | 108 adev->cg_flags = 0; in amdgpu_virt_init_setting()
|
D | gfx_v9_0.c | 3089 if (adev->cg_flags & in gfx_v9_0_enter_rlc_safe_mode() 3118 if (adev->cg_flags & in gfx_v9_0_exit_rlc_safe_mode() 3173 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGCG)) { in gfx_v9_0_update_medium_grain_clock_gating() 3188 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) { in gfx_v9_0_update_medium_grain_clock_gating() 3190 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_RLC_LS) { in gfx_v9_0_update_medium_grain_clock_gating() 3197 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CP_LS) { in gfx_v9_0_update_medium_grain_clock_gating() 3239 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_3D_CGCG)) { in gfx_v9_0_update_3d_clock_gating() 3251 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_3D_CGLS) in gfx_v9_0_update_3d_clock_gating() 3284 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGCG)) { in gfx_v9_0_update_coarse_grain_clock_gating() 3288 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGLS) in gfx_v9_0_update_coarse_grain_clock_gating() [all …]
|
D | vce_v2_0.c | 386 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()
|
D | gfx_v7_0.c | 3625 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGCG)) { in gfx_v7_0_enable_cgcg() 3666 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGCG)) { in gfx_v7_0_enable_mgcg() 3667 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) { in gfx_v7_0_enable_mgcg() 3668 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CP_LS) { in gfx_v7_0_enable_mgcg() 3695 if (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS) { in gfx_v7_0_enable_mgcg() 3701 if ((adev->cg_flags & AMD_CG_SUPPORT_GFX_MGLS) && in gfx_v7_0_enable_mgcg() 3702 (adev->cg_flags & AMD_CG_SUPPORT_GFX_CGTS_LS)) in gfx_v7_0_enable_mgcg()
|
D | cik_sdma.c | 914 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_MGCG)) { in cik_enable_sdma_mgcg() 935 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_LS)) { in cik_enable_sdma_mgls()
|
D | uvd_v4_2.c | 599 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_UVD_MGCG)) { in uvd_v4_2_enable_mgcg()
|
D | gmc_v8_0.c | 1449 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) { in fiji_update_mc_medium_grain_clock_gating() 1529 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS)) { in fiji_update_mc_light_sleep()
|
D | uvd_v5_0.c | 758 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_UVD_MGCG)) { in uvd_v5_0_enable_mgcg()
|
D | sdma_v4_0.c | 1425 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_MGCG)) { in sdma_v4_0_update_medium_grain_clock_gating() 1490 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_LS)) { in sdma_v4_0_update_medium_grain_light_sleep()
|
D | sdma_v3_0.c | 1488 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_MGCG)) { in sdma_v3_0_update_sdma_medium_grain_clock_gating() 1527 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_SDMA_LS)) { in sdma_v3_0_update_sdma_medium_grain_light_sleep()
|
D | vce_v3_0.c | 747 if (!(adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) in vce_v3_0_set_clockgating_state()
|
/drivers/gpu/drm/radeon/ |
D | radeon_asic.c | 2459 rdev->cg_flags = in radeon_asic_init() 2484 rdev->cg_flags = in radeon_asic_init() 2501 rdev->cg_flags = in radeon_asic_init() 2520 rdev->cg_flags = in radeon_asic_init() 2541 rdev->cg_flags = in radeon_asic_init() 2559 rdev->cg_flags = in radeon_asic_init() 2576 rdev->cg_flags = 0; in radeon_asic_init() 2588 rdev->cg_flags = in radeon_asic_init() 2607 rdev->cg_flags = in radeon_asic_init() 2633 rdev->cg_flags = in radeon_asic_init() [all …]
|
D | vce_v2_0.c | 115 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()
|
D | vce_v1_0.c | 106 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v1_0_enable_mgcg()
|
D | cik.c | 6046 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CGCG)) { in cik_enable_cgcg() 6082 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_MGCG)) { in cik_enable_mgcg() 6083 if (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_MGLS) { in cik_enable_mgcg() 6084 if (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CP_LS) { in cik_enable_mgcg() 6110 if (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CGTS) { in cik_enable_mgcg() 6116 if ((rdev->cg_flags & RADEON_CG_SUPPORT_GFX_MGLS) && in cik_enable_mgcg() 6117 (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CGTS_LS)) in cik_enable_mgcg() 6183 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_MC_LS)) in cik_enable_mc_ls() 6200 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_MC_MGCG)) in cik_enable_mc_mgcg() 6214 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_SDMA_MGCG)) { in cik_enable_sdma_mgcg() [all …]
|
D | si.c | 5358 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CGCG)) { in si_enable_cgcg() 5396 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_MGCG)) { in si_enable_mgcg() 5402 if (rdev->cg_flags & RADEON_CG_SUPPORT_GFX_CP_LS) { in si_enable_mgcg() 5452 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_UVD_MGCG)) { in si_enable_uvd_mgcg() 5500 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_MC_LS)) in si_enable_mc_ls() 5517 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_MC_MGCG)) in si_enable_mc_mgcg() 5532 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_SDMA_MGCG)) { in si_enable_dma_mgcg() 5570 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_BIF_LS)) in si_enable_bif_mgls() 5588 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_HDP_MGCG)) in si_enable_hdp_mgcg() 5604 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_HDP_LS)) in si_enable_hdp_ls()
|