]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6e14adea0ac3037d923a9591d1a094c115d7947c
tree2b9977d09070602c2128a073799b0c6dd8425eca
parent91e2c1919230c719c32a3076657f51d4c6074513
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