summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-10-19 20:33:22 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-12 02:51:11 +0400
commite7210c3c4f0d05e318b854bbd545fe335930c5cc (patch)
tree02a6d2a1deecf2c86e7441f9f777ae605620d83d /tools/perf/scripts/python
parent54d125274fc1bb6454bb73f98471823ed4818991 (diff)
downloadlinux-e7210c3c4f0d05e318b854bbd545fe335930c5cc.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions