Mesa (master): panfrost: Fix checksumming typo

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 26 17:00:04 UTC 2019


Module: Mesa
Branch: master
Commit: 0979ea9de8c7f781bc14b9d313314b1c841ae68f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0979ea9de8c7f781bc14b9d313314b1c841ae68f

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Jun 26 09:55:15 2019 -0700

panfrost: Fix checksumming typo

Fixes: 3e6c6bb0 ("panfrost: Merge checksum buffer with main BO")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>

---

 src/gallium/drivers/panfrost/pan_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c
index 4dc8cbe577a..c5bda809320 100644
--- a/src/gallium/drivers/panfrost/pan_resource.c
+++ b/src/gallium/drivers/panfrost/pan_resource.c
@@ -193,7 +193,7 @@ panfrost_compute_checksum_sizes(
                 unsigned height)
 {
         unsigned aligned_width = ALIGN(width, CHECKSUM_TILE_WIDTH);
-        unsigned aligned_height = ALIGN(width, CHECKSUM_TILE_HEIGHT);
+        unsigned aligned_height = ALIGN(height, CHECKSUM_TILE_HEIGHT);
 
         unsigned tile_count_x = aligned_width / CHECKSUM_TILE_WIDTH;
         unsigned tile_count_y = aligned_height / CHECKSUM_TILE_HEIGHT;




More information about the mesa-commit mailing list