panfrost: Correctly calculate tiled stride
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 15 Jun 2020 16:42:40 +0000 (12:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 21:41:18 +0000 (21:41 +0000)
commit92553b6290e36efd48b7e07f970d90f544a8bc15
tree736cbce6be9a5d43531d92e0486b53aed8dfa977
parent6b1498f7acaee3326559bdd3b3d46635e6ae60d6
panfrost: Correctly calculate tiled stride

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: bde19c0e7ba ("panfrost: Fix tiled texture "stride"s on Bifrost")
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>
src/panfrost/encoder/pan_texture.c