Home
last modified time | relevance | path

Searched refs:pg_flags (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Dnv.c689 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
711 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
733 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
757 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
765 adev->pg_flags = 0; in nv_common_early_init()
781 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
804 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in nv_common_early_init()
823 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
841 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
868 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in nv_common_early_init()
[all …]
Dsoc15.c960 adev->pg_flags = 0; in soc15_common_early_init()
983 adev->pg_flags = 0; in soc15_common_early_init()
1006 adev->pg_flags = 0; in soc15_common_early_init()
1041 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init()
1061 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init()
1083 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init()
1102 adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init()
1131 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init()
1146 adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init()
1157 adev->pg_flags = in soc15_common_early_init()
Dsoc21.c598 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
616 adev->pg_flags = in soc21_common_early_init()
643 adev->pg_flags = in soc21_common_early_init()
660 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
684 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
Dvi.c1486 adev->pg_flags = 0; in vi_common_early_init()
1507 adev->pg_flags = 0; in vi_common_early_init()
1524 adev->pg_flags = 0; in vi_common_early_init()
1547 adev->pg_flags = 0; in vi_common_early_init()
1570 adev->pg_flags = 0; in vi_common_early_init()
1593 adev->pg_flags = 0; in vi_common_early_init()
1617 adev->pg_flags = 0; in vi_common_early_init()
1637 adev->pg_flags = 0; in vi_common_early_init()
1639 adev->pg_flags |= AMD_PG_SUPPORT_GFX_SMG | in vi_common_early_init()
1662 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in vi_common_early_init()
Dvcn_v1_0.c222 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v1_0_hw_init()
240 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v1_0_hw_fini()
700 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_1_0_disable_static_power_gating()
735 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_1_0_disable_static_power_gating()
745 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_1_0_enable_static_power_gating()
1109 return (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) ? in vcn_v1_0_start()
1203 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v1_0_stop()
1414 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v1_0_dec_ring_set_wptr()
1797 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v1_0_idle_work_handler()
1855 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v1_0_set_pg_for_begin_use()
Djpeg_v3_0.c270 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v3_0_disable_static_power_gating()
305 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v3_0_enable_static_power_gating()
Dvcn_v2_0.c256 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v2_0_hw_init()
274 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v2_0_hw_fini()
711 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v2_0_disable_static_power_gating()
746 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v2_0_disable_static_power_gating()
760 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v2_0_enable_static_power_gating()
941 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_0_start()
1138 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_0_stop()
1359 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_0_dec_ring_set_wptr()
Dvcn_v4_0.c191 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v4_0_sw_init()
289 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v4_0_hw_init()
312 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v4_0_hw_fini()
546 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v4_0_disable_static_power_gating()
590 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v4_0_disable_static_power_gating()
611 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v4_0_enable_static_power_gating()
1054 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_start()
1468 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_stop()
Dvcn_v3_0.c244 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v3_0_sw_init()
363 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v3_0_hw_init()
387 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v3_0_hw_fini()
598 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v3_0_disable_static_power_gating()
638 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v3_0_disable_static_power_gating()
649 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v3_0_enable_static_power_gating()
1108 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v3_0_start()
1531 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v3_0_stop()
1720 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v3_0_dec_ring_set_wptr()
Dgfx_v7_0.c3668 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS)) in gfx_v7_0_enable_sclk_slowdown_on_pu()
3682 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS)) in gfx_v7_0_enable_sclk_slowdown_on_pd()
3695 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_CP)) in gfx_v7_0_enable_cp_pg()
3708 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GDS)) in gfx_v7_0_enable_gds_pg()
3729 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG)) { in gfx_v7_0_enable_gfx_cgpg()
3801 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG)) in gfx_v7_0_enable_gfx_static_mgpg()
3815 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG)) in gfx_v7_0_enable_gfx_dynamic_mgpg()
3982 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v7_0_init_pg()
3990 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v7_0_init_pg()
4002 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v7_0_fini_pg()
[all …]
Duvd_v4_2.c727 if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { in uvd_v4_2_set_powergating_state()
738 if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { in uvd_v4_2_set_powergating_state()
Djpeg_v2_0.c213 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v2_0_disable_power_gating()
236 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v2_0_enable_power_gating()
Djpeg_v4_0.c304 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v4_0_disable_static_power_gating()
339 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v4_0_enable_static_power_gating()
Damdgpu_vcn.c117 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
376 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in amdgpu_vcn_idle_work_handler()
422 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in amdgpu_vcn_ring_begin_use()
448 if (ring->adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG && in amdgpu_vcn_ring_end_use()
Dcik.c2039 adev->pg_flags = 0; in cik_common_early_init()
2059 adev->pg_flags = 0; in cik_common_early_init()
2078 adev->pg_flags = in cik_common_early_init()
2114 adev->pg_flags = in cik_common_early_init()
Dvcn_v2_5.c236 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_5_sw_init()
330 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v2_5_hw_init()
353 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v2_5_hw_fini()
975 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_5_start()
989 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_5_start()
1388 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_5_stop()
Dgfx_v6_0.c2651 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_CP)) in gfx_v6_0_enable_cp_pg()
2733 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG)) { in gfx_v6_0_enable_gfx_cgpg()
2761 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG)) in gfx_v6_0_enable_gfx_static_mgpg()
2775 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG)) in gfx_v6_0_enable_gfx_dynamic_mgpg()
2882 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_init_pg()
2890 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v6_0_init_pg()
2910 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_fini_pg()
2917 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v6_0_fini_pg()
3417 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_set_powergating_state()
3424 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v6_0_set_powergating_state()
Dsi.c2060 adev->pg_flags = 0; in si_common_early_init()
2081 adev->pg_flags = 0; in si_common_early_init()
2102 adev->pg_flags = 0; in si_common_early_init()
2122 adev->pg_flags = 0; in si_common_early_init()
2140 adev->pg_flags = 0; in si_common_early_init()
Dvcn_v4_0_3.c148 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v4_0_3_sw_init()
256 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v4_0_3_hw_init()
1053 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_3_start()
1262 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_3_stop()
Dgfx_v8_0.c5356 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) && enable) { in cz_update_gfx_cg_power_gating()
5358 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in cz_update_gfx_cg_power_gating()
5375 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_SMG | in gfx_v8_0_set_powergating_state()
5384 if (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS) { in gfx_v8_0_set_powergating_state()
5391 if (adev->pg_flags & AMD_PG_SUPPORT_CP) in gfx_v8_0_set_powergating_state()
5398 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v8_0_set_powergating_state()
5403 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v8_0_set_powergating_state()
5411 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v8_0_set_powergating_state()
5416 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v8_0_set_powergating_state()
5421 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_QUICK_MG) && enable) in gfx_v8_0_set_powergating_state()
[all …]
Dgfx_v9_0.c1234 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff()
1240 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff()
2670 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_gfx_power_gating()
2821 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_pg()
4635 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) && enable) { in gfx_v9_0_update_gfx_cg_power_gating()
4637 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating()
4641 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating()
4654 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating()
4659 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating()
4961 if (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS) { in gfx_v9_0_set_powergating_state()
[all …]
/Linux-v6.6/arch/x86/mm/pat/
Dmemtype.c127 unsigned long pg_flags = pg->flags & _PGMT_MASK; in get_page_memtype() local
129 if (pg_flags == _PGMT_WB) in get_page_memtype()
131 else if (pg_flags == _PGMT_WC) in get_page_memtype()
133 else if (pg_flags == _PGMT_UC_MINUS) in get_page_memtype()
/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_asic.c2503 rdev->pg_flags = 0; in radeon_asic_init()
2522 rdev->pg_flags = 0; in radeon_asic_init()
2541 rdev->pg_flags = 0 | in radeon_asic_init()
2561 rdev->pg_flags = 0; in radeon_asic_init()
2578 rdev->pg_flags = 0; in radeon_asic_init()
2582 rdev->pg_flags = 0; in radeon_asic_init()
2610 rdev->pg_flags = 0; in radeon_asic_init()
2628 rdev->pg_flags = 0; in radeon_asic_init()
2653 rdev->pg_flags = 0; in radeon_asic_init()
2681 rdev->pg_flags = 0; in radeon_asic_init()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c124 if (!(smu->adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) || smu->adev->in_s0ix) in smu_v12_0_set_gfx_cgpg()
/Linux-v6.6/arch/sparc/mm/
Dinit_64.c293 unsigned long pg_flags; in flush_dcache() local
295 pg_flags = folio->flags; in flush_dcache()
296 if (pg_flags & (1UL << PG_dcache_dirty)) { in flush_dcache()
297 int cpu = ((pg_flags >> PG_dcache_cpu_shift) & in flush_dcache()

123