From: Chris Wilson Date: Mon, 7 Apr 2014 20:01:47 +0000 (-0300) Subject: drm/i915: dma_buf_vunmap is presumed not to fail, don't let it X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~63^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7ec768d61672bcc45c10dd5bc2123ba1e7091f;p=pandora-kernel.git drm/i915: dma_buf_vunmap is presumed not to fail, don't let it Since dma_buf_vunmap() procedes blithely on ignorant of whether the driver failed to actually unmap the backing storage for the dma-buf, we need to make a best-effort to do so. This involves not allowing ourselves to be susceptible to signals causing us to leak the storage. This should have been detectable with the current i-g-t as a misplaced signal should have left the pages pinned upon freeing the object where we have a warning in place. Signed-off-by: Chris Wilson Signed-off-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed