From ac37d7801c13a1630ec0c029e1792ace4891a571 Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Thu, 22 Jul 2021 15:11:01 -0700 Subject: [PATCH] intel/isl: Drop extra assert on array_pitch_el_rows ISL already asserts that the variable is a multiple of the tile height via isl_assert_div. Reviewed-by: Jason Ekstrand Part-of: --- src/intel/isl/isl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 3b62d7bb4a2..dd29eddf3a1 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -1810,7 +1810,6 @@ isl_surf_init_s(const struct isl_device *dev, tile_info.logical_extent_el.h); array_slices = isl_align_div(phys_total_el.a, tile_info.logical_extent_el.a); - assert(array_pitch_el_rows % tile_info.logical_extent_el.h == 0); } else { assert(phys_total_el.d == 1 && phys_total_el.a == 1); array_pitch_tl_rows = 0;