dm: video: Add damage notification on display fills
authorAlexander Graf <agraf@csgraf.de>
Thu, 9 Jun 2022 22:59:16 +0000 (00:59 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 1 May 2025 10:30:50 +0000 (04:30 -0600)
commitb5ffd6bdb42748ca43d9fe6adc0d808cec3986dc
tree92bfa9d5ce4382d07f3f9c8e8270f6eb97d6d08d
parent47430da3d21c0dd2af081f00b1f0d31208f01864
dm: video: Add damage notification on display fills

Let's report the video damage when we fill parts of the screen. This
way we can later lazily flush only relevant regions to hardware.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reported-by: Da Xue <da@libre.computer>
[Alper: Move from video_clear() to video_fill(), video_fill_part()]
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/u-boot/20230821135111.3558478-6-alpernebiyasak@gmail.com/
drivers/video/video-uclass.c