Hi Thomas,
On Tue, 18 Feb 2025 at 15:26, Thomas Zimmermann wrote:
> Add drm_modes_size_dumb(), a helper to calculate the dumb-buffer
> scanline pitch and allocation size. Implementations of struct
> drm_driver.dumb_create can call the new helper for their size
> computations.
>
> There is current
On Tue, Feb 18, 2025 at 03:23:29PM +0100, Thomas Zimmermann wrote:
> Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and
> buffer size. No alignment required.
>
> Signed-off-by: Thomas Zimmermann
> Cc: Russell King
armada_pitch() does have some special alignment (it aligns the p
Hi
Am 18.02.25 um 16:57 schrieb Russell King (Oracle):
On Tue, Feb 18, 2025 at 03:23:29PM +0100, Thomas Zimmermann wrote:
Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and
buffer size. No alignment required.
Signed-off-by: Thomas Zimmermann
Cc: Russell King
armada_pitch()
Hi
Am 18.02.25 um 20:32 schrieb Geert Uytterhoeven:
[...]
+args->bpp);
+ fallthrough;
+ case 12:
+ case 15:
+ case 30: /* see drm_gem_afbc_get_bpp() */
+ case 10:
Perhaps keep them sort