igt/gem_tiled_wb: Exercise CPU mmaps with swizzling

This exercises the the extended get_tiling ioctl in order to determine
proper swizzling for direct access to objects through WB.
Userspace cannot handle bit17 swizzling through wc mmaps (because bit17
requires swizzling based on the actual physical address of the page -
which is unknown to userspace) and so we need an extended get_tiling
ioctl to report the actual as well as the logical swizzling on an
object.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2014-11-04 07:30:57 +00:00
parent 6fff1f8787
commit c45216b26d
34 changed files with 244 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ gem_tiled_partial_pwrite_pread
gem_tiled_pread
gem_tiled_pread_pwrite
gem_tiled_swapping
gem_tiled_wb
gem_tiling_max_stride
gem_unfence_active_buffers
gem_unref_active_buffers