Skip to content

drivers: display: stm32_ltdc: disable unnecessary irq #90972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pavlohamov
Copy link
Contributor

LTDC interrupt routine is used to reload frame buffer pointer once full frame is finished flushing.
As long as there is no need to change buffer - there is no need to disturb CPU

@pavlohamov pavlohamov changed the title drivers: display: stm32_ltdc: disable irq unnecessary drivers: display: stm32_ltdc: disable unnecessary irq Jun 2, 2025
@pavlohamov pavlohamov force-pushed the stm32_ltdc_isr_dis branch from f16d399 to 8ebd91a Compare June 2, 2025 19:27
LTDC interrupt routine is used to reload frame buffer pointer
once full frame is finished flushing. As long as there is no
need to change buffer - there is no need to disturb CPU

Signed-off-by: Pavlo Hamov <[email protected]>
@pavlohamov pavlohamov force-pushed the stm32_ltdc_isr_dis branch from 8ebd91a to 22bc468 Compare June 3, 2025 03:45
@pavlohamov
Copy link
Contributor Author

checked on stm32f746g, stm32h7b3i. with lvgl:

  1. 2 ltdc buffers + 50% vdb to force memcpy into ltdc frame buffer
  2. 0 ltdc buffers + 2 100% vdb buffers (with full_refresh=y) to force ltdc driver using isr for buffer alternation

Copy link

sonarqubecloud bot commented Jun 3, 2025

@erwango erwango requested a review from avolmat-st June 6, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants