video: test: Test video damage tracking via vidconsole
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Fri, 18 Aug 2023 14:55:08 +0000 (17:55 +0300)
committerSimon Glass <sjg@chromium.org>
Thu, 1 May 2025 10:31:18 +0000 (04:31 -0600)
commit9ffa352c82285ef2d0d2312140e82e041ec8b9b4
treed9573c8a2e46d9ac08ac0b5497a3477791348b8f
parent17f0f77a593bfa2964990bdd5bdc02ecffc55a88
video: test: Test video damage tracking via vidconsole

With VIDEO_DAMAGE, the video uclass tracks updated regions of the frame
buffer in order to avoid unnecessary work during a video sync. Enable
the config in sandbox and add a test for it, by printing strings at a
few locations and checking the tracked region.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Adjust test avoid temporary failures in this patch:
Signed-off-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/u-boot/20230821135111.3558478-8-alpernebiyasak@gmail.com/
configs/sandbox_defconfig
test/dm/video.c