aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2013-02-22 16:12:51 +0200
committerDaniel Vetter <[email protected]>2013-03-03 19:49:11 +0100
commit2bb4629add2e648f1822872cce72f0fe163ce605 (patch)
tree019ee35e089baacdefa33211798825fa3ea5953c /tools/perf/scripts/python
parent83f377abed03e46eb3b6ce14a91291e7cdf86647 (diff)
drm/i915: Add to_user_ptr()
to_user_ptr() simply casts a pointer passed as u64 from user space to void __user * correctly. Using this lets us get rid of all the tiresome casts. The idea came from Chris Wilson <[email protected]>. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions