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=-1.0 required=3.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 49C0AC433DF for ; Fri, 29 May 2020 16:18:20 +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 24FD02077D for ; Fri, 29 May 2020 16:18:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24FD02077D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 9CFE66E943; Fri, 29 May 2020 16:18:19 +0000 (UTC) Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9817A6E943 for ; Fri, 29 May 2020 16:18:18 +0000 (UTC) Received: by mail-oi1-f196.google.com with SMTP id l6so3039027oic.9 for ; Fri, 29 May 2020 09:18:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zCKRRe7FwZhejdctsJhwzQtwJFTHGD8RGi5WeD/f/w0=; b=Lyj9J83wxz6WwHYi9st1Bg3MAKJXiP7tTgplA+exlKpPWbM94fE5b/z3nouMjs3kDW 99R/BzLddxZnZ58pGB6O4R5+aGUyavBp6qQvzNwBSbbhPGN3Shejq12VTS3GQ1NDbASu XpRKj0OHwdvxkMox+EChQQxp8OqZj7bR0NjpPfHPg+tIJWQh9c61MMWUAt59jhiIJTM7 f2dj9dvm3HJ/KLQRtmRHKvEYhPpPoEaj4YrPmh8+DEdHZZZqxM2WGEvfi+GBwc6ZCTla FWhxsQ9oFAgF8xYHevgjvKqE/3U5/5iG4Hosb1RbOnAeBnWgAIRqxcaUv0ARihLqPRtz VrZg== X-Gm-Message-State: AOAM531oq+r2o6blkFDdFgiBkEcVqVunwx0wdIyNJO43dsiTTvLWbadr 0YZ60z3x3VvNm1ip6sWT3FiQApv5NmZi+39Lpec= X-Google-Smtp-Source: ABdhPJxIPIXsXf4jLYLEBb/1WBoIj43Ang4WatokkbfhBp4dzFCXQVyui/zzlBPpl6Uh6FpjdetZ4E5goPLNut+9on0= X-Received: by 2002:aca:4254:: with SMTP id p81mr6231320oia.68.1590769097929; Fri, 29 May 2020 09:18:17 -0700 (PDT) MIME-Version: 1.0 References: <20200527095854.21714-1-lukasz.luba@arm.com> <8fca24a1-93f7-f859-bd1f-b7bf484737f4@arm.com> In-Reply-To: <8fca24a1-93f7-f859-bd1f-b7bf484737f4@arm.com> From: "Rafael J. Wysocki" Date: Fri, 29 May 2020 18:18:06 +0200 Message-ID: Subject: Re: [PATCH v8 0/8] Add support for devices in the Energy Model To: Lukasz Luba 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: Nishanth Menon , Juri Lelli , Peter Zijlstra , Viresh Kumar , Liviu Dudau , dri-devel , Bjorn Andersson , Benjamin Segall , alyssa.rosenzweig@collabora.com, Matthias Kaehlcke , Amit Kucheria , Lorenzo Pieralisi , Vincent Guittot , Kevin Hilman , Andy Gross , Daniel Lezcano , steven.price@arm.com, Chanwoo Choi , Ingo Molnar , dl-linux-imx , "Zhang, Rui" , Mel Gorman , orjan.eide@arm.com, Linux PM , linux-arm-msm , Sascha Hauer , Steven Rostedt , "moderated list:ARM/Mediatek SoC..." , Matthias Brugger , Linux OMAP Mailing List , Dietmar Eggemann , Linux ARM , David Airlie , Tomeu Vizoso , Quentin Perret , Stephen Boyd , Randy Dunlap , "Rafael J. Wysocki" , Linux Kernel Mailing List , Bartlomiej Zolnierkiewicz , Sascha Hauer , Sudeep Holla , patrick.bellasi@matbug.net, Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, May 29, 2020 at 5:01 PM Lukasz Luba wrote: > > 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? I can do that, but I didn't realize that it was targeted at me, so I need some more time to review the patches. Thanks! _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel