From 43d25edf78c3723ec76eb0704ed99f5345ef8d1e Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 29 Aug 2016 09:16:06 -0700 Subject: [PATCH] intel/isl: Fix an assert in get_intratile_offset_sa Signed-off-by: Jason Ekstrand Reviewed-by: Topi Pohjolainen --- src/intel/isl/isl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index d8260b2..219dd90 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1438,7 +1438,7 @@ isl_tiling_get_intratile_offset_sa(const struct isl_device *dev, * surfaces. */ assert(total_x_offset_sa % fmtl->bw == 0); - assert(total_y_offset_sa % fmtl->bw == 0); + assert(total_y_offset_sa % fmtl->bh == 0); const uint32_t total_x_offset = total_x_offset_sa / fmtl->bw; const uint32_t total_y_offset = total_y_offset_sa / fmtl->bh; -- 2.7.4