]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:34:56 +0000 (15:34 -0800)
commit7f74146b5f52660da8119a8fa47c3874363cc037
tree70c870b30f817e51d15730ab0513c4648e82b70f
parente6f54e7f5770f91d3058902967ab995e802ba1c2
drm/amdgpu: Use drm_calloc_large for VM page_tables array

commit 9571e1d84042f5670df9fabdcbe7dd5da3abe43e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c