Re: [Mesa-dev] [PATCH v3] i965/miptree: Use cpu tiling/detiling when mapping

2018-03-20 Thread Nanley Chery
On Wed, Mar 14, 2018 at 05:18:58PM +, Chris Wilson wrote: > Quoting Nanley Chery (2018-03-14 17:14:15) > > On Mon, Mar 12, 2018 at 10:52:55AM -0700, Scott D Phillips wrote: > > > Rename the (un)map_gtt functions to (un)map_map (map by > > > returning a map) and add new functions (un)map_tiled_m

Re: [Mesa-dev] [PATCH v3] i965/miptree: Use cpu tiling/detiling when mapping

2018-03-14 Thread Chris Wilson
Quoting Nanley Chery (2018-03-14 17:14:15) > On Mon, Mar 12, 2018 at 10:52:55AM -0700, Scott D Phillips wrote: > > Rename the (un)map_gtt functions to (un)map_map (map by > > returning a map) and add new functions (un)map_tiled_memcpy that > > return a shadow buffer populated with the intel_tiled_m

Re: [Mesa-dev] [PATCH v3] i965/miptree: Use cpu tiling/detiling when mapping

2018-03-14 Thread Nanley Chery
On Mon, Mar 12, 2018 at 10:52:55AM -0700, Scott D Phillips wrote: > Rename the (un)map_gtt functions to (un)map_map (map by > returning a map) and add new functions (un)map_tiled_memcpy that > return a shadow buffer populated with the intel_tiled_memcpy > functions. > > Tiling/detiling with the cpu

[Mesa-dev] [PATCH v3] i965/miptree: Use cpu tiling/detiling when mapping

2018-03-12 Thread Scott D Phillips
Rename the (un)map_gtt functions to (un)map_map (map by returning a map) and add new functions (un)map_tiled_memcpy that return a shadow buffer populated with the intel_tiled_memcpy functions. Tiling/detiling with the cpu will be the only way to handle Yf/Ys tiling, when support is added for those