Skip to content
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

rgbframebuffer: round up internal size to multiple of 16 pixels #8698

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

jepler
Copy link
Member

@jepler jepler commented Dec 5, 2023

For a (width + left_overscan) of 360, e.g., debug info shows the following:

E (3410) cache: esp_cache_msync(35): size isn't aligned with the data cache line size (32)B
E (3410) lcd_panel.rgb: rgb_panel_draw_bitmap(742): flush cache buffer failed

Internally add extra pixels as needed at the end of a pixel row, like an automatic overscan_right.

This may not be compatible with all panels, but there's not really another alternative with this peripheral. So let's try this!

Closes: #8697

For a (width + left_overscan) of 360, e.g., debug info shows the following:
```
E (3410) cache: esp_cache_msync(35): size isn't aligned with the data cache line size (32)B
E (3410) lcd_panel.rgb: rgb_panel_draw_bitmap(742): flush cache buffer failed
```

Internally add extra pixels as needed at the end of a pixel row,
like an automatic overscan_right.

This may not be compatible with all panels, but there's not really
another alternative with this peripheral. So let's try this!

Closes: adafruit#8697
@jepler jepler merged commit 45e721a into adafruit:main Dec 6, 2023
18 checks passed
@jepler jepler deleted the qualia-width-16 branch December 6, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

espidf.IDFError: Invalid argument on 240x960 DotClock Display
2 participants