commit | 9f5c8ff0ae893d6b936741977696aa81a106bf57 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@chromium.org> | Mon Oct 19 09:29:19 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Oct 26 21:48:36 2020 +0000 |
tree | 241be41f05ef8e5e6587751865d20608668f0b9e | |
parent | 6c6693e043adc90ce52fcd28d1b0ed8d6b2ade05 [diff] |
freedreno: Rework GMEM limit init Split out into helper that can be re-used by gmemtool, to de-duplicate the limits table. And convert to switch instead of if-else ladder. A little bit of duplication, but that will no longer be the case with additional limits added in next patch. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7222>