aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorChen Li <[email protected]>2021-03-02 06:42:12 +0000
committerAlex Deucher <[email protected]>2021-03-02 19:31:57 +0000
commit3fcb4f01deedfa290e903e030956b8e1a5cb764f (patch)
tree9906880792b416b5cadd289f52e6b3a1532b6fab /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amd/display: Fix an uninitialized index variable (diff)
downloadkernel-3fcb4f01deedfa290e903e030956b8e1a5cb764f.tar.gz
kernel-3fcb4f01deedfa290e903e030956b8e1a5cb764f.zip
drm/radeon: Use kvmalloc for CS chunks
The number of chunks/chunks_array may be passed in by userspace and can be large. It has been observed to cause kcalloc failures from trinity fuzzy test: WARNING: CPU: 0 PID: 5487 at mm/page_alloc.c:4385 __alloc_pages_nodemask+0x2d8/0x14d0 Obviously, the required order in this case is larger than MAX_ORDER. So, just use kvmalloc instead. Reviewed-by: Christian König <[email protected]> Signed-off-by: Chen Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions