video: Clear the copy framebuffer when clearing the screen
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:22 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commit138dfea86ff2b7eda936043b2acc734a1425aeaa
tree229105198978d549ca856439846193bd0cfe761d
parent6efa809dde1d33a3576743bafefc9ec5abdfa41c
video: Clear the copy framebuffer when clearing the screen

Update video_clear() to also sync to the copy framebuffer.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/video/video-uclass.c