diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-04-23 17:21:18 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-05-05 14:04:29 +0300 |
| commit | f5e096f0f494fbab20f0879395f0d3f2033b0ca1 (patch) | |
| tree | e94205f258c1859f5cb333ae418e2b4e5b8db42a /include/linux/timerqueue.h | |
| parent | 3c8ed384503f42b985b48310fbe611418b3d5370 (diff) | |
drm: xlnx: zynqmp: Use drm helpers when calculating buffer sizes
Use drm helpers, drm_format_info_plane_width(),
drm_format_info_plane_height() and drm_format_info_min_pitch() to
calculate sizes for the DMA.
This cleans up the code, but also makes it possible to support more
complex formats (like P030, P230).
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patch.msgid.link/20260423-xilinx-formats-v10-7-c690c2b8ea89@ideasonboard.com
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
