Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-11-04 Thread Daniel Vetter
On Tue, Nov 04, 2014 at 07:29:25AM +, Chris Wilson wrote: > On Mon, Nov 03, 2014 at 12:41:37PM +0100, Daniel Vetter wrote: > > On Thu, Oct 30, 2014 at 10:40:53AM +, Chris Wilson wrote: > > > On Mon, Oct 27, 2014 at 10:08:29AM +0100, Daniel Vetter wrote: > > > > On Fri, Oct 24, 2014 at 04:16

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-11-03 Thread Chris Wilson
On Mon, Nov 03, 2014 at 12:41:37PM +0100, Daniel Vetter wrote: > On Thu, Oct 30, 2014 at 10:40:53AM +, Chris Wilson wrote: > > On Mon, Oct 27, 2014 at 10:08:29AM +0100, Daniel Vetter wrote: > > > On Fri, Oct 24, 2014 at 04:16:14PM +0100, Chris Wilson wrote: > > > > On Fri, Oct 24, 2014 at 04:39

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-11-03 Thread Daniel Vetter
On Thu, Oct 30, 2014 at 10:40:53AM +, Chris Wilson wrote: > On Mon, Oct 27, 2014 at 10:08:29AM +0100, Daniel Vetter wrote: > > On Fri, Oct 24, 2014 at 04:16:14PM +0100, Chris Wilson wrote: > > > On Fri, Oct 24, 2014 at 04:39:29PM +0200, Daniel Vetter wrote: > > > > On Fri, Oct 24, 2014 at 12:11

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-10-30 Thread Chris Wilson
On Mon, Oct 27, 2014 at 10:08:29AM +0100, Daniel Vetter wrote: > On Fri, Oct 24, 2014 at 04:16:14PM +0100, Chris Wilson wrote: > > On Fri, Oct 24, 2014 at 04:39:29PM +0200, Daniel Vetter wrote: > > > On Fri, Oct 24, 2014 at 12:11:11PM +0100, Chris Wilson wrote: > > > > Userspace cares about whether

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-10-27 Thread Daniel Vetter
On Fri, Oct 24, 2014 at 04:16:14PM +0100, Chris Wilson wrote: > On Fri, Oct 24, 2014 at 04:39:29PM +0200, Daniel Vetter wrote: > > On Fri, Oct 24, 2014 at 12:11:11PM +0100, Chris Wilson wrote: > > > Userspace cares about whether or not swizzling depends on the page > > > address for its direct acce

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-10-24 Thread Chris Wilson
On Fri, Oct 24, 2014 at 04:39:29PM +0200, Daniel Vetter wrote: > On Fri, Oct 24, 2014 at 12:11:11PM +0100, Chris Wilson wrote: > > 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 p

Re: [Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-10-24 Thread Daniel Vetter
On Fri, Oct 24, 2014 at 12:11:11PM +0100, Chris Wilson wrote: > 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

[Intel-gfx] [PATCH] drm/i915: Report the actual swizzling back to userspace

2014-10-24 Thread Chris Wilson
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 manua