Commit Graph

106 Commits

Author SHA1 Message Date
Chen Jichang fc5a5f7c77 fix(gdma): skip alignment check for AHBDMA version 1 when flash enc 2026-02-05 14:22:14 +08:00
morris 8d075c896a Merge branch 'bugfix/dma_memcpy_psram_workaround_v5.5' into 'release/v5.5'
fix(dma): add PSRAM memory barrier for external RAM buffers (v5.5)

See merge request espressif/esp-idf!45164
2026-01-19 10:52:35 +08:00
Chen Jichang 4f52afeb25 fix(gdma): fix dma burst size when flash enc enabled 2026-01-16 10:18:04 +08:00
Chen Jichang eef2372dce fix(dma): fix dma alignment when flash_enc enabled
Closes https://github.com/espressif/esp-idf/issues/17708
2026-01-16 10:18:04 +08:00
morris 9597df4a39 fix(dma): add PSRAM memory barrier for external RAM buffers 2026-01-15 21:07:46 +08:00
morris 8506035f5a refactor(gdma): enhance M2M capability handling 2026-01-08 18:25:42 +08:00
morris fb7466c86b Merge branch 'refactor/gdma_link_skip_null_buffer_v5.5' into 'release/v5.5'
skip the NULL buffer in DMA mount pre-check (v5.5)

See merge request espressif/esp-idf!44459
2025-12-26 18:01:03 +08:00
morris b652c1a5e8 refactor(gdma): skip the null buffer in mount pre-check 2025-12-24 10:09:21 +08:00
laokaiyao 047ea940bf refactor(parlio_rx): refactor to support unaligned user payload buffer
Closes https://github.com/espressif/esp-idf/issues/17581
2025-11-28 15:37:28 +08:00
laokaiyao ce84d734ef feat(gdma_link): support to select final node link type 2025-11-27 11:36:58 +08:00
Song Ruo Jing e69eeb7355 feat(2ddma): ESP32P4 ECO5 2DDMA related updates
Added one more pair of 2DDMA channels
Priority bit width increased corespondingly
Added three new CSC modes for RX channel 0
2025-10-22 20:05:59 +08:00
Chen Jichang 0c733c2018 refactor(gdma): move buffer aligment to buffer mount config 2025-10-10 17:44:54 +08:00
Chen Jichang 333858e57b fix(dma): add burst size check when dma access psram 2025-08-15 15:37:52 +08:00
Jiang Jiang Jian 3c39b32195 Chip/support esp32c61 v5.5 2025-07-22 12:21:36 +08:00
morris d8f2cd80dc feat(gdma): support allocate cache safe ISR for channels separately 2025-04-15 11:10:45 +08:00
C.S.M c7bcb07ace feat(dma2d): Add a rx empty event callback 2025-03-13 11:37:44 +08:00
Song Ruo Jing 65044efa22 Merge branch 'bugfix/ppa_srm_scale_frag_yuv420' into 'master'
fix(ppa): fix ppa srm potentially get blocked when scaling to YUV420

Closes IDF-12468

See merge request espressif/esp-idf!37318
2025-03-03 22:41:44 +08:00
Song Ruo Jing e791f14bc4 fix(dma2d): dma2d_force_end should not crash when rx channel is idle 2025-02-27 21:12:45 +08:00
morris 95fe253065 feat(gdma): allow bypass the alignment check in the link driver
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-27 15:18:06 +08:00
morris 46d1d7a43f fix(gdma): relax alignment constraint for internal memory
external memory encryption should not affect internal memory alignment

Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-18 13:37:22 +08:00
morris 5558028870 bugfix(cache): cache invalidate operation should respect the cache line size
not only the buffer address but also the buffer size should aligned to
the cache line size
2025-02-10 17:48:46 +08:00
morris cfca6c606e fix(dma): also consider buffer alignment when calculating the DMA nodes
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-07 12:34:42 +08:00
morris 0c7fef8ac9 feat(async_memcpy): support rx buffer unaligned to cache line size 2025-01-24 11:46:44 +08:00
morris 8bb6f764e1 refactor(dma): split rx buffer to cache aligned ones 2025-01-24 11:46:16 +08:00
morris 97d09e6427 feat(gdma): added API to count the size of rx buffer until eof 2025-01-13 22:58:27 +08:00
morris 364bbbde68 refactor(cp_dma): to use gdma_link driver for descriptor config 2024-12-02 17:40:13 +08:00
Jiang Jiang Jian 1f947551c0 Merge branch 'feat/sleep_retention_expand_module_bitmap' into 'master'
expand the number of sleep retention modules supported on different chips

Closes PM-230

See merge request espressif/esp-idf!33755
2024-11-20 14:50:35 +08:00
Li Shuai 8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
morris b9a8180b17 test(parlio): dma can transmit PSRAM buffer 2024-11-18 14:37:00 +08:00
morris 0ed4c19c5e feat(lcd): support color conversion for mipi dsi driver 2024-11-07 17:02:54 +08:00
morris efcb91b47e feat(lcd): support rgb lcd driver for esp32p4 2024-10-22 17:18:05 +08:00
morris 1193e26c88 feat(gdma): added function to concat two link lists 2024-10-11 18:20:13 +08:00
Song Ruo Jing 6afbc06666 feat(gdma): add retention support for esp32p4, esp32c5, esp32c61 2024-09-24 12:33:41 +08:00
Li Shuai 1fa27cbb0d Merge branch 'feature/esp32c5mp_light_sleep_support_stage_2' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (system part)

Closes IDF-8643, PM-195, PM-169, IDF-8641, IDF-8640, IDF-8639, IDF-8638, CV-259, IDF-10308, IDF-10317, IDF-10310, PM-202, IDF-10918, PM-207, PM-208, PM-210, and PM-214

See merge request espressif/esp-idf!31645
2024-08-29 19:32:05 +08:00
morris 39cbba3685 change(gdma): deprecate legacy API
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
Lou Tianhao a0da9ade35 feat(esp_hw_support): support top domain powered down during sleep for esp32c5 2024-08-28 10:44:08 +08:00
Marius Vikhammer 0d140f38ea fix(system): fixed warnings related to ununsed var if asserts disabled 2024-08-26 10:25:04 +08:00
Chen Jichang f919336448 feat(dma): Add helper functions to split aligned buffer
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2024-08-07 19:48:19 +08:00
morris f096265774 feat(gdma): add GDMA link list driver 2024-07-30 16:10:15 +08:00
Armando c503e385ab fix(dma): fix esp_dma_is_buffer_alignment_satisfied align issue when l2 cache line 128B 2024-07-17 15:15:16 +08:00
Alexey Lapshin b85736f6a6 fix(esp_hw_support): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
morris a7e7fe2ee8 Merge branch 'refactor/async_memcpy_allocate_dma_memory' into 'master'
refactor(async_memcpy): clean up memory allocation code

See merge request espressif/esp-idf!31197
2024-06-04 21:09:48 +08:00
morris 3e3f82a3fd refactor(async_memcpy): clean up memory allocation code 2024-05-30 18:26:34 +08:00
morris 68cb0d442f change(dw_gdma): clean up memory allocation for link list items 2024-05-29 18:00:00 +08:00
morris dc060460ea change(async_memcpy): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris dc6989796a feat(gdma): set burst size and return alignment constraint
burst size can affect the buffer alignment
2024-05-24 22:43:55 +08:00
Song Ruo Jing ea7d496e58 feat(ppa): add PPA driver support for ESP32P4
Remove L4/L8, YUV422 in PPA driver
Clean up
2024-05-24 14:23:54 +08:00
Song Ruo Jing d956ba2a6c feat(ppa): add PPA driver support for ESP32P4
Add burst_length option to client
Change uint32_t to color_pixel_rgb888_data_t
Descriptor always malloc with MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT
Add dscr-port mode block size configuration as a separate API in 2D-DMA driver
Do writeback only on an extended window, instead of entire picture
2024-05-24 14:23:14 +08:00
Song Ruo Jing fd1a718f62 feat(ppa): add PPA driver support for ESP32P4
Modified API operation configuration structure
Rename invoker to client
Support YUV420 color mode for SRM
Move PPA srm/blending engine reset ahead of any 2D-DMA channel configurations
2024-05-23 16:40:56 +08:00
Song Ruo Jing a86e03cba3 feat(ppa): add PPA driver support for ESP32P4
Renamed SR to SRM
2024-05-23 16:40:55 +08:00