]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read()
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 19 May 2020 20:48:43 +0000 (16:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 17:27:34 +0000 (13:27 -0400)
commite2887a93edf7ddd346a6ce28c5671905b3561116
tree2b9977d09070602c2128a073799b0c6dd8425eca
parent25120b68e3ffc61b3511cb53c168761c65d17d64
drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read()

The buffer allocated is of 1024 bytes. Allocate this from
heap instead of stack.

Also remove check for stack size since we're allocating from heap

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c