Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6679966ybv; Wed, 12 Feb 2020 17:24:44 -0800 (PST) X-Google-Smtp-Source: APXvYqz0fuvt6uDUjNnDCZf+nNodtUXWND3T05jV6Tn+kFRpEck5YPfW4wm/8TMdZ2CoDnT4zioR X-Received: by 2002:a54:4707:: with SMTP id k7mr1247651oik.153.1581557084431; Wed, 12 Feb 2020 17:24:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581557084; cv=none; d=google.com; s=arc-20160816; b=DS90JNBTmaMEs0rUojjLNyoAKOJlUIX65bPOhnUgAns+hLdbh8Q5EKkuK3yt/uemor yPOtZD0FKQ7nU+YcIOZAdk2p6lYC9pPcZ+nGtxhix3Xx3wJZ8y7RZ1b2vWelMgcmY1sa rm1qvO8GjR2NiDbzK5RwEXXJ2ryECQxXjLw4JQ1fAYqx3q2aX+XAxHOjZOr5HZpaaBdt ZZiZVHt+U3bGp7tKhHMMvK8NtuBmCErVdNVjhXUFW3H6x1eEPPWEy0of1tY4o59o8dB5 MGn7L001uTX8ao4W6xFemLRsc9FYHspbxKGOTV10kAiYVcCIxnxje+b8APZbpEYWsAZc 1oLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xxmEaRGjkWrQG8Gtb9KKre7wf2OJRxreHnt3z0nXk8c=; b=F944kjfAY9wXPFloVgvrt7llguWZf4PHyiPiLkziFGmB6EHMBeRvqvPwU0WorOJUZt 2gc0+bm/Pi+mMD5HioxpwYX2xlMoUbckLqaDsS+WXCbRrbnrXqhZaznwgJh61cdaJaIh tKja9ICjl44w4iMx8SoHziyQ/uP4UXQ2z14+l3w76ZHN3ebLZ73r8W88agMoINdA8sur I9YnziTIUMyTpGdjid4O3x9n5IgX2gNxn1Rt1G8lQoKaH+Sae68srEJ3vTMLhXhhs7Pt cX3b9/eH95YPIyR5gc20J8I0/jWF9i9e+jgt88uFykgJtN5wl7hwaTG2TFwlwQ6TNufU E7EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=j+K2q+JA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n25si390013oij.175.2020.02.12.17.24.32; Wed, 12 Feb 2020 17:24:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=j+K2q+JA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729428AbgBMBYC (ORCPT + 99 others); Wed, 12 Feb 2020 20:24:02 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:61392 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729366AbgBMBYB (ORCPT ); Wed, 12 Feb 2020 20:24:01 -0500 X-UUID: b624fb22974445158a1e7b5bb8c04a20-20200213 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=xxmEaRGjkWrQG8Gtb9KKre7wf2OJRxreHnt3z0nXk8c=; b=j+K2q+JAIaLEU05PnlmC9Hw+miN6fHIxsFrloHZWoEccD18zVwX+JxPOk2KvZ4kylF8xc4U+ysps2brUMhx7T+UY+bLwboDaHirVPfQUZUleqUfWgHfIDWRrfF8MCx9uJ5RQeR7ev4+FsdK0hb5R3EB8MlmG4YNb4llUd4VrcPI=; X-UUID: b624fb22974445158a1e7b5bb8c04a20-20200213 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1591756928; Thu, 13 Feb 2020 09:23:56 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 13 Feb 2020 09:23:04 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 13 Feb 2020 09:23:59 +0800 From: Bibby Hsieh To: David Airlie , Matthias Brugger , Daniel Vetter , , CC: Philipp Zabel , YT Shen , Thierry Reding , CK Hu , , , , , , Bibby Hsieh Subject: [PATCH 2/2] drm/mediatek: add fb swap in async_update Date: Thu, 13 Feb 2020 09:23:53 +0800 Message-ID: <20200213012353.26815-2-bibby.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200213012353.26815-1-bibby.hsieh@mediatek.com> References: <20200213012353.26815-1-bibby.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QmVzaWRlcyB4LCB5IHBvc2l0aW9uLCB3aWR0aCBhbmQgaGVpZ2h0LA0KZmIgYWxzbyBuZWVkIHVw ZGF0aW5nIGluIGFzeW5jIHVwZGF0ZS4NCg0KRml4ZXM6IDkyMGZmZmNjODkxMiAoImRybS9tZWRp Y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