radeonsi: fix num banks selection on SI for dma setup (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Apr 2014 17:03:37 +0000 (13:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Apr 2014 17:24:12 +0000 (13:24 -0400)
commit7489f3eedafbdad905158196873c8b3f5ccb546f
treea3af1d9986b734175bd7b655056ece1e4d1a57c6
parentf770123f58b46459e8dbd27525162ee8ba89f30b
radeonsi: fix num banks selection on SI for dma setup (v2)

The number of banks varies based on the tile mode index
just like CIK.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=77533

v2: fix ordering for nbanks calculation for consistency

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_dma.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h