mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(ppa): fix potential SRM operation stuck on DMA issue
Apply a workaound to bypass macro block order function in PPA SRM when specific conditions are met to avoid SRM operation getting stuck
This commit is contained in:
@@ -600,6 +600,17 @@ static inline void ppa_ll_srm_get_dma_dscr_port_mode_block_size(ppa_dev_t *dev,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Whether to bypass the macro block order function in PPA SRM
|
||||
*
|
||||
* @param dev Peripheral instance address
|
||||
* @param enable True to bypass; False to not bypass
|
||||
*/
|
||||
static inline void ppa_ll_srm_bypass_mb_order(ppa_dev_t *dev, bool enable)
|
||||
{
|
||||
dev->sr_byte_order.sr_macro_bk_ro_bypass = enable;
|
||||
}
|
||||
|
||||
//////////////////////////////////// Blending ////////////////////////////////////////
|
||||
/*
|
||||
* Alpha Blending Calculation:
|
||||
|
||||
Reference in New Issue
Block a user