/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | nv.c | 727 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 …]
|
D | amdgpu_vcn.c | 112 (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 …]
|
D | soc21.c | 582 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()
|
D | soc15.c | 978 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()
|
D | vi.c | 1518 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()
|
D | vcn_v1_0.c | 219 (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()
|
D | vcn_v4_0.c | 163 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()
|
D | jpeg_v3_0.c | 267 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()
|
D | jpeg_v4_0.c | 265 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()
|
D | vcn_v2_0.c | 253 (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()
|
D | vcn_v3_0.c | 241 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()
|
D | uvd_v4_2.c | 727 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()
|
D | gfx_v7_0.c | 3703 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 …]
|
D | jpeg_v2_0.c | 211 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()
|
D | cik.c | 2055 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()
|
D | vcn_v2_5.c | 224 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()
|
D | gfx_v6_0.c | 2664 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()
|
D | si.c | 2060 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()
|
D | gfx_v9_0.c | 1235 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 …]
|
D | gfx_v8_0.c | 5381 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/ |
D | memtype.c | 133 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/ |
D | radeon_asic.c | 2504 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()
|
D | cik.c | 6358 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/ |
D | smu_v12_0.c | 124 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/ |
D | init_64.c | 287 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()
|