From: Chris Wilson Date: Tue, 4 Sep 2012 20:02:54 +0000 (+0100) Subject: drm/i915: Pin backing pages whilst exporting through a dmabuf vmap X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~14^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5570178c059cec59e9835be20bc8546377fa7b5;p=pandora-kernel.git drm/i915: Pin backing pages whilst exporting through a dmabuf vmap We need to refcount our pages in order to prevent reaping them at inopportune times, such as when they currently vmapped or exported to another driver. However, we also wish to keep the lazy deallocation of our pages so we need to take a pin/unpinned approach rather than a simple refcount. Signed-off-by: Chris Wilson Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed