From: Ben Skeggs Date: Tue, 30 Aug 2011 04:30:11 +0000 (+1000) Subject: drm/nouveau: remove allocations from gart populate() hook X-Git-Tag: v3.2-rc1~135^2~58^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d9a8feb928465f3cb525a19e5fafd06ef66ced;p=pandora-kernel.git drm/nouveau: remove allocations from gart populate() hook Since some somewhat questionable changes a while back, TTM provides a completely empty array of struct dma_address that stays around for the entire lifetime of the TTM object. Lets use this array, *always*, rather than wasting yet more memory on another array who's purpose is identical, as well as yet another bool array of the same size saying *which* of the previous two arrays to use... This change will also solve the high order allocation failures seen by some people while using nouveau. Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed