diff options
| author | Changfeng <[email protected]> | 2021-06-02 13:25:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-04 16:40:00 +0000 |
| commit | 31c759bbe38351cb46535c48293efe8860e080b4 (patch) | |
| tree | 1eb6910aadddf5b99f2ad022c14be1c8a1e73936 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amdgpu: soc15 register access through RLC should only apply to sriov runtime (diff) | |
| download | kernel-31c759bbe38351cb46535c48293efe8860e080b4.tar.gz kernel-31c759bbe38351cb46535c48293efe8860e080b4.zip | |
drm/amdgpu: switch kzalloc to kvzalloc in amdgpu_bo_create
It will cause error when alloc memory larger than 128KB in
amdgpu_bo_create->kzalloc. So it needs to switch kzalloc to kvzalloc.
Call Trace:
alloc_pages_current+0x6a/0xe0
kmalloc_order+0x32/0xb0
kmalloc_order_trace+0x1e/0x80
__kmalloc+0x249/0x2d0
amdgpu_bo_create+0x102/0x500 [amdgpu]
? xas_create+0x264/0x3e0
amdgpu_bo_create_vm+0x32/0x60 [amdgpu]
amdgpu_vm_pt_create+0xf5/0x260 [amdgpu]
amdgpu_vm_init+0x1fd/0x4d0 [amdgpu]
Signed-off-by: Changfeng <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
