From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7040CC433DB for ; Thu, 28 Jan 2021 08:18:09 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2ABA664D9D for ; Thu, 28 Jan 2021 08:18:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2ABA664D9D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 893DF6E959; Thu, 28 Jan 2021 08:16:52 +0000 (UTC) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 05BDD6E886 for ; Wed, 27 Jan 2021 22:32:27 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id i187so4955552lfd.4 for ; Wed, 27 Jan 2021 14:32:27 -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:references:mime-version :content-disposition:in-reply-to; bh=dfF0wNipTrvglZ/p6TYZqAPD+KZd+0K0D3xuQURerUY=; b=slRTTe1J6MdVoKWLrDTtJ9/NNGXVCi+vOoNzZeT6lhXyrtufVxmWp2cHCB6whVQkUv 1G30wFJKxHD0pKT+KxYox3D/PneMiecYU/yXKboe2niCnLANssCCNlbf7l+2Ju52NQCt VImlaCCjAbfJW0dznwZKWz7E0SmRtutW9FLwqOqAlyNthX6tqEDq3XxcZB+ZGjqOgw49 KJa5U6RalBRYFW0FwKg6xoRI8Q3tXLzQRWc/h60Z/Cnlbt7WpB4LP6VGvT11P59+iMej UiJtpplqD4aywTY55Rz/I1KLd6gi00NWRpKViLgpYTUOhGDj5KTBR3ZRtOsbmWtrtSUh jNgg== 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:references :mime-version:content-disposition:in-reply-to; bh=dfF0wNipTrvglZ/p6TYZqAPD+KZd+0K0D3xuQURerUY=; b=TABpUPwVBevRWYwnID0mTWH5V8THwbNS8JiP9+uiAdmZGP1pvI6JGJCmDRDnQNnOSR LrbG+BRRU+c/J+yCWc9szjxa1KzSCRdw70sVbWvG/LoMX+GscEDE2i4CoWPPJj8LO3gh nYf0JuoI6AFjFF2rDVyXKs6RpWGTt236RTqNWwRlolus34C3SpnW4KvKhTI1EWL4MaUV NZ55YdvFDrxvQCfEzQWE5AtCI7izTrPawMyGDRuH5D0jeX5m7Bj/xphZH0Qzw4qdPeOk nRHTmw+VT7H9CGxfsIVSs+EgQGw6sXfNe22DfmJZYqozq4PBOh0/cb8G66+XHr6e3Qas 7PcA== X-Gm-Message-State: AOAM530v6oxrzg3qRtiBn/woloYdyMy5T+EdaMiHknRG4XOVMj1aGwT1 vhl60zb1c2ar/uQ6oFtrgWw= X-Google-Smtp-Source: ABdhPJzHWR0KZhiLWKWelVWAFpiPrCVa0weM+Hv2p7dCNqpHFqAdMgKVRCwXelVlm8mdsA2kqfEKQQ== X-Received: by 2002:a05:6512:3bc:: with SMTP id v28mr6249003lfp.30.1611786746092; Wed, 27 Jan 2021 14:32:26 -0800 (PST) Received: from kari-VirtualBox (87-95-193-210.bb.dnainternet.fi. [87.95.193.210]) by smtp.gmail.com with ESMTPSA id n13sm862313lfu.265.2021.01.27.14.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 14:32:25 -0800 (PST) Date: Thu, 28 Jan 2021 00:32:22 +0200 From: Kari Argillander To: Carlis Subject: Re: [PATCH v10] staging: fbtft: add tearing signal detect Message-ID: <20210127223222.3lavtl3roc4cabso@kari-VirtualBox> References: <1611754972-151016-1-git-send-email-zhangxuezhi3@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1611754972-151016-1-git-send-email-zhangxuezhi3@gmail.com> X-Mailman-Approved-At: Thu, 28 Jan 2021 08:15:35 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org, mh12gx2825@gmail.com, gregkh@linuxfoundation.org, oliver.graute@kococonnector.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, sbrivio@redhat.com, colin.king@canonical.com, zhangxuezhi1@yulong.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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