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.c147 void amdgpu_gfx_parse_disable_cu(unsigned *mask, unsigned max_se, unsigned max_sh) in amdgpu_gfx_parse_disable_cu() argument
152 memset(mask, 0, sizeof(*mask) * max_se * max_sh); in amdgpu_gfx_parse_disable_cu()
166 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
168 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
Damdgpu_gfx.h366 unsigned max_sh);