Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp870037pxb; Wed, 15 Sep 2021 15:33:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTKMPEbFHz5SmthaLI8y0DWsNpRZQAPFIjSb4IiUo7rKt732v0oOkxsJPI5hCruWWXOqTN X-Received: by 2002:a92:cecf:: with SMTP id z15mr1769265ilq.96.1631745214434; Wed, 15 Sep 2021 15:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631745214; cv=none; d=google.com; s=arc-20160816; b=RHke45qHoJEZp6sSXNLf+m4DkYzNLuW1KVBOA8R0jAuWhBbpSEiNLbMPEBsU/O2WVn 2caU6ZvvuOUeWeBoA2Jtfxwb5ENkOt/klYTVxLkV0fXjLPI7x0AE6uRVRWPBkvMd2ijV NVS5zTMqMEoQ4f67+GWSiXI9bPEbYBDwYpnhOHD8yUza9UDSVj1ExBUjbAvfkxq7PRWK vNGp/FEHs2lBRMIB4aA7jkIff9VLbk6bPArdTemI8LseXlwGioCAS/us/CWrbmiK4LkY 5yWUteLvpvWlZvLWZQOkm1Fj7J09JQ8wFRZDKxBuuE13w4fH4KTWj+3owTfensrbThmi 4FIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1dcN9z0+dqS7YRg5qM55n17pug7se8K9l7H/Va/Q5Ps=; b=FPfrq5M6O+qCXtyfpDriYhGOBHZgtM59vagZM7+egwncXJyj/HD/ooeDd07LHmSFqW mHZ0/LwunU4B58EsVYPPP8UwdWgRE+7PvJorqfp/D9gtni8izf5583+EOVLPrC1Fl6lY pnvJGH/9IW9XGLKDPXH+01Xg+yobSe65gbj/W2FMYdV9ijfLY/cJMbYGaa66XDlyoeqi 3+uuIzM0GfEGY1dOQJ9g2HB7X0ibGYvnADWDJ8wJJ0s1+KkaWFbh3mJtgYSQ1TcIstDk YAq0j3/pvYAnbl4YjMS6HDW/2gJap3UPeDcjlyHmtiSH7e7NMe33ZrCDZJmiSMvMP5zS bGVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cn4xq7Io; 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=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 e35si1045906jaa.106.2021.09.15.15.33.22; Wed, 15 Sep 2021 15:33:34 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=cn4xq7Io; 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=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232773AbhIOWdN (ORCPT + 99 others); Wed, 15 Sep 2021 18:33:13 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:56209 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232442AbhIOWc5 (ORCPT ); Wed, 15 Sep 2021 18:32:57 -0400 X-UUID: 13f26141339e40829ef5efb66c760724-20210916 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=1dcN9z0+dqS7YRg5qM55n17pug7se8K9l7H/Va/Q5Ps=; b=cn4xq7Ioj3p700RmRq18RDIck8+HK/Cv25X5z/hW4VW+21bm00Uvq4xFwXNFn13Yyk3rP4WBKXhe2qD8H++cg6CSo9jW3HikQdQnf9bMT/YzAL+2FE7YyWarPZra2iLIvYqUiwGtVGTj4bTIltT7YTiqrHcThAE9FGwQgALMSVo=; X-UUID: 13f26141339e40829ef5efb66c760724-20210916 Received: from mtkcas32.mediatek.inc [(172.27.6.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1943860499; Thu, 16 Sep 2021 06:31:32 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Sep 2021 06:31:27 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (10.16.6.18) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 16 Sep 2021 06:31:26 +0800 From: Jitao Shi To: Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , Daniel Vetter , David Airlie , , CC: , , , , , , , Jitao Shi Subject: [PATCH v7 2/3] drm/mediatek: implment the dsi hs packets aligned Date: Thu, 16 Sep 2021 06:31:16 +0800 Message-ID: <20210915223117.7857-3-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210915223117.7857-1-jitao.shi@mediatek.com> References: <20210915223117.7857-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: CDCC4146967362D458A2E0792F8551705A6E2C2FBCE27A5EB7F63530179B27D72000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U29tZSBkc2kgZGV2aWNlcyByZXF1aXJlIHRoZSBwYWNrZXRzIG9uIGxhbmVzIGFsaWduZWQgYXQg dGhlIGVuZCwNCm9yIHRoZSBzY3JlZW4gd2lsbCBza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