mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(mipi_dsi): support isr iram safe
This commit is contained in:
@@ -19,7 +19,7 @@ menu "GDMA Configurations"
|
||||
bool "Enable debug log"
|
||||
default n
|
||||
help
|
||||
Wether to enable the debug log message for GDMA driver.
|
||||
Whether to enable the debug log message for GDMA driver.
|
||||
Note that, this option only controls the GDMA driver log, won't affect other drivers.
|
||||
endmenu # GDMA Configurations
|
||||
|
||||
@@ -40,6 +40,13 @@ menu "DW_GDMA Configurations"
|
||||
Place DW_GDMA setter functions (e.g. dw_gdma_channel_set_block_markers) into IRAM,
|
||||
so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
|
||||
|
||||
config DW_GDMA_GETTER_FUNC_IN_IRAM
|
||||
bool
|
||||
default n
|
||||
help
|
||||
Place DW_GDMA getter functions (e.g. dw_gdma_link_list_get_item) into IRAM,
|
||||
so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
|
||||
|
||||
config DW_GDMA_ISR_IRAM_SAFE
|
||||
bool
|
||||
default n
|
||||
@@ -52,7 +59,7 @@ menu "DW_GDMA Configurations"
|
||||
bool "Enable debug log"
|
||||
default n
|
||||
help
|
||||
Wether to enable the debug log message for DW_GDMA driver.
|
||||
Whether to enable the debug log message for DW_GDMA driver.
|
||||
Note that, this option only controls the DW_GDMA driver log, won't affect other drivers.
|
||||
endmenu # DW_GDMA Configurations
|
||||
|
||||
|
||||
@@ -78,10 +78,15 @@ entries:
|
||||
# put DW_GDMA control functions in IRAM
|
||||
if DW_GDMA_CTRL_FUNC_IN_IRAM = y:
|
||||
dw_gdma: dw_gdma_channel_continue (noflash)
|
||||
dw_gdma: dw_gdma_channel_enable_ctrl (noflash)
|
||||
|
||||
if DW_GDMA_SETTER_FUNC_IN_IRAM = y:
|
||||
dw_gdma: dw_gdma_channel_set_block_markers (noflash)
|
||||
dw_gdma: dw_gdma_lli_set_block_markers (noflash)
|
||||
dw_gdma: dw_gdma_channel_use_link_list (noflash)
|
||||
|
||||
if DW_GDMA_GETTER_FUNC_IN_IRAM = y:
|
||||
dw_gdma: dw_gdma_link_list_get_item (noflash)
|
||||
|
||||
[mapping:dma2d_driver]
|
||||
archive: libesp_hw_support.a
|
||||
|
||||
Reference in New Issue
Block a user