From: Ben Widawsky Date: Fri, 19 Oct 2012 16:33:22 +0000 (-0700) Subject: drm/i915: move more pte encoding to pte encode X-Git-Tag: v3.8-rc1~82^2~192^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7210c3c4f0d05e318b854bbd545fe335930c5cc;p=pandora-kernel.git drm/i915: move more pte encoding to pte encode In order to handle differences in pte encoding between architectures it is desirable to have one helper function, pte_encode, do it all for us. As such, this commit moves the code around so we're in good shape to do that. Luckily the ppgtt pte and the ggtt pte look very similar. Signed-off-by: Ben Widawsky Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed