From: Carlis Date: Sun, 7 Feb 2021 14:01:57 +0000 (+0800) Subject: staging: fbtft: add tearing signal detect X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa7d3e66f67514aa5f3031d5c2b4c1b3b804200e;p=linux.git staging: fbtft: add tearing signal detect For st7789v IC, when we need continuous full screen refresh, it is best to wait for the tearing effect line signal to arrive to avoid screen tearing. Signed-off-by: Carlis Link: https://lore.kernel.org/r/1612706517-124617-1-git-send-email-zhangxuezhi3@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc1892ca..abe9395a0aefd 100644 --- a/drivers/staging/fbtft/fb_st7789v.c +++ b/drivers/staging/fbtft/fb_st7789v.c @@ -7,9 +7,13 @@ #include #include +#include #include #include +#include +#include #include + #include