Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Tapani Pälli
On 08/17/2018 07:37 AM, Jason Ekstrand wrote: On Thu, Aug 16, 2018 at 10:39 PM Matt Turner > wrote: On Thu, Aug 16, 2018 at 5:50 PM Jason Ekstrand mailto:ja...@jlekstrand.net>> wrote: > If that's true then the extension makes no sense other than maybe

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Jason Ekstrand
On Thu, Aug 16, 2018 at 10:39 PM Matt Turner wrote: > On Thu, Aug 16, 2018 at 5:50 PM Jason Ekstrand > wrote: > > If that's true then the extension makes no sense other than maybe "we're > a > > UMA, we can make things cheap." I think it's more likely that the > intention > > is to use a fenced

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Matt Turner
On Thu, Aug 16, 2018 at 5:50 PM Jason Ekstrand wrote: > If that's true then the extension makes no sense other than maybe "we're a > UMA, we can make things cheap." I think it's more likely that the intention > is to use a fenced map through the GTT to do the detiling. That said, given > how

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Jason Ekstrand
If that's true then the extension makes no sense other than maybe "we're a UMA, we can make things cheap." I think it's more likely that the intention is to use a fenced map through the GTT to do the detiling. That said, given how sketchy GTT maps are, it's still a pretty questionable extension

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Ian Romanick
My recollection is that we never implemented this because it required linear textures instead of tiled textures. In every speed test we did, the read performance of tiled textures was so much better than the read performance of linear textures that it seemed unlikely to be a benefit. Instead, we

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Phi Nguyen
Cool. Thanks Lionel! Best, Phi On Thu, Aug 16, 2018 at 12:03 PM Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Hey Phi, > > I can confirm this extension isn't implemented in Mesa. > I don't why it wasn't. > > Talking briefly with Jason, it seems that mapping texture makes less

Re: [Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Lionel Landwerlin
Hey Phi, I can confirm this extension isn't implemented in Mesa. I don't why it wasn't. Talking briefly with Jason, it seems that mapping texture makes less sense on Skylake and above generations. There we maintain compressed version of the textures in memory to further reduce memory

[Mesa-dev] INTEL_map_texture on i915/i965

2018-08-16 Thread Phi Nguyen
Hi, I hope to use the zero-memory copy on the Iris Pro 6200 (Broadwell/Skylake). The extension says only OpenGL 3.0 is required yet it does not show up on Ubuntu 18.04. I saw a post from 2016