From mboxrd@z Thu Jan 1 00:00:00 1970 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=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 82BBEC2D0F2 for ; Thu, 2 Apr 2020 02:48:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59FDB20787 for ; Thu, 2 Apr 2020 02:48:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pXJRfpya"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="u3T4NKUW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59FDB20787 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w9E/Z+bm/KvlVO1KiHpdMmHEQsstEzSFmA3WjKuZjho=; b=pXJRfpyauDjGn4 5krtW6K8IoEbB5kVdTsBUHkTPQwkMd6CyrJGzBWMWUTEIyDk/CeTFLXZh2z1dmq9dgV0C4rAPJqpY jymT6qcbWntwtN1vmoEMKXYmHl6MbRIz00JWhJDlvPfs4kaSX9tTSCbyiomLOxcGD014G2pR6qHRL UiD5K/dFG3FcR14ARj72LeQylVr6gkveKe5ERZyDGUfO3Rsg4I5Z+V1ffKVOGCI//BdV1P1Jb8n/C E43IhX6CCW2zmgjsrgbLWSJL3kDL/czDJYTgpAuXRH6OPVoHJBD9BjznNSvI5J9+KcSU3acH1PwAi MYAnEKInE1VT10+2iMEg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJpty-0006BG-Ra; Thu, 02 Apr 2020 02:48:18 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJptv-00069k-7u; Thu, 02 Apr 2020 02:48:17 +0000 X-UUID: 4978751b305c43288bc536d9d312d835-20200401 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=yvxzSL3ARjPlbxPt4EEaC22R2omEz1sQZS0v7fH05E4=; b=u3T4NKUWv4tEmEkOaFb2nHIDu78K0tPcU9jPPax6/n3BQicoLEra64FOdCU/Eas9W0g8VsrQGQSi3Z45KqAycsWzoYxXU3e/vKc38VFhzMmIHDNwluCwtiuNduRZOXV5S9NUn5q1WjmoeFehF+gUnIf2Z1tnDS5JdqFX+wpS7VQ=; X-UUID: 4978751b305c43288bc536d9d312d835-20200401 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1494658489; Wed, 01 Apr 2020 18:48:04 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 1 Apr 2020 19:48:02 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 2 Apr 2020 10:48:02 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 2 Apr 2020 10:48:01 +0800 Message-ID: <1585795682.27527.12.camel@mtksdaap41> Subject: Re: [PATCH V4 00/13] Add driver for dvfsrc, support for active state of scpsys From: Henry Chen To: Georgi Djakov Date: Thu, 2 Apr 2020 10:48:02 +0800 In-Reply-To: <2737cc5c-3876-6861-c44f-fc9f552bbdb9@linaro.org> References: <1584092066-24425-1-git-send-email-henryc.chen@mediatek.com> <2737cc5c-3876-6861-c44f-fc9f552bbdb9@linaro.org> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200401_194815_283010_A15B99DE X-CRM114-Status: GOOD ( 17.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Nicolas Boichat , Mike Turquette , srv_heupstream@mediatek.com, James Liao , Viresh Kumar , Mark Brown , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Fan Chen , devicetree@vger.kernel.org, Rob Herring , Ryan Case , Arvin Wang , Matthias Brugger , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Georgi, On Wed, 2020-04-01 at 18:09 +0300, Georgi Djakov wrote: > Hi Henry, > > On 3/13/20 11:34, Henry Chen wrote: > > The patchsets add support for MediaTek hardware module named DVFSRC > > (dynamic voltage and frequency scaling resource collector). The DVFSRC is > > a HW module which is used to collect all the requests from both software > > and hardware and turn into the decision of minimum operating voltage and > > minimum DRAM frequency to fulfill those requests. > > > > So, This series is to implement the dvfsrc driver to collect all the > > requests of operating voltage or DRAM bandwidth from other device drivers > > likes GPU/Camera through 3 frameworks basically: > > > > 1. interconnect framework: to aggregate the bandwidth > > requirements from different clients > > > > [1] https://patchwork.kernel.org/cover/10766329/ > > > > Below is the emi bandwidth map of mt8183. There has a hw module "DRAM scheduler" > > which used to control the throughput. The DVFSRC will collect forecast data > > of dram bandwidth from SW consumers(camera/gpu...), and according the forecast > > to change the DRAM frequency > > > > ICC provider ICC Nodes > > ---- ---- > > --------- |CPU | |--->|VPU | > > ----- | |-----> ---- | ---- > > |DRAM |--|DRAM | ---- | ---- > > | |--|scheduler|----->|GPU | |--->|DISP| > > | |--|(EMI) | ---- | ---- > > | |--| | ----- | ---- > > ----- | |----->|MMSYS|--|--->|VDEC| > > --------- ----- | ---- > > /|\ | ---- > > |change DRAM freq |--->|VENC| > > ---------- | ---- > > | DVFSR | | > > | | | ---- > > ---------- |--->|IMG | > > | ---- > > | ---- > > |--->|CAM | > > ---- > > It would be useful to also add the above diagram into the commit text of > patch 09/13. By doing so, it will be saved into the history, as cover letters > are discarded. OK, thanks. > > Thanks, > Georgi > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel