]> asedeno.scripts.mit.edu Git - linux.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)
commite09d4fc8db949715848b2d4567ad47e6b8cf0a1b
tree1d285fd475526f69b3c053a9967932961cde01b7
parentca66fb8fbb9b9690591b4e85707a4f31cb042adf
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