On Wed, 27 Jan 2021 11:59:51 +0300
Dan Carpenter wrote:
> On Wed, Jan 27, 2021 at 03:28:22PM +0800, Carlis wrote:
> > static int init_display(struct fbtft_par *par)
> > {
> > + int rc;
> > + struct device *dev = par->info->device;
> > +
> > + par->gpio.te = devm_gpiod_get_index_optional(d
On Wed, 27 Jan 2021 10:00:13 +0100
Geert Uytterhoeven wrote:
> Hi Carlis,
>
> On Wed, Jan 27, 2021 at 9:52 AM Carlis wrote:
> > From: zhangxuezhi
> >
> > For st7789v ic,add tearing signal detect to avoid screen tearing
> >
> > Signed-off-by: zhangxuezhi
>
> Thanks for your patch!
>
> > --
Hi Carlis,
On Wed, Jan 27, 2021 at 9:52 AM Carlis wrote:
> From: zhangxuezhi
>
> For st7789v ic,add tearing signal detect to avoid screen tearing
>
> Signed-off-by: zhangxuezhi
Thanks for your patch!
> --- a/drivers/staging/fbtft/fb_st7789v.c
> +++ b/drivers/staging/fbtft/fb_st7789v.c
> @@ -
On Wed, Jan 27, 2021 at 03:28:22PM +0800, Carlis wrote:
> static int init_display(struct fbtft_par *par)
> {
> + int rc;
> + struct device *dev = par->info->device;
> +
> + par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0, GPIOD_IN);
> + if (IS_ERR(par->gpio.te)) {
> +
From: zhangxuezhi
For st7789v ic,add tearing signal detect to avoid screen tearing
Signed-off-by: zhangxuezhi
---
v6: add te gpio request fail deal logic
---
drivers/staging/fbtft/fb_st7789v.c | 133 -
drivers/staging/fbtft/fbtft.h | 1 +
2 files chan