diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-08-21 10:17:26 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-09-29 14:00:57 +0200 |
| commit | 42abd3e9aad87567ecd905ba6a4aa4f1fe827890 (patch) | |
| tree | 3a0a71683e20ad10b40f610c0771c07aa222f9a3 /rust/helpers/task.c | |
| parent | 115d1f346669bf4a86ac6ff1d06f5b7b322f14b7 (diff) | |
drm/rockchip: Compute dumb-buffer sizes with drm_mode_size_dumb()
Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and
buffer size. Align the pitch to a multiple of 64.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: Sandy Huang <hjc@rock-chips.com>
Cc: "Heiko Stübner" <heiko@sntech.de>
Cc: Andy Yan <andy.yan@rock-chips.com>
Link: https://lore.kernel.org/r/20250821081918.79786-20-tzimmermann@suse.de
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
