Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp641729pxb; Wed, 27 Jan 2021 17:45:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxknWMPn3+p75aU1bUjRuTDUVPMSCx+QgRlhaSQv4MdK34P8DhwyAYDmY1A8+VSc+mEGG25 X-Received: by 2002:a05:6402:1701:: with SMTP id y1mr11334177edu.251.1611798354139; Wed, 27 Jan 2021 17:45:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611798354; cv=none; d=google.com; s=arc-20160816; b=kxAi8ur3OUyz5NR+rMeUF7IluIafgHqaqE4/EKfvCgPigd0xDPjQFi8/61Qvy5FhVy 1HqNxF5qHD2YvhjEiw4ZAphU/xeazG9TLaBsZnGi2xAsXDF8vLLF7EUZdbDIraWKdbbV OI+vTXvT+WV1lC5TaY9JDUQJI9WPGA6GRR2iIfk/+D2LSe1mS/2dxXbPOdLr31p++ZUu /6qCnb10evJQriEX1UsI3M/+MJJkI60Qxk/nQmtEi1yVZqoYnPHjfKB2CS7+3hiIGr6n X27SAhYyGxsySP8Vujv+U1hB6oRfJC5j5q7T1veexdxVdMGRLcd700fzifzIw9e4C06f MCLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=aLnHcsVzTybOGfmfrxsAnhlQ3Vuld8baNUB9PVoHh6Y=; b=xvtSXsTJTNeJ6de5scQSCXCrlGT4/oCjB8TOuVOweoyurxDnsTtH4CYN4ByX90OQwk kVmOgpfnt8I+55Tlqc5oM7bt5hymPxTdwKYcS9ApBj5OPr7jce9JI/yuKSGI+w/E/Wq/ ERB0oROQuaGtmmh1MF+yH7ju94K7n3wCHaxiV5SmVoHBLc1KfUeNK+PJH+uytbwd6WyX 291W6whUujXWoLA3FJjQ7agDrybrY/t4xIVFKNly8EODRhyCb0qb2OLVRWiqpaW6Zw4+ Q+BzLbGNUPh3RH+dZMlcHdWLjf1owKrs5+AXwGWsVxp1mAAiDz6oABFfrY5d7lr4vdxs t5jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ovxIBjYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z20si1949016edb.95.2021.01.27.17.45.29; Wed, 27 Jan 2021 17:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ovxIBjYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbhA1Bot (ORCPT + 99 others); Wed, 27 Jan 2021 20:44:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbhA1Bnt (ORCPT ); Wed, 27 Jan 2021 20:43:49 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F080C06174A; Wed, 27 Jan 2021 17:43:09 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id my11so3922460pjb.1; Wed, 27 Jan 2021 17:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=aLnHcsVzTybOGfmfrxsAnhlQ3Vuld8baNUB9PVoHh6Y=; b=ovxIBjYLObG8GNMq7qXkVHuiVnnpQgh4WvrFs21LmlhgFjECQ2Y7OntVqxa4rAhXZZ srskp6/XJWnCL/y8ZP2U+WFPDrz0Ayh8g2VWqlkLjoBclEL8gQiwaCqoKFxhzvU4YBsd rpLGLYkxGEU19zXIbk8vEf6DQC29UPIXKaoA6eMFkSL0KOtCfKKOO7oFZnrRY2XNzCR+ nLXnOwez4nuGyAm0znTkFX2IQ/m2ETc1t8+uRp8ExByqG8zUYjZ06uLboHmeq2GZQcJG 3a/T8rnRmQIkAhAv9kchy1C6cYa5UmlrReMJxP9neKGppksJKfIGjUmOLECZIa5DuAnD FqgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=aLnHcsVzTybOGfmfrxsAnhlQ3Vuld8baNUB9PVoHh6Y=; b=E+JfBCaF9eGZV862Koq4/RUdylhHkoBOCTjwCWwAo+L5TsszD/yI7BbL3tNuCdiV8C U6Pv1J3KJAFoyOtwHswZmMm8uxeKhZ/mZwzDuoFuJUQYC5IPcnjLwj4hd4V6xdHRS+EA 9i18buPkTfJ/VrXxwquOAaJ2SPvdkL0PYD5x2VIXBfjfqV58iXfUIQbQ5WN+2tVvhq/N frCEHMOQitQeL9qjQTtQtCKTarzl4DWBxPUpd91ndOCzK1GAtY42olsz8z9YjguaWNKm jlVT3XGx+cW2XH8ezBnK+lNiEgDbrW6uQaBJXado2XLTTZJs4YsRxvBj/4El1ocyF/Zh IkPg== X-Gm-Message-State: AOAM532K6WAxXCaB7aE70ZKFVz1kXkFV92EANg4sLrB4IN8a7Il1I4V3 zWj2+ab8Zr5/5gHOk8CvfGiuON4v8R0mVdpl X-Received: by 2002:a17:90a:4a85:: with SMTP id f5mr8708829pjh.117.1611798189061; Wed, 27 Jan 2021 17:43:09 -0800 (PST) Received: from localhost ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id k6sm4034011pgk.36.2021.01.27.17.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 17:43:08 -0800 (PST) Date: Thu, 28 Jan 2021 09:42:58 +0800 From: carlis To: Kari Argillander Cc: gregkh@linuxfoundation.org, colin.king@canonical.com, oliver.graute@kococonnector.com, zhangxuezhi1@yulong.com, mh12gx2825@gmail.com, sbrivio@redhat.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10] staging: fbtft: add tearing signal detect Message-ID: <20210128094258.000012c3@gmail.com> In-Reply-To: <20210127223222.3lavtl3roc4cabso@kari-VirtualBox> References: <1611754972-151016-1-git-send-email-zhangxuezhi3@gmail.com> <20210127223222.3lavtl3roc4cabso@kari-VirtualBox> Organization: Tyzmig-ryrjum-8kedto X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Jan 2021 00:32:22 +0200 Kari Argillander wrote: > On Wed, Jan 27, 2021 at 09:42:52PM +0800, Carlis wrote: > > For st7789v ic,when we need continuous full screen refresh, it is > > best to wait for the TE signal arrive to avoid screen tearing > > > diff --git a/drivers/staging/fbtft/fb_st7789v.c > > b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc..cba08a8 100644 > > --- a/drivers/staging/fbtft/fb_st7789v.c > > +++ b/drivers/staging/fbtft/fb_st7789v.c > > @@ -9,9 +9,12 @@ > > #include > > #include > > #include > > +#include > > +#include > > +#include > > #include > > #include