drm/radeon: track pinned memory (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Jul 2014 16:09:25 +0000 (12:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:33 +0000 (08:53 -0400)
commit71ecc97eaa365b5020cd85a793f4d59c96c81e68
tree88dc4a28b58021bd28388ff6d50e9b23b92b68be
parent02376d8282b88f07d0716da6155094c8760b1a13
drm/radeon: track pinned memory (v2)

So we know how large an allocation we can allow.

v2: incorporate Michel's comments

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.h
drivers/gpu/drm/radeon/radeon_object.c