video: test: Test partial updates of hardware frame buffer
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Fri, 18 Aug 2023 14:31:27 +0000 (17:31 +0300)
committerSimon Glass <sjg@chromium.org>
Thu, 1 May 2025 10:30:46 +0000 (04:30 -0600)
commit532d003f5fa33ae7d0ffc2932a2245667b1d6201
tree4b59722eae8eaa7d8c2d0116dcfa8ae4407604aa
parent6398e1149fc26828908b801569f68a18ac5ee2ab
video: test: Test partial updates of hardware frame buffer

With VIDEO_COPY enabled, only the modified parts of the frame buffer are
intended to be copied to the hardware. Add a test that checks this, by
overwriting contents we prepared without telling the video uclass and
then checking if the overwritten contents have been redrawn on the next
sync.

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-4-alpernebiyasak@gmail.com/
test/dm/video.c