diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-04-21 18:23:38 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2014-04-22 12:07:07 +0900 |
commit | 360038fa5028b32837580478d36e5ec2c54d8652 (patch) | |
tree | 5b742f1f5e4713a7dd776feae8acab321d5fe4b9 /src/gallium/state_trackers/omx | |
parent | 0dfa6e7cf5a1f5207b32140f48cd3870db8a189b (diff) | |
download | external_mesa3d-360038fa5028b32837580478d36e5ec2c54d8652.zip external_mesa3d-360038fa5028b32837580478d36e5ec2c54d8652.tar.gz external_mesa3d-360038fa5028b32837580478d36e5ec2c54d8652.tar.bz2 |
radeonsi: Fix calculation of number of banks for SI
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.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/state_trackers/omx')
0 files changed, 0 insertions, 0 deletions