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

2018-03-06 Thread Nanley Chery
On Tue, Mar 06, 2018 at 08:01:47AM -0800, Scott D Phillips wrote: > Jason Ekstrand writes: > > > On Mon, Mar 5, 2018 at 11:39 AM, Nanley Chery wrote: > > > >> On Tue, Jan 09, 2018 at 11:16:59PM -0800, Scott D Phillips wrote: > >> > Rename the (un)map_gtt functions to (un)map_map (map by > >> > r

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

2018-03-06 Thread Scott D Phillips
Jason Ekstrand writes: > On Mon, Mar 5, 2018 at 11:39 AM, Nanley Chery wrote: > >> On Tue, Jan 09, 2018 at 11:16:59PM -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 sh

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

2018-03-05 Thread Jason Ekstrand
On Mon, Mar 5, 2018 at 11:39 AM, Nanley Chery wrote: > On Tue, Jan 09, 2018 at 11:16:59PM -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 i

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

2018-03-05 Thread Nanley Chery
On Tue, Jan 09, 2018 at 11:16:59PM -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. Could you mention some of the r

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

2018-01-23 Thread Chris Wilson
Quoting Scott D Phillips (2018-01-10 07:16:59) > +/* Compute extent parameters for use with tiled_memcpy functions. > + * xs are in units of bytes and ys are in units of strides. */ > +static inline void > +tile_extents(struct intel_mipmap_tree *mt, struct intel_miptree_map *map, > + un

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

2018-01-09 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. --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 95 --- 1 file changed, 86 in