commit | e7210c3c4f0d05e318b854bbd545fe335930c5cc | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Fri Oct 19 09:33:22 2012 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Sun Nov 11 23:51:11 2012 +0100 |
tree | 02a6d2a1deecf2c86e7441f9f777ae605620d83d | |
parent | 54d125274fc1bb6454bb73f98471823ed4818991 [diff] |
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 <ben@bwidawsk.net> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>