Quoting Nanley Chery (2018-07-12 18:28:15) > Drop an if statement whose predicate never evaluates to true. row_pitch > belongs to a surface with non-linear tiling. According to > isl_calc_tiled_min_row_pitch, the pitch is a multiple of the tile width. > By looking at isl_tiling_get_info, we see that non-linear tilings have > widths greater than or equal to 128B.
Yup, we only have non-linear at this point and pitch has to a multiple of tiles. > Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> -Chris _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev