Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1608338pxb; Fri, 1 Oct 2021 14:47:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8f2Bialhav5HDsb7DW+Ly3e+qNvYdeL53sHPm90e5lBZHn16Df+zrfrbKkfH1Tde690Nd X-Received: by 2002:a05:6402:142e:: with SMTP id c14mr468398edx.209.1633124824587; Fri, 01 Oct 2021 14:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633124824; cv=none; d=google.com; s=arc-20160816; b=wiNm+8vqjhlrOryJTkaMFFicSH4Ue3LczrnIs9FmxPDWsne38CD1HG+Q4xjjhFBVVa 1VGIOxvFETNxGz/6XM6crNMuRlbEntHr6HNMH/M3uMh6PvNA56RXJQN/hPMCjGXA+pru 0BwWf5P8jIxjfmixO1EyiVsiCNSXE/Hp+ykLUuPtKGEmAk6yIe5/dZ+LziDJT+94LDpl SqiXHmeRgJGzh/M9qUr37XIX+DYIrCNGkBwVShI5vA6CNE9/Rq0WIeOfoeXy0Pg28j1E VT1bLSxvJBLXvAcYikuXiNScNggxm1txfEFaO13fYfSP/HfjawptupaWe1DjmbkkKAkP w8XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=PCx+Mv1g2fXDWZ1yxKCufXcb8CGDrVVRus80Eavv7Ms=; b=a+VmjsqV6sxJCrM4b1UvYPPTddhxRX2zQTvAe6dwstbFGFPkqFUszIt5cTMCrybtIF wj1Km2Y0xyza/I9FoB7US+revEScMGWkgsz+Rs9HTNT5X+SqI4I3+kPJn/vKXkFAcXAo 0Yipc0c8Hf4ioZZ6XFZtrmoJxllhhmyG3+cJZ5fnHFrmW+ndYMwU7Fg2vKdOdu2r2rDS 6hD/xHNzX8PHr025ikkCxmiGlnwE7LWRHK9u58a8AuO74XdC00j68TYiII5jEduE1Al+ Se9uLYHDUVTT6r0088pVqaW/2uO2iz8Byf1fqIxJV++gNlqQpyUI6ayFd8ny+DpbQZsf Ghvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="AoOrU/vz"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd22si9581588ejb.277.2021.10.01.14.46.38; Fri, 01 Oct 2021 14:47:04 -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=@gmail.com header.s=20210112 header.b="AoOrU/vz"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354657AbhJAV1U (ORCPT + 99 others); Fri, 1 Oct 2021 17:27:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229820AbhJAV1T (ORCPT ); Fri, 1 Oct 2021 17:27:19 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF876C061775; Fri, 1 Oct 2021 14:25:34 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id x27so43719879lfu.5; Fri, 01 Oct 2021 14:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PCx+Mv1g2fXDWZ1yxKCufXcb8CGDrVVRus80Eavv7Ms=; b=AoOrU/vzFMh0SeboIlXMtpNDGkYKn1nagDBoSx7YjB/QehXjY148G9jNUrxWmj+VLS thqf3WTWyv2KgzuCKJgAZtvLfuVTKHVZvxZ6W/v3MpnV1knnxoAKmsgMXbYc8hQX6L4m 27bTEIknYqodxO1P46g5y8th3QuIbfdgGpCEWEBjBEI0bRGm4qAhzegrULVaAiivY+Mh x+t6HwqOhcQgQuTMWHPo+FtI3bPeA65O68izCkj0O0dmOktC4XPdYvSp/C5mg+rlwHvZ baqhRxdt1w4rGWw9l8GTpQxhVXx3W19ivPNG/b+kFePi3tvLX4ZgYZ2jb6Li8kajTdY4 hAdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PCx+Mv1g2fXDWZ1yxKCufXcb8CGDrVVRus80Eavv7Ms=; b=NIlFTU4KZtSGaa9ROP2zLnktTBr/rp2DmU0rRs8E2DLYGP7aVREEAbriZ6E9t6lTZ1 6zNPFZWVm0/FtRLDec3rSSNpMWWualS2/faz/qB2919hfgTkhqCSIwLMvwOaRt52rZrp sMfgy1RJHaJnj7lax3lUqh49zOYvS+5tp3tYeoCxgkMxRiSpLFAzeUP/3R7IGdll9bR8 EzubxedCGYwHZTyp9htLuGjNHVH/GrbE9gYWiwzD6TtT5Y1qcZdjdV8me1bABMEVtE6c /hQWiK4mSefPTSt4WJ3hVgitFEVs8oW0xg1l526zgVrlrIeScfnLPSY08poGu1cxHXhY jLpg== X-Gm-Message-State: AOAM531/ORymA41U1r9ewl+QvHpG02Kv2l1zgCJaO9vvlWHioi7r7Ycp k4jxrjMnxcxiOsJ6dHIuURk= X-Received: by 2002:ac2:51a6:: with SMTP id f6mr310738lfk.150.1633123533086; Fri, 01 Oct 2021 14:25:33 -0700 (PDT) Received: from [192.168.2.145] (79-139-163-198.dynamic.spd-mgts.ru. [79.139.163.198]) by smtp.googlemail.com with ESMTPSA id u4sm927755lfu.200.2021.10.01.14.25.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Oct 2021 14:25:32 -0700 (PDT) Subject: Re: [PATCH v13 14/35] drm/tegra: gr3d: Support generic power domain and runtime PM To: Ulf Hansson Cc: Thierry Reding , Jonathan Hunter , Viresh Kumar , Stephen Boyd , Peter De Schrijver , Mikko Perttunen , Peter Chen , Lee Jones , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Nishanth Menon , Adrian Hunter , Michael Turquette , Linux Kernel Mailing List , linux-tegra , Linux PM , Linux USB List , linux-staging@lists.linux.dev, linux-pwm@vger.kernel.org, linux-mmc , dri-devel , DTML , linux-clk , Mark Brown , Vignesh Raghavendra , Richard Weinberger , Miquel Raynal , Lucas Stach , Stefan Agner , Mauro Carvalho Chehab , David Heidelberg References: <20210926224058.1252-1-digetx@gmail.com> <20210926224058.1252-15-digetx@gmail.com> From: Dmitry Osipenko Message-ID: <4281a6db-9875-7266-268a-a1639e7d01ff@gmail.com> Date: Sat, 2 Oct 2021 00:25:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 01.10.2021 17:06, Ulf Hansson пишет: > On Mon, 27 Sept 2021 at 00:42, Dmitry Osipenko wrote: >> Add runtime power management and support generic power domains. >> >> Tested-by: Peter Geis # Ouya T30 >> Tested-by: Paul Fertser # PAZ00 T20 >> Tested-by: Nicolas Chauvet # PAZ00 T20 and TK1 T124 >> Tested-by: Matt Merhar # Ouya T30 >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/gpu/drm/tegra/gr3d.c | 388 ++++++++++++++++++++++++++++++----- > [...] > > I was looking for a call to dev_pm_opp_set_rate(), but couldn't find > it. Isn't that needed when changing the rate of the clock? That is another good catch! Previous versions of this patch were changing the rate, while the current version not. So the set_opp_helper() isn't needed for this patch anymore. It may become needed sometime later, but not for this series. I'll remove it in the next version, thanks!