On Do, 2025-01-09 at 15:57 +0100, Thomas Zimmermann wrote: > Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and > buffer size. The hardware requires the framebuffer width to be a > multiple of 8. The scanline pitch has be large enough to support > this. Therefore compute the byte size of 8 pixels in the given color > mode and align the pitch accordingly. > > Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> > Cc: Philipp Zabel <p.za...@pengutronix.de> > Cc: Shawn Guo <shawn...@kernel.org> > Cc: Sascha Hauer <s.ha...@pengutronix.de> > Cc: Pengutronix Kernel Team <ker...@pengutronix.de> > Cc: Fabio Estevam <feste...@gmail.com>
Reviewed-by: Philipp Zabel <p.za...@pengutronix.de> regards Philipp