Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c112 void amdgpu_gfx_parse_disable_cu(unsigned *mask, unsigned max_se, unsigned max_sh) in amdgpu_gfx_parse_disable_cu() argument
117 memset(mask, 0, sizeof(*mask) * max_se * max_sh); in amdgpu_gfx_parse_disable_cu()
131 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
133 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
Damdgpu_gfx.h376 unsigned max_sh);