Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfx_v10_0.c5103 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest() local
5113 2 * max_wgp_per_sh + /* TCP */ in gfx_v10_0_tcp_harvest()
5114 max_wgp_per_sh + /* SQC */ in gfx_v10_0_tcp_harvest()
5122 2 * max_wgp_per_sh + /* TCP */ in gfx_v10_0_tcp_harvest()
5123 2 * max_wgp_per_sh + /* SQC */ in gfx_v10_0_tcp_harvest()
5140 for (k = 0; k < max_wgp_per_sh; k++) { in gfx_v10_0_tcp_harvest()
5143 gcrd_targets_disable_tcp |= 1 << (k + (max_wgp_per_sh * 2)); in gfx_v10_0_tcp_harvest()
5145 (3 << (2 * (max_wgp_per_sh + k))); in gfx_v10_0_tcp_harvest()
5151 tmp &= (0xffffffffU << (4 * max_wgp_per_sh)); in gfx_v10_0_tcp_harvest()
5157 tmp &= (0xffffffffU << (3 * max_wgp_per_sh)); in gfx_v10_0_tcp_harvest()