-
Notifications
You must be signed in to change notification settings - Fork 7.8k
drivers: mipi_dbi: stm32: move barriers outside of the loop #93584
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
drivers: mipi_dbi: stm32: move barriers outside of the loop #93584
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you verified that this works on HW?
AFAICT, this is writing different datum to the same address several times in a row (I guess a FIFO of sorts?)... and I'm worried that not executing the barrier after each write could cause issues. (though, I guess the MMIO region is Device or even Strongly-ordered memory, so it might be fine)
c92a81a
to
8b39686
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking:
8b39686
to
cfdb502
Compare
Relocate __DSB barriers outside the data write loops to improve efficiency. Signed-off-by: Georgij Černyšiov <[email protected]>
cfdb502
to
5e048c0
Compare
|
@avolmat-st PTAL if possible |
Relocate
__DSB
barriers outside the data write loops to improve efficiency.