Home
last modified time | relevance | path

Searched refs:vbios_setting (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v2_1.c542 u32 efuse_setting, vbios_setting; in gfxhub_v2_1_utcl2_harvest() local
557 vbios_setting = RREG32_SOC15(GC, 0, mmGC_USER_SA_UNIT_DISABLE); in gfxhub_v2_1_utcl2_harvest()
558 vbios_setting &= GC_USER_SA_UNIT_DISABLE__SA_DISABLE_MASK; in gfxhub_v2_1_utcl2_harvest()
559 vbios_setting >>= GC_USER_SA_UNIT_DISABLE__SA_DISABLE__SHIFT; in gfxhub_v2_1_utcl2_harvest()
561 disabled_sa |= efuse_setting | vbios_setting; in gfxhub_v2_1_utcl2_harvest()
Dgfx_v10_0.c9573 u32 vbios_setting = 0; in gfx_v10_0_get_wgp_active_bitmap_per_sh() local
9579 vbios_setting = RREG32_SOC15(GC, 0, mmGC_USER_SHADER_ARRAY_CONFIG); in gfx_v10_0_get_wgp_active_bitmap_per_sh()
9580 vbios_setting &= GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_WGPS_MASK; in gfx_v10_0_get_wgp_active_bitmap_per_sh()
9581 vbios_setting >>= GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_WGPS__SHIFT; in gfx_v10_0_get_wgp_active_bitmap_per_sh()
9583 disabled_mask |= efuse_setting | vbios_setting; in gfx_v10_0_get_wgp_active_bitmap_per_sh()
9664 uint32_t efuse_setting, vbios_setting, disabled_sa, max_sa_mask; in gfx_v10_3_get_disabled_sa() local
9670 vbios_setting = RREG32_SOC15(GC, 0, mmGC_USER_SA_UNIT_DISABLE); in gfx_v10_3_get_disabled_sa()
9671 vbios_setting &= GC_USER_SA_UNIT_DISABLE__SA_DISABLE_MASK; in gfx_v10_3_get_disabled_sa()
9672 vbios_setting >>= GC_USER_SA_UNIT_DISABLE__SA_DISABLE__SHIFT; in gfx_v10_3_get_disabled_sa()
9676 disabled_sa = efuse_setting | vbios_setting; in gfx_v10_3_get_disabled_sa()