]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Allocate gws on device initialization
authorOak Zeng <Oak.Zeng@amd.com>
Mon, 6 May 2019 18:52:12 +0000 (13:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 May 2019 19:44:11 +0000 (14:44 -0500)
commit569052eb221c1884cbedec424410bfa586c2eacb
tree1d285fd475526f69b3c053a9967932961cde01b7
parent6c3ff5b0e4f4a4099267a77b3cb6a511099ccdc1
drm/amdkfd: Allocate gws on device initialization

On device initialization, KFD allocates all (64) gws which
is shared by all KFD processes.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h