summaryrefslogtreecommitdiff
path: root/lib/tiny-printf.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2022-06-10 00:59:20 +0200
committerSimon Glass <sjg@chromium.org>2025-05-01 04:32:07 -0600
commit4aaa19bd181adf9556b31c3dcd66635ae6594c70 (patch)
tree478271eafeff555855510c2dab013e3ecd7d1e04 /lib/tiny-printf.c
parent459dbcb24837bb57750e854ad3ec6e49e11171ec (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 <agraf@csgraf.de> Reported-by: Da Xue <da@libre.computer> [Alper: Use damage.xstart/yend, IS_ENABLED()] Co-developed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Link: https://lore.kernel.org/u-boot/20230821135111.3558478-11-alpernebiyasak@gmail.com/
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions