From: Chris Wilson Date: Fri, 24 Oct 2014 11:11:11 +0000 (+0100) Subject: drm/i915: Report the actual swizzling back to userspace X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~64^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70f2f5c70440feff01d9ba7c8b4432eb72bd69eb;p=pandora-kernel.git drm/i915: Report the actual swizzling back to userspace 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 Cc: Akash Goel Cc: Daniel Vetter Testcase: igt/gem_tiled_wc Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed