Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1095996pxv; Fri, 16 Jul 2021 01:16:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVCohwLQynVmwmkqoECJrHrWFeQo3z1A9T0JvOV0pG6gpjG45E2KCE5vguTkYyGrDQElOh X-Received: by 2002:a17:906:27da:: with SMTP id k26mr10700149ejc.267.1626423408706; Fri, 16 Jul 2021 01:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626423408; cv=none; d=google.com; s=arc-20160816; b=jy9b7sUQQBmPhWp6vgEec5Q7QUXwYpp423N0D/zqjCy1V4avqTBibhj/cKGhA23Ce/ 5uiYh49BMC0VXGRhng99AI4e3uG6WTUW/zhhx0CqnW7JJ8doI5FVShJIcrx7Vl9xcFF5 23TB9ENwi/VgSHEsLuZ6SToYPTb0dgqWxpiqv7u/4YgYrLx3r39DvZcgzeE3Mv6xMOCi 1xArvIZM5uY/FiRdJh55Fuf2Fteo1wdPoeIYX1TfNhWkqZgUz4HbuFYzcb7/dDvimSsO twa5VXwOjXvwKh/uHxT26YPWw4O/6TaOsMc7DY+inhRRCNhyBpEaKDpYkiVjYMTZVcKp FwqQ== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=6pJ4tb3q/Wef8l+9r7qbzuTmCi4kds4LrIP47tjiUqc=; b=mvy2/0kTnMa3bMVve/lU5mZTUtjNWGyPeJ2LHU764LN3W9yyuUAXmr43pmcjcue/Cc ZmDxlajaVl7WQgtJ7XCKGSvo+O54x4rowFKDArKtQGAJOviwsx/1cxbQzGcPqqzsoogn kWhheWGYkkt22WbcdhTKPsc8csr+j2AewPAjw1deyp90dfN7pr+9mK5GrrmjUZBPX+fQ HbWLZboYLQSimP44ntFI7/5ifXnsiKFsgdC6REdG3U6pP0NlnrDHCwxExmjoqHh3UYYN cg2Z75pggsOJenz7M29GV0+TO36zBdY9MQqWdt2VwSmhtXkpfJQoHTjPAifMuk5mTXqc 6x3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qlfMT+kD; 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 m15si10252276ejb.707.2021.07.16.01.16.24; Fri, 16 Jul 2021 01:16:48 -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=qlfMT+kD; 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 S236987AbhGPISU (ORCPT + 99 others); Fri, 16 Jul 2021 04:18:20 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53624 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S236794AbhGPIST (ORCPT ); Fri, 16 Jul 2021 04:18:19 -0400 X-UUID: 8613e77c839f4d77969d995eb4674fe8-20210716 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=6pJ4tb3q/Wef8l+9r7qbzuTmCi4kds4LrIP47tjiUqc=; b=qlfMT+kD4EIs/soqa4fts8RFwRhwSulQl6l8k5OxfLka4+U6okMhnfmwiHcylBOqHDDzRDUA+yN85cXwDp+VOF7mA8127xJki7Exz5OjDtiGFI0bDyadbtUtlyEUQN6H9V1MBUbmAy/fuRqm2THuCjmoUiUMr0BZiMsrAZ6fPao=; X-UUID: 8613e77c839f4d77969d995eb4674fe8-20210716 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1772663035; Fri, 16 Jul 2021 16:15:22 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 16 Jul 2021 16:15:14 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 16 Jul 2021 16:15:15 +0800 Message-ID: <9c4613fffc80b3102ebb2df6d92cb3af1cd704c8.camel@mediatek.com> Subject: Re: [PATCH v2 7/9] drm/mediatek: add mediatek-drm of vdosys0 support for mt8195 From: Jason-JH Lin To: Chun-Kuang Hu CC: Matthias Brugger , Linux ARM , "moderated list:ARM/Mediatek SoC support" , linux-kernel , , , Nancy Lin , Date: Fri, 16 Jul 2021 16:15:14 +0800 In-Reply-To: References: <20210710113819.5170-1-jason-jh.lin@mediatek.com> <20210710113819.5170-8-jason-jh.lin@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIxLTA3LTE0IGF0IDIyOjM1ICswODAwLCBDaHVuLUt1YW5nIEh1IHdyb3RlOg0K PiBIaSwgSmFzb246DQo+IA0KPiBqYXNvbi1qaC5saW4gPGphc29uLWpoLmxpbkBtZWRp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