feat(esp32p4): add H264 REGDMA link and sleep retention module

This commit is contained in:
houhaiyan
2026-04-07 14:47:46 +08:00
parent 953c40c9aa
commit 033b1ff7ce
5 changed files with 14 additions and 1 deletions
@@ -102,6 +102,9 @@ bool peripheral_domain_pd_allowed(void)
// ESP32P4 supports LCDCAM sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_LCDCAM);
// ESP32P4 supports H264 sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_H264);
const sleep_retention_module_bitmap_t peripheral_domain_inited_modules = sleep_retention_module_bitmap_and(inited_modules, mask);
const sleep_retention_module_bitmap_t peripheral_domain_created_modules = sleep_retention_module_bitmap_and(created_modules, mask);
return sleep_retention_module_bitmap_eq(peripheral_domain_inited_modules, peripheral_domain_created_modules);