From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:23:43 +0000 (-0800) Subject: gpu: ion: Allocate the sg_table at creation time rather than dynamically X-Git-Tag: v3.14-rc1~150^2~468 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29ae6bc7123f2d2d6796ac81c013bbfdd0a0a8d5;p=pandora-kernel.git gpu: ion: Allocate the sg_table at creation time rather than dynamically Rather than calling map_dma on the allocations dynamically, this patch switches to creating the sg_table at the time the buffer is created. This is necessary because in future updates the sg_table will be used for cache maintenance. Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed