summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-26 09:55:15 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-26 09:58:30 -0700
commit0979ea9de8c7f781bc14b9d313314b1c841ae68f (patch)
treeec4ab3fb4d369ddc9793882f59349f29fb5c073c /src/gallium/drivers
parentab009b7d6e25909dacf2fa15fdbd15fd80b16327 (diff)
panfrost: Fix checksumming typo
Fixes: 3e6c6bb0 ("panfrost: Merge checksum buffer with main BO") Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_resource.c2
1 files changed, 1 insertions, 1 deletions
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;