drm/radeon: use vram/gart pinned size in radeon_gem_info_ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Jul 2014 16:16:20 +0000 (12:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:34 +0000 (08:53 -0400)
commitccbe0060aabb097bdb96510dc0390ed8f79326ea
treefda23f6a9ea3e48fda7819538d6ee9b3a7f8ac01
parent71ecc97eaa365b5020cd85a793f4d59c96c81e68
drm/radeon: use vram/gart pinned size in radeon_gem_info_ioctl

Gives a more accurate limit than the previous code.

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