Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c113 void amdgpu_gfx_parse_disable_cu(unsigned int *mask, unsigned int max_se, unsigned int max_sh) in amdgpu_gfx_parse_disable_cu() argument
118 memset(mask, 0, sizeof(*mask) * max_se * max_sh); in amdgpu_gfx_parse_disable_cu()
133 if (se < max_se && sh < max_sh && cu < 16) { in amdgpu_gfx_parse_disable_cu()
135 mask[se * max_sh + sh] |= 1u << cu; in amdgpu_gfx_parse_disable_cu()
H A Damdgpu_gfx.h477 unsigned max_sh);