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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 1EDDBC433E0 for ; Sat, 30 May 2020 09:42:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EB45C207DF for ; Sat, 30 May 2020 09:42:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB45C207DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CD846E9CF; Sat, 30 May 2020 09:42:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B0236E924 for ; Fri, 29 May 2020 15:00:59 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D452F1045; Fri, 29 May 2020 08:00:58 -0700 (PDT) Received: from [10.37.12.52] (unknown [10.37.12.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C41F73F718; Fri, 29 May 2020 08:00:48 -0700 (PDT) Subject: Re: [PATCH v8 0/8] Add support for devices in the Energy Model To: rjw@rjwysocki.net References: <20200527095854.21714-1-lukasz.luba@arm.com> From: Lukasz Luba Message-ID: <8fca24a1-93f7-f859-bd1f-b7bf484737f4@arm.com> Date: Fri, 29 May 2020 16:00:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200527095854.21714-1-lukasz.luba@arm.com> Content-Language: en-US X-Mailman-Approved-At: Sat, 30 May 2020 09:42:14 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, juri.lelli@redhat.com, peterz@infradead.org, viresh.kumar@linaro.org, liviu.dudau@arm.com, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, bsegall@google.com, alyssa.rosenzweig@collabora.com, mka@chromium.org, amit.kucheria@verdurent.com, lorenzo.pieralisi@arm.com, vincent.guittot@linaro.org, khilman@kernel.org, agross@kernel.org, daniel.lezcano@linaro.org, steven.price@arm.com, cw00.choi@samsung.com, mingo@redhat.com, linux-imx@nxp.com, rui.zhang@intel.com, mgorman@suse.de, orjan.eide@arm.com, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, s.hauer@pengutronix.de, rostedt@goodmis.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, linux-omap@vger.kernel.org, Dietmar.Eggemann@arm.com, linux-arm-kernel@lists.infradead.org, airlied@linux.ie, tomeu.vizoso@collabora.com, qperret@google.com, sboyd@kernel.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, kernel@pengutronix.de, sudeep.holla@arm.com, patrick.bellasi@matbug.net, shawnguo@kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Rafael, On 5/27/20 10:58 AM, Lukasz Luba wrote: > Hi all, > > Background of this version: > This is the v8 of the patch set and is has smaller scope. I had to split > the series into two: EM changes and thermal changes due to devfreq > dependencies. The patches from v7 9-14 which change devfreq cooling are > going to be sent in separate patch series, just after this set get merged > into mainline. These patches related to EM got acks and hopefully can go > through linux-pm tree. The later thermal patches will go through thermal > tree. > > The idea and purpose of the Energy Model framework changes: > This patch set introduces support for devices in the Energy Model (EM) > framework. It will unify the power model for thermal subsystem. It will > make simpler to add support for new devices willing to use more > advanced features (like Intelligent Power Allocation). Now it should > require less knowledge and effort for driver developer to add e.g. > GPU driver with simple energy model. A more sophisticated energy model > in the thermal framework is also possible, driver needs to provide > a dedicated callback function. More information can be found in the > updated documentation file. > > First 7 patches are refactoring Energy Model framework to add support > of other devices that CPUs. They change: > - naming convention from 'capacity' to 'performance' state, > - API arguments adding device pointer and not rely only on cpumask, > - change naming when 'cpu' was used, now it's a 'device' > - internal structure to maintain registered devices > - update users to the new API > Patch 8 updates OPP framework helper function to be more generic, not > CPU specific. > > The patch set is based on linux-pm branch linux-next 813946019dfd. > Could you take the patch set via your linux-pm? Regards, Lukasz _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel