diff options
| author | Sven Püschel <s.pueschel@pengutronix.de> | 2026-05-21 01:44:24 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-21 13:32:20 +0300 |
| commit | e21531a6b031a46f37f61d4d7c7508868fb3d434 (patch) | |
| tree | 9082ac1236594bd3683577f61524d62b07e59969 /include/linux/timerqueue.h | |
| parent | d8eb890079d19e4b5ac8073038c4fea006992e00 (diff) | |
| download | linux-e21531a6b031a46f37f61d4d7c7508868fb3d434.tar.xz | |
media: rockchip: rga: change offset to dma_addresses
Change the offset to dma_addresses, as the current naming is misleading.
The offset naming comes from the fact that it references the offset in
the mapped iommu address space. But from the hardware point of view this
is an address, as also pointed out by the register naming
(e.g. RGA_DST_Y_RGB_BASE_ADDR). Therefore also change the type to
dma_addr_t, as with an external iommu driver this would also be the
correct type.
This change is a preparation for the RGA3 support, which uses an external
iommu and therefore just gets an dma_addr_t for each buffer. The field
renaming allows to reuse the existing fields of rga_vb_buffer to store
these values.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
