From 0979ea9de8c7f781bc14b9d313314b1c841ae68f Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 26 Jun 2019 09:55:15 -0700 Subject: [PATCH] panfrost: Fix checksumming typo Fixes: 3e6c6bb0 ("panfrost: Merge checksum buffer with main BO") Signed-off-by: Alyssa Rosenzweig --- 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; -- 2.30.2