Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dnv.c727 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
749 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
771 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
795 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
803 adev->pg_flags = 0; in nv_common_early_init()
819 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
842 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in nv_common_early_init()
861 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
879 adev->pg_flags = AMD_PG_SUPPORT_VCN | in nv_common_early_init()
905 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in nv_common_early_init()
[all …]
Damdgpu_vcn.c112 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
122 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
128 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
134 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
143 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
154 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
160 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
166 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
172 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
178 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) in amdgpu_vcn_sw_init()
[all …]
Dsoc21.c582 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
589 adev->pg_flags = 0; in soc21_common_early_init()
604 adev->pg_flags = in soc21_common_early_init()
631 adev->pg_flags = in soc21_common_early_init()
645 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
651 adev->pg_flags = 0; in soc21_common_early_init()
Dsoc15.c978 adev->pg_flags = 0; in soc15_common_early_init()
1001 adev->pg_flags = 0; in soc15_common_early_init()
1024 adev->pg_flags = 0; in soc15_common_early_init()
1059 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init()
1079 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init()
1101 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init()
1120 adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init()
1149 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init()
1164 adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init()
Dvi.c1518 adev->pg_flags = 0; in vi_common_early_init()
1539 adev->pg_flags = 0; in vi_common_early_init()
1556 adev->pg_flags = 0; in vi_common_early_init()
1579 adev->pg_flags = 0; in vi_common_early_init()
1602 adev->pg_flags = 0; in vi_common_early_init()
1625 adev->pg_flags = 0; in vi_common_early_init()
1649 adev->pg_flags = 0; in vi_common_early_init()
1669 adev->pg_flags = 0; in vi_common_early_init()
1671 adev->pg_flags |= AMD_PG_SUPPORT_GFX_SMG | in vi_common_early_init()
1694 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | in vi_common_early_init()
Dvcn_v1_0.c219 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v1_0_hw_init()
237 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v1_0_hw_fini()
697 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_1_0_disable_static_power_gating()
732 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_1_0_disable_static_power_gating()
742 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_1_0_enable_static_power_gating()
1106 return (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) ? in vcn_v1_0_start()
1200 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v1_0_stop()
1411 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v1_0_dec_ring_set_wptr()
1794 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v1_0_idle_work_handler()
1852 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v1_0_set_pg_for_begin_use()
Dvcn_v4_0.c163 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v4_0_sw_init()
262 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v4_0_hw_init()
285 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v4_0_hw_fini()
518 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v4_0_disable_static_power_gating()
562 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v4_0_disable_static_power_gating()
583 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v4_0_enable_static_power_gating()
1004 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_start()
1416 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v4_0_stop()
Djpeg_v3_0.c267 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v3_0_disable_static_power_gating()
302 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v3_0_enable_static_power_gating()
Djpeg_v4_0.c265 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v4_0_disable_static_power_gating()
300 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v4_0_enable_static_power_gating()
Dvcn_v2_0.c253 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v2_0_hw_init()
271 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v2_0_hw_fini()
708 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v2_0_disable_static_power_gating()
743 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v2_0_disable_static_power_gating()
757 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v2_0_enable_static_power_gating()
940 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_0_start()
1137 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_0_stop()
1358 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_0_dec_ring_set_wptr()
Dvcn_v3_0.c241 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v3_0_sw_init()
360 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v3_0_hw_init()
384 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v3_0_hw_fini()
595 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v3_0_disable_static_power_gating()
635 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) in vcn_v3_0_disable_static_power_gating()
646 if (adev->pg_flags & AMD_PG_SUPPORT_VCN) { in vcn_v3_0_enable_static_power_gating()
1107 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG){ in vcn_v3_0_start()
1530 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v3_0_stop()
1719 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v3_0_dec_ring_set_wptr()
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()
Dgfx_v7_0.c3703 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS)) in gfx_v7_0_enable_sclk_slowdown_on_pu()
3717 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS)) in gfx_v7_0_enable_sclk_slowdown_on_pd()
3730 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_CP)) in gfx_v7_0_enable_cp_pg()
3743 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GDS)) in gfx_v7_0_enable_gds_pg()
3764 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG)) { in gfx_v7_0_enable_gfx_cgpg()
3836 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG)) in gfx_v7_0_enable_gfx_static_mgpg()
3850 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG)) in gfx_v7_0_enable_gfx_dynamic_mgpg()
4017 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v7_0_init_pg()
4025 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v7_0_init_pg()
4037 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v7_0_fini_pg()
[all …]
Djpeg_v2_0.c211 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v2_0_disable_power_gating()
234 if (adev->pg_flags & AMD_PG_SUPPORT_JPEG) { in jpeg_v2_0_enable_power_gating()
Dcik.c2055 adev->pg_flags = 0; in cik_common_early_init()
2075 adev->pg_flags = 0; in cik_common_early_init()
2094 adev->pg_flags = in cik_common_early_init()
2130 adev->pg_flags = in cik_common_early_init()
Dvcn_v2_5.c224 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_5_sw_init()
314 (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)?"DPG Mode":"SPG Mode"); in vcn_v2_5_hw_init()
337 if ((adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) || in vcn_v2_5_hw_fini()
929 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_5_start()
943 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) in vcn_v2_5_start()
1342 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) { in vcn_v2_5_stop()
Dgfx_v6_0.c2664 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_CP)) in gfx_v6_0_enable_cp_pg()
2746 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG)) { in gfx_v6_0_enable_gfx_cgpg()
2774 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG)) in gfx_v6_0_enable_gfx_static_mgpg()
2788 if (enable && (adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG)) in gfx_v6_0_enable_gfx_dynamic_mgpg()
2895 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_init_pg()
2903 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v6_0_init_pg()
2923 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_fini_pg()
2930 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v6_0_fini_pg()
3429 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v6_0_set_powergating_state()
3436 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()
Dgfx_v9_0.c1235 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff()
1241 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff()
2705 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_gfx_power_gating()
2856 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_pg()
4657 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) && enable) { in gfx_v9_0_update_gfx_cg_power_gating()
4659 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating()
4663 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating()
4676 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating()
4681 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating()
4977 if (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS) { in gfx_v9_0_set_powergating_state()
[all …]
Dgfx_v8_0.c5381 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) && enable) { in cz_update_gfx_cg_power_gating()
5383 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in cz_update_gfx_cg_power_gating()
5400 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_SMG | in gfx_v8_0_set_powergating_state()
5409 if (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS) { in gfx_v8_0_set_powergating_state()
5416 if (adev->pg_flags & AMD_PG_SUPPORT_CP) in gfx_v8_0_set_powergating_state()
5423 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v8_0_set_powergating_state()
5428 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v8_0_set_powergating_state()
5436 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v8_0_set_powergating_state()
5441 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v8_0_set_powergating_state()
5446 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_QUICK_MG) && enable) in gfx_v8_0_set_powergating_state()
[all …]
/Linux-v6.1/arch/x86/mm/pat/
Dmemtype.c133 unsigned long pg_flags = pg->flags & _PGMT_MASK; in get_page_memtype() local
135 if (pg_flags == _PGMT_WB) in get_page_memtype()
137 else if (pg_flags == _PGMT_WC) in get_page_memtype()
139 else if (pg_flags == _PGMT_UC_MINUS) in get_page_memtype()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_asic.c2504 rdev->pg_flags = 0; in radeon_asic_init()
2523 rdev->pg_flags = 0; in radeon_asic_init()
2542 rdev->pg_flags = 0 | in radeon_asic_init()
2562 rdev->pg_flags = 0; in radeon_asic_init()
2579 rdev->pg_flags = 0; in radeon_asic_init()
2583 rdev->pg_flags = 0; in radeon_asic_init()
2611 rdev->pg_flags = 0; in radeon_asic_init()
2629 rdev->pg_flags = 0; in radeon_asic_init()
2654 rdev->pg_flags = 0; in radeon_asic_init()
2682 rdev->pg_flags = 0; in radeon_asic_init()
Dcik.c6358 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_RLC_SMU_HS)) in cik_enable_sck_slowdown_on_pu()
6372 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_RLC_SMU_HS)) in cik_enable_sck_slowdown_on_pd()
6385 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_CP)) in cik_enable_cp_pg()
6398 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GDS)) in cik_enable_gds_pg()
6499 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_PG)) { in cik_enable_gfx_cgpg()
6586 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_SMG)) in cik_enable_gfx_static_mgpg()
6600 if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_DMG)) in cik_enable_gfx_dynamic_mgpg()
6766 if (rdev->pg_flags) { in cik_init_pg()
6769 if (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_PG) { in cik_init_pg()
6781 if (rdev->pg_flags) { in cik_fini_pg()
[all …]
/Linux-v6.1/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.1/arch/sparc/mm/
Dinit_64.c287 unsigned long pg_flags; in flush_dcache() local
289 pg_flags = page->flags; in flush_dcache()
290 if (pg_flags & (1UL << PG_dcache_dirty)) { in flush_dcache()
291 int cpu = ((pg_flags >> PG_dcache_cpu_shift) & in flush_dcache()

123