On 09/18/2018 02:34 AM, Philipp Zabel wrote: <snip>
+/* + * Tile left edges are required to be aligned to multiples of 8 bytes + * by the IDMAC. + */ +static inline u32 tile_left_align(const struct ipu_image_pixfmt *fmt) +{ + return fmt->planar ? 8 * fmt->uv_width_dec : 64 / fmt->bpp; +}
<snip> As I indicated, shouldn't this be return fmt->planar ? 8 * fmt->uv_width_dec : 8; ? Just from a unit analysis perspective, "64 / fmt->bp" has units of pixels / 8-bytes, it should have units of bytes. Steve