Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7892956pxb; Fri, 19 Feb 2021 01:58:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqVLpMhMaRzMf4MvTrNHu5DygkQoopzrBImCcTvmq3v46kNhNxaKopK49bgq+qCoYf+ZGm X-Received: by 2002:a05:6402:19:: with SMTP id d25mr8180971edu.71.1613728723039; Fri, 19 Feb 2021 01:58:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613728723; cv=none; d=google.com; s=arc-20160816; b=BZRy9g2YHYvJkIzJ6cTIdEcYBBlQXWzrvWBpbwsCZaxMgl/0dNxYi6G80SVL/laUM8 zQotLxYWJ2TH1Bren1uD16YQs6ASzoy410yg1DtZXUb2tQPlAy9fj90tyRh+zpEEb3/w uZJgNZ9QF9nuDlAaD2i9mwRK6eEEETQ5WVjEoTxWezn5Xx/DUAuNlBTpXZgZ06ugix4w JrtxCoJK4K5/Bpba2mNBFBPNUtQ6cRC1EGJ5v3G6u4wbglIxYlqBPhOM9pWlh0/gNa1H AjS7EcYbJb/1TFZFqkmkQE39/N5nfwOqXUE5Rpcp57nbmFPzskIUWj33uWbteFYZjiQ1 4YDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Q7BX8yOjWVr+LFN6TXoNIK73ckTQf1ck3c0m04AwBdU=; b=wd4sS9NMMdfTCkbY0NXTdjxIN5SvA0YFuneiw6nxhnr9MRZvB7mrBn1YuGCK8b3dgS qkFLEwKcYzGso7qRQ5AqO4Ki6+1L943IZ/MYDfx92WikaXPhfmCwQ+TFsL9JZQvz70fM L7uWtufVpAIc276vSMKaBfqXASfZyQ7mJ9L2XNHV0ik8cRnK2u6Y4Ql0kRKqleamAX5g HnHDSEbjINjOaC2pF80Sh5ItScRcbxZVbwCUV9LzDxZFy4OBz4J32svxBnOH1Nt6YPI+ 3qLh0AQ0Fkbuy0LRmjYltDJpNFA2PO7DfSZUj4ryZjCjplFUnz7lmpCR9HFefBmvyupn jScw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si5686956eje.504.2021.02.19.01.58.19; Fri, 19 Feb 2021 01:58:43 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbhBSJzi (ORCPT + 99 others); Fri, 19 Feb 2021 04:55:38 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:49696 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229599AbhBSJzG (ORCPT ); Fri, 19 Feb 2021 04:55:06 -0500 X-UUID: baf63ebbd570474fbaa89de3927c176e-20210219 X-UUID: baf63ebbd570474fbaa89de3927c176e-20210219 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 683906767; Fri, 19 Feb 2021 17:54:16 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 19 Feb 2021 17:54:15 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 19 Feb 2021 17:54:15 +0800 From: Yongqiang Niu To: CK Hu , Matthias Brugger CC: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , , , , , , , Hsin-Yi Wang , Chun-Kuang Hu , Yongqiang Niu Subject: [PATCH v1] move page flip handle into cmdq cb Date: Fri, 19 Feb 2021 17:54:11 +0800 Message-ID: <1613728452-24871-1-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org irq callback will before cmdq flush ddp register into hardware, that will cause the display frame page flip event before it realy display out time Yongqiang Niu (1): CHROMIUM: drm/mediatek: move page flip handle into cmdq cb drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) -- 1.8.1.1.dirty