amdgpu/addrlib: Adjust bank equation bit order based on macro tile aspect ratio settings
authorFrans Gu <frans.gu@amd.com>
Fri, 4 Mar 2016 10:04:23 +0000 (05:04 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
commit6764d96eaaebc641c81cfc5666d99e8aa6ae698c
tree4d184dd088d406099bbc0c9674ab178100420532
parented1aca8e8f8a33f28323c16688880979d2165378
amdgpu/addrlib: Adjust bank equation bit order based on macro tile aspect ratio settings

By this way, we can have valid equation for 2D_THIN1 tile mode.
Add flag "preferEquation" to return equation index without adjusting
input tile mode.
src/amd/addrlib/addrinterface.h
src/amd/addrlib/r800/ciaddrlib.cpp
src/amd/addrlib/r800/siaddrlib.cpp
src/amd/addrlib/r800/siaddrlib.h