freedreno: fix bug in tile/slot calculation
authorRob Clark <robclark@freedesktop.org>
Wed, 13 May 2015 18:36:03 +0000 (14:36 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 14 May 2015 18:46:14 +0000 (14:46 -0400)
commit4925c35660b777ae6b33a1f87a2f74f3436c7c41
treeacb9e28afea536ff4cb7568da6ba108806d9a684
parentfcc7d6323bbea489219225f467d59192d538e95f
freedreno: fix bug in tile/slot calculation

This was causing corruption with hw binning on a306.  Unlikely that it
is a306 specific, but rather the smaller gmem size resulted in different
tile configuration which was triggering the bug at certain resolutions.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Cc: "10.4" and "10.5" and "10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/freedreno_gmem.c