Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
Dvi.c949 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 …]
Dnbio_v7_0.c141 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()
Dsoc15.c627 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()
Dmmhub_v1_0.c603 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()
Dnbio_v6_1.c161 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()
Dgmc_v7_0.c816 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()
Dgfx_v8_0.c5642 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 …]
Dsi.c1341 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()
Dcik.c1670 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()
Damdgpu_virt.c108 adev->cg_flags = 0; in amdgpu_virt_init_setting()
Dgfx_v9_0.c3089 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 …]
Dvce_v2_0.c386 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()
Dgfx_v7_0.c3625 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()
Dcik_sdma.c914 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()
Duvd_v4_2.c599 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_UVD_MGCG)) { in uvd_v4_2_enable_mgcg()
Dgmc_v8_0.c1449 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()
Duvd_v5_0.c758 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_UVD_MGCG)) { in uvd_v5_0_enable_mgcg()
Dsdma_v4_0.c1425 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()
Dsdma_v3_0.c1488 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()
Dvce_v3_0.c747 if (!(adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) in vce_v3_0_set_clockgating_state()
/drivers/gpu/drm/radeon/
Dradeon_asic.c2459 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 …]
Dvce_v2_0.c115 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v2_0_enable_mgcg()
Dvce_v1_0.c106 if (enable && (rdev->cg_flags & RADEON_CG_SUPPORT_VCE_MGCG)) { in vce_v1_0_enable_mgcg()
Dcik.c6046 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 …]
Dsi.c5358 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()

12