Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v2_1.c547 u32 tmp = 0, disabled_sa = 0; in gfxhub_v2_1_utcl2_harvest() local
567 disabled_sa |= efuse_setting | vbios_setting; in gfxhub_v2_1_utcl2_harvest()
569 disabled_sa &= max_sa_mask; in gfxhub_v2_1_utcl2_harvest()
571 for (i = 0; disabled_sa > 0; i++) { in gfxhub_v2_1_utcl2_harvest()
572 if (disabled_sa & 1) in gfxhub_v2_1_utcl2_harvest()
574 disabled_sa >>= 1; in gfxhub_v2_1_utcl2_harvest()
576 disabled_sa = tmp; in gfxhub_v2_1_utcl2_harvest()
578 WREG32_SOC15(GC, 0, mmGCUTCL2_HARVEST_BYPASS_GROUPS_YELLOW_CARP, disabled_sa); in gfxhub_v2_1_utcl2_harvest()
Dgfx_v10_0.c10064 uint32_t efuse_setting, vbios_setting, disabled_sa, max_sa_mask; in gfx_v10_3_get_disabled_sa() local
10076 disabled_sa = efuse_setting | vbios_setting; in gfx_v10_3_get_disabled_sa()
10077 disabled_sa &= max_sa_mask; in gfx_v10_3_get_disabled_sa()
10079 return disabled_sa; in gfx_v10_3_get_disabled_sa()