Re: [Mesa-dev] [PATCH] radeonsi: Fix calculation of number of banks for SI

2014-04-21 Thread Alex Deucher
On Mon, Apr 21, 2014 at 5:27 AM, Michel Dänzer wrote: > From: Michel Dänzer > > The way cik_num_banks() was calculating the index only makes sense for > the CIK specific macrotile mode array. For SI, we need to use the tile > mode index directly. > > This happened to work most of the time because

Re: [Mesa-dev] [PATCH] radeonsi: Fix calculation of number of banks for SI

2014-04-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Apr 21, 2014 at 11:27 AM, Michel Dänzer wrote: > From: Michel Dänzer > > The way cik_num_banks() was calculating the index only makes sense for > the CIK specific macrotile mode array. For SI, we need to use the tile > mode index directly. > > This happen

[Mesa-dev] [PATCH] radeonsi: Fix calculation of number of banks for SI

2014-04-21 Thread Michel Dänzer
From: Michel Dänzer The way cik_num_banks() was calculating the index only makes sense for the CIK specific macrotile mode array. For SI, we need to use the tile mode index directly. This happened to work most of the time because most of the SI tiling modes use the same number of banks. Signed-