drm/amdgpu: Use drm_calloc_large for VM page_tables array
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 19 Jan 2016 08:59:46 +0000 (17:59 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Jan 2016 17:25:09 +0000 (12:25 -0500)
commit9571e1d84042f5670df9fabdcbe7dd5da3abe43e
tree676f409d110053ea71a0848088a2c6c69f912270
parent7776a69386179ea477f501aa222692b9856ec56c
drm/amdgpu: Use drm_calloc_large for VM page_tables array

It can be big, depending on the VM address space size, which is tunable
via the vm_size module parameter.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93721
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
This page took 0.027773 seconds and 5 git commands to generate.