On Mon, 21 Aug 2023 at 12:13, Alper Nebi Yasak <[email protected]> wrote: > > The sandbox SDL video sync is handled in the uclass because there has > been a sync rate limiter and a way to bypass that. Previous patches > move the rate limit code into SDL-specific files, and provide a generic > way to defer and force video syncs. > > Sandbox code shouldn't be in the uclasses if possible. Move the > remaining sandbox sync call into the driver ops. Now that sandbox video > sync attempts can defer without resetting video damage, force a video > sync before checking that video syncs reset video damage. > > Signed-off-by: Alper Nebi Yasak <[email protected]> > --- > > drivers/video/sandbox_sdl.c | 16 ++++++++++++++++ > drivers/video/video-uclass.c | 14 -------------- > test/dm/video.c | 2 +- > 3 files changed, 17 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

