diff options
| author | Alexander Graf <[email protected]> | 2022-06-10 00:59:20 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-01 04:32:07 -0600 |
| commit | 4aaa19bd181adf9556b31c3dcd66635ae6594c70 (patch) | |
| tree | 478271eafeff555855510c2dab013e3ecd7d1e04 /include | |
| parent | 459dbcb24837bb57750e854ad3ec6e49e11171ec (diff) | |
video: Only dcache flush damaged lines
Now that we have a damage area tells us which parts of the frame buffer
actually need updating, let's only dcache flush those on video_sync()
calls. With this optimization in place, frame buffer updates - especially
on large screen such as 4k displays - speed up significantly.
Signed-off-by: Alexander Graf <[email protected]>
Reported-by: Da Xue <[email protected]>
[Alper: Use damage.xstart/yend, IS_ENABLED()]
Co-developed-by: Alper Nebi Yasak <[email protected]>
Signed-off-by: Alper Nebi Yasak <[email protected]>
Link: https://lore.kernel.org/u-boot/[email protected]/
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
