radeonsi: simplify si_num_banks function
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Aug 2014 23:09:31 +0000 (01:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 19 Aug 2014 10:20:18 +0000 (12:20 +0200)
commita3333099796b8aabd72b17c39d8f12b9b5fa501c
tree33dcac9fce7477cf1735f7f0930a4d2839bd7bfb
parentdb51ab6d6ada69287dfe3a671ecc1b338917e7aa
radeonsi: simplify si_num_banks function

This makes it easier to use.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_dma.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h