Re: [Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-09-16 Thread Chad Versace
On Fri 11 Sep 2015, Ville Syrjälä wrote: > As it turns out I was just looking at Yf and whatnot from display POV, > and I came to the conclusion that I'll change the kernel to just have a > function to return the tile width in bytes based on the cpp passed in, > and then I can simply compute tile

Re: [Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-09-15 Thread Anuj Phogat
On Thu, Sep 10, 2015 at 2:38 PM, Ville Syrjälä < ville.syrj...@linux.intel.com> wrote: > On Thu, Sep 10, 2015 at 12:20:10PM -0700, Chad Versace wrote: > > On Wed 19 Aug 2015, Anuj Phogat wrote: > > > V2: > > > - Do the tile width/height computations in the new helper > > > function and use it la

Re: [Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-09-11 Thread Anuj Phogat
On Thu, Sep 10, 2015 at 12:20 PM, Chad Versace wrote: > On Wed 19 Aug 2015, Anuj Phogat wrote: > > V2: > > - Do the tile width/height computations in the new helper > > function and use it later in intel_miptree_get_tile_masks(). > > - Change the name to intel_get_tile_dims(). > > > > Cc: Ben W

Re: [Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-09-10 Thread Ville Syrjälä
On Thu, Sep 10, 2015 at 12:20:10PM -0700, Chad Versace wrote: > On Wed 19 Aug 2015, Anuj Phogat wrote: > > V2: > > - Do the tile width/height computations in the new helper > > function and use it later in intel_miptree_get_tile_masks(). > > - Change the name to intel_get_tile_dims(). > > > > Cc

Re: [Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-09-10 Thread Chad Versace
On Wed 19 Aug 2015, Anuj Phogat wrote: > V2: > - Do the tile width/height computations in the new helper > function and use it later in intel_miptree_get_tile_masks(). > - Change the name to intel_get_tile_dims(). > > Cc: Ben Widawsky > Signed-off-by: Anuj Phogat > --- > src/mesa/drivers/dri/

[Mesa-dev] [PATCH V2 1/8] i965: Add a helper function intel_get_tile_dims()

2015-08-19 Thread Anuj Phogat
V2: - Do the tile width/height computations in the new helper function and use it later in intel_miptree_get_tile_masks(). - Change the name to intel_get_tile_dims(). Cc: Ben Widawsky Signed-off-by: Anuj Phogat --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 81 +++