]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Move last_sync to private data
authorSimon Glass <sjg@chromium.org>
Wed, 31 Jul 2024 14:44:09 +0000 (08:44 -0600)
committerAnatolij Gustschin <agust@denx.de>
Wed, 31 Jul 2024 14:52:51 +0000 (16:52 +0200)
commitb023948e4f839c612e57ea68b21cb40c96874c12
treef1e96aa789650990c08ed60c44680c99c4d461c2
parent8ada14b4d9dcdf9d0efa902d80f40b7d3e7b678d
video: Move last_sync to private data

Rather than using a static variable, use the video device's private
data to remember when the last video sync was completed. This allows
each display to have its own sync and avoids using static data in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c
include/video.h