radeonsi: calculate NUM_BANKS for DB correctly on CIK
authorMarek Olšák <marek.olsak@amd.com>
Sun, 5 Jan 2014 11:48:30 +0000 (12:48 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Jan 2014 17:40:42 +0000 (18:40 +0100)
commit346b6abab9d0ec2d3aec6efe5a4bb03803666c2f
tree90f92934250010676713d98ac47d6bb1b41240f8
parentbf3c3611130112062470299c154df2610633683a
radeonsi: calculate NUM_BANKS for DB correctly on CIK

NUM_BANKS is not constant on CIK.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_winsys.h