drm/radeon: use vzalloc for gart pages
authorChristian König <deathsimple@vodafone.de>
Tue, 23 Oct 2012 13:53:17 +0000 (15:53 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Oct 2012 15:41:55 +0000 (11:41 -0400)
commit59240ee3e8f0dbd3d35db90cc4960143cb14be85
tree754cd215ec58938fb2ba3a28c3f7558e00482514
parent1bcb04f758c7d3ab9a454525c004bdb8c0fccd98
drm/radeon: use vzalloc for gart pages

When allocating more than 2GB of GART the array of pages
gets to big for kzalloc, use vzalloc instead.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gart.c