summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-06-08 12:58:15 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-06-19 12:43:27 -0500
commit6fa39bc1e01dab8b4f54b23e95a181a2ed5a2d38 (patch)
tree770a3142a0d0147483d8ad0f6b288c1adce8d008 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
parent91c822c33066b7c4f8cc47d7532f47e3bb89979b (diff)
downloadlinux-6fa39bc1e01dab8b4f54b23e95a181a2ed5a2d38.tar.bz2
drm/amdgpu: Use kvmalloc_array for allocating VRAM manager nodes array
It can be quite big, and there's no need for it to be physically contiguous. This is less likely to fail under memory pressure (has actually happened while running piglit). Cc: stable@vger.kernel.org Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
0 files changed, 0 insertions, 0 deletions