/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | nv.c | 689 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() 880 adev->pg_flags = 0; in nv_common_early_init() [all …]
|
H A D | soc15.c | 984 adev->pg_flags = 0; in soc15_common_early_init() 1007 adev->pg_flags = 0; in soc15_common_early_init() 1030 adev->pg_flags = 0; in soc15_common_early_init() 1065 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init() 1085 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init() 1107 adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; in soc15_common_early_init() 1126 adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init() 1155 adev->pg_flags = AMD_PG_SUPPORT_SDMA | in soc15_common_early_init() 1170 adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG; in soc15_common_early_init() 1181 adev->pg_flags = in soc15_common_early_init()
|
H A D | soc21.c | 596 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init() 614 adev->pg_flags = in soc21_common_early_init() 641 adev->pg_flags = in soc21_common_early_init() 658 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init() 682 adev->pg_flags = AMD_PG_SUPPORT_VCN | in soc21_common_early_init()
|
H A D | vi.c | 1486 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()
|
H A D | vcn_v1_0.c | 222 (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()
|
H A D | jpeg_v3_0.c | 270 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()
|
H A D | vcn_v2_0.c | 256 (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()
|
H A D | vcn_v4_0.c | 191 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()
|
H A D | vcn_v3_0.c | 244 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()
|
H A D | gfx_v7_0.c | 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() 4009 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) { in gfx_v7_0_fini_pg() 4923 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v7_0_set_powergating_state() [all …]
|
H A 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()
|
H A D | jpeg_v4_0.c | 304 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()
|
H A D | jpeg_v2_0.c | 213 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()
|
H A D | cik.c | 2039 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()
|
H A D | amdgpu_vcn.c | 117 (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() 424 if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG && in amdgpu_vcn_ring_begin_use() 454 if (ring->adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG && in amdgpu_vcn_ring_end_use()
|
H A D | vcn_v2_5.c | 236 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()
|
H A D | gfx_v6_0.c | 2651 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()
|
H A 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()
|
H A D | vcn_v4_0_3.c | 148 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()
|
H A D | gfx_v8_0.c | 5356 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 …]
|
H A D | gfx_v9_0.c | 1238 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff() 1244 adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_check_if_need_gfxoff() 2674 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_gfx_power_gating() 2825 if (adev->pg_flags & (AMD_PG_SUPPORT_GFX_PG | in gfx_v9_0_init_pg() 4647 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_PG) && enable) { in gfx_v9_0_update_gfx_cg_power_gating() 4649 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating() 4653 if (adev->pg_flags & AMD_PG_SUPPORT_GFX_PIPELINE) in gfx_v9_0_update_gfx_cg_power_gating() 4666 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_SMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating() 4671 if ((adev->pg_flags & AMD_PG_SUPPORT_GFX_DMG) && enable) in gfx_v9_0_update_gfx_mg_power_gating() 4973 if (adev->pg_flags & AMD_PG_SUPPORT_RLC_SMU_HS) { in gfx_v9_0_set_powergating_state() [all …]
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | memtype.c | 127 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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_asic.c | 2503 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()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
H A 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()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_64.c | 293 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()
|