diff options
author | Paul Elder <[email protected]> | 2024-02-16 18:54:54 +0900 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2024-02-23 14:23:26 +0200 |
commit | da1484c7ba028f06274630ea2b6a2e51f6ec201a (patch) | |
tree | e55962b9fbdf4077000d38ccdd2e8d77074568c9 /tools/perf/util/trace-event-scripting.c | |
parent | fdac4ce9f4fd2120b439d29607f922665ffe31f6 (diff) |
media: rkisp1: Support i.MX8MP's 34-bit DMA
On the ISP that is integrated in the i.MX8MP, DMA addresses have been
extended to 34 bits, with the 32 MSBs stored in the DMA address
registers and the 2 LSBs set to 0.
To support this:
- Shift the addresses to the right by 2 when writing to registers
- Set the dma mask to 34 bits
- Use dma_addr_t instead of u32 when storing the addresses
Signed-off-by: Paul Elder <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Tested-by: Alexander Stein <[email protected]>
Tested-by: Adam Ford <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions