Commit 15ba61e
committed
rgbframebuffer: round up internal size to multiple of 16 pixels
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: micropython#86971 parent 156f417 commit 15ba61e
File tree
2 files changed
+6
-5
lines changed- ports/espressif/common-hal/dotclockframebuffer
2 files changed
+6
-5
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | | - | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments