From patchwork Mon Jan 25 09:14:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xuezhi Zhang X-Patchwork-Id: 370903 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 38597C433DB for ; Tue, 26 Jan 2021 19:07:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0DD5A22CE3 for ; Tue, 26 Jan 2021 19:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729529AbhAZGAd (ORCPT ); Tue, 26 Jan 2021 01:00:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbhAYJPz (ORCPT ); Mon, 25 Jan 2021 04:15:55 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27EA2C0611C2; Mon, 25 Jan 2021 01:14:28 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id u11so7175843plg.13; Mon, 25 Jan 2021 01:14:28 -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=Uuz1cWK615KjsyzAn5B4uJHEFhZmMkBz735HYYCWLVw=; b=h/AIA79zizQQWojMq6zI+7TjxgSNttvCWo/+HGGBWb3sk7UE2Ca2RaycAW6/fXal6h RzoL80f2C9Wyua8eX9hB2eb0UVf9KnDI2VfeZVnOcsc0c4NE8QGisnZoIy8m8tCw3ceo vOL0S4bjzdbfDaFNX2lENvCM8ZHEy/+WwP5aFXLG9k2g72TwPQE9AMfW3Ob60acOuhac PlGtxE8DLVNXD45cgC/cTlqyqgwNwQ+XF/53fbVJUTlOtmX03qPW9UWwrG7ID/bDQc1h PRdNb79irDYNhfm4zfPtxFEUtTbTveFrJOY1K3wTaMNX5tsqPKNWdWcVERzgpbBnVSEu ZxxA== 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=Uuz1cWK615KjsyzAn5B4uJHEFhZmMkBz735HYYCWLVw=; b=isy86x8roF+OT5p5KoUiAMQZbbnerl0ZI82vUcruMqRctJD5mUKheTVu/FQGarUWp/ 91WshTYj121JGTYpszCDfysuZ7GH+hrpe0kZ6Y7Iw9tblEl5Oa05Ge2hkHG3JLboyVlY YFRhWxOo8/UkafhxopfjihSKEMEvKTZdmwS4W9DeUmkrjORRfUfaRh/+HquH+HP/xuiA n6ds9Qy4JHJtMk48x2DMiG7Ycp7Q8CyUxIGPgrCRyFE5dZeln/o3qJxERKHHReImaM7/ zguKYLlRb2GBjtmnW3e+XuBdR5W/JVxxeDTYmOWvQAHGAZJIbRYHZNWYI+Id7/tWlNML neyw== X-Gm-Message-State: AOAM530jY7e/vvTSaXZQBpgpGGJveUIJZ8UVauRR5fnwe3QfDUVLbTKn AXbkCfgsRHLck1cW5gtynXU= X-Google-Smtp-Source: ABdhPJyXozHSNR3fCJUy/gHIy4qAmev22ABOH8/+wjpYGHD2zR3SUBsJ5+AJ2vN67e7SzkUYmysjIg== X-Received: by 2002:a17:90a:17a5:: with SMTP id q34mr4549773pja.47.1611566067755; Mon, 25 Jan 2021 01:14:27 -0800 (PST) Received: from bf-rmsz-10.ccdomain.com ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id p13sm15184063pjz.49.2021.01.25.01.14.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2021 01:14:26 -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 v3] fbtft: add tearing signal detect Date: Mon, 25 Jan 2021 17:14:30 +0800 Message-Id: <1611566070-84944-1-git-send-email-zhangxuezhi3@gmail.com> X-Mailer: git-send-email 1.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi Reported-by: kernel test robot --- v3:modify author name --- drivers/staging/fbtft/fb_st7789v.c | 134 ++++++++++++++++++++++++++++++++++++- drivers/staging/fbtft/fbtft.h | 1 + 2 files changed, 134 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc..5426276 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