mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
Userspace cares about whether or not swizzling depends on the page address for its direct access into bound objects. Extend the get_tiling ioctl to report the physical swizzling value in addition to the logical swizzling value so that userspace can accurately determine when it is possible for manual detiling. Signed-off-by: Chris Wilson <[email protected]> Cc: Akash Goel <[email protected]> Cc: Daniel Vetter <[email protected]> Testcase: igt/gem_tiled_wc Signed-off-by: Daniel Vetter <[email protected]>