Re: [PATCH v3 02/25] drm/dumb-buffers: Provide helper to set pitch and size

2025-02-24 Thread Geert Uytterhoeven
Hi Thomas, On Fri, 21 Feb 2025 at 10:19, Thomas Zimmermann wrote: > Am 20.02.25 um 11:53 schrieb Tomi Valkeinen: > > This change also first calls the drm_driver_color_mode_format(), which > > could change the behavior even more, but afaics at the moment does not. > > Because currently each driver

Re: [PATCH v3 14/25] drm/nouveau: Compute dumb-buffer sizes with drm_mode_size_dumb()

2025-02-24 Thread Lyude Paul
Reviewed-by: Lyude Paul On Tue, 2025-02-18 at 15:23 +0100, Thomas Zimmermann wrote: > Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and > buffer size. Align the pitch to a multiple of 256. > > Signed-off-by: Thomas Zimmermann > Cc: Karol Herbst > Cc: Lyude Paul > Cc: Danilo