Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp532989pxb; Wed, 27 Jan 2021 14:08:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/1mfB+W0aYNm4VJ7RakkQ1AHU+vbHT1z8pKHqB6SMeW6kg9p3pQr3X/8i71GgWPNdPEpu X-Received: by 2002:a17:907:3e1b:: with SMTP id hp27mr7903947ejc.506.1611785303029; Wed, 27 Jan 2021 14:08:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611785303; cv=none; d=google.com; s=arc-20160816; b=N1g65htSDooGljdLe2/PvMRj4kYMku/p7jG5h3sZPa5w8O5lwjp3Ww0OxoKQ54hl2i UzRK9Vvjs5ptSFYddToW8il3htvueMom6E3/3MU8k4GV2pViQ+apDd9kkFHb81PF50qH mB8q5Jy3odHamUqqyLxS3iXY+8ThcAnnT11oENoGS+ACDrSMxBXKc8GEQPEbcqCUiG9P v1gg+gBW6HhsklCF3/vxoycoKommmK8s1DmbKvQ1dAKxuLCoAV7RS79Y2NfSQFtEXcT8 2Nyg2533P3N02/3DljaLXvnnLwj66dYGIeHM8WSYTf1xHV3wLsZlx3tvqK3cPsDS0M2D yr6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=w9LuJNkG7zPJO9mZjCx84PLG1KhVhIg79RQ/3qsvzls=; b=h+dZT1V+i4N+7hz8659Ivjt1E1PGhQNAnGI2+w+n/yet+i7eluhRWyNEjt7nhMfO70 t47pieXD5GT/BVfdsrHJD5Lq3cGTtcmniYXlqytoSO96niDEzZPxWIygSHmtz5HJFe9N hBJW9TxP7L9lPc5eqCSn7CgrDZZRY1Kd5dCbLu9aj4t0p6sUR3PomzGhRKLumYI7CELZ AzbTiUWm3+WgXnuf7FFZgPo/P3h4fwcifQdbAKlTQEqRlAini30tOGC6VMAWJTH67wqG ZXNZkiulhb74LD0BbCriqaCs6QQZnAtLZOMuX5iXKEoR0Ze0jGiqgf/Md32ED/GFVzTz +81A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SgatvX03; 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 y4si1670698edw.240.2021.01.27.14.07.56; Wed, 27 Jan 2021 14:08:23 -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=SgatvX03; 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 S235992AbhA0K3t (ORCPT + 99 others); Wed, 27 Jan 2021 05:29:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235916AbhA0K1Z (ORCPT ); Wed, 27 Jan 2021 05:27:25 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48BDEC061573; Wed, 27 Jan 2021 02:26:42 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id j21so787591pls.7; Wed, 27 Jan 2021 02:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=w9LuJNkG7zPJO9mZjCx84PLG1KhVhIg79RQ/3qsvzls=; b=SgatvX03bpqjeH7enSluDxUFDfag6mEZ/mWUGr6TTFFq+J9N/61FggMzOoAsbIBXaZ SATsw9TgZDXY+o/sZzz5UVtBiKpGcYGebDJ6LLxXmwzYBgCcXnoaujjFX6CinHBnnEc2 1oMwcsSuv/FvcEsPet5hUuwSluN7sELy9sYjwsaFi3hJg6WxYHyyB5MghngIR7EP5xin zVXdf6zotG8+W2wogWHqCQiMOsTwUHxDGi1DcJ5c2jY3TTKTwp4QILg2cO4V+2U3ptLc 8m1W4IQMo8KsU0EeFJFmFHHGvZBpRxiv2wdbtCTAIklWmn+/Av+z7gVVYapsXHRHXgnE uRww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=w9LuJNkG7zPJO9mZjCx84PLG1KhVhIg79RQ/3qsvzls=; b=YRiUTZRaaGrC6dsi25oonDbAyi9L249sHyH8nVCoFZcyAh7Iye8LP0D0Gkn3CfJKk/ kdy9cJONIR4Boz25Lg6nARSNcPsX5F1Agunj88BtopXTgxG+0ZKXCUrEKuf9XqhNEU1k uPXcv+fxNQ8x9fFtqVVSQFU8FiA3bM72i3Js4qnkZA8CavzXfwRF1BsMbiIAp2b4PqU2 9ODZfZttDMesbYT2q2E5+hBOBXDKDw2vjBIP20N5h/gxauRrp7dEYtDGtuusC/kFQMp4 hkuuBlKI+nYIkeg5y3mWr53ietEHKKpEjD7DDRARvBs6NU+6FMm7P51/wMtah5jqyAZB wFGA== X-Gm-Message-State: AOAM531GDcijkiHDeNUBJGavnWzUdZTDPExp09MEx8J5nD6lPatUoZk3 ZXISYvyZV5xu++mtg+XFXvE= X-Received: by 2002:a17:90b:358d:: with SMTP id mm13mr5039590pjb.146.1611743201948; Wed, 27 Jan 2021 02:26:41 -0800 (PST) Received: from bf-rmsz-10.ccdomain.com ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id t129sm2039860pfc.16.2021.01.27.02.26.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jan 2021 02:26:41 -0800 (PST) From: Carlis To: gregkh@linuxfoundation.org Cc: 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: [PATCH v8] fbtft: add tearing signal detect Date: Wed, 27 Jan 2021 18:26:46 +0800 Message-Id: <1611743206-136112-1-git-send-email-zhangxuezhi3@gmail.com> X-Mailer: git-send-email 1.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v8: delete a log line --- drivers/staging/fbtft/fb_st7789v.c | 132 ++++++++++++++++++++++++++++++++++++- drivers/staging/fbtft/fbtft.h | 1 + 2 files changed, 132 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc..de7460c 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