From: Sascha Hauer Date: Wed, 27 Jun 2012 13:30:18 +0000 (+0200) Subject: DRM: Add DRM GEM CMA helper X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9d474500546160dd6af35f60cd8bc20edd13807;p=pandora-kernel.git DRM: Add DRM GEM CMA helper Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the backend allocator, the name has been chosen because CMA makes for a nice, short but still descriptive function prefix. Signed-off-by: Sascha Hauer Tested-by: Lars-Peter Clausen [Make DRM_GEM_CMA_HELPER a boolean Kconfig option] Signed-off-by: Laurent Pinchart --- Reading git-diff-tree failed