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

2018-03-05 Thread Nanley Chery
On Mon, Mar 05, 2018 at 02:40:25PM -0800, Nanley Chery wrote: > On Thu, Jan 25, 2018 at 08:23:45AM -0800, 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

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

2018-03-05 Thread Nanley Chery
On Thu, Jan 25, 2018 at 08:23:45AM -0800, 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. > > v2: Compute extents

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

2018-01-25 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. v2: Compute extents properly in the x|y-rounded-down case (Chris Wilson) ---