]> 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)
commit76070108e81a60cf832a526250a397b05784a574
tree1d285fd475526f69b3c053a9967932961cde01b7
parentdec7d011ce79022857555d210511759955772e4d
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