Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1298175ybl; Wed, 8 Jan 2020 14:46:42 -0800 (PST) X-Google-Smtp-Source: APXvYqwriMVV722UexACbfx3RwbHRpye/0vCUE8qRo2jQJte8YGb5b6uSNA0MVyM8dbT+LsEIgIu X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr5871877otp.108.1578523602343; Wed, 08 Jan 2020 14:46:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578523602; cv=none; d=google.com; s=arc-20160816; b=qV5wR2Lm6cg3ANWBBhHH5MtrTJMPU7fmtUxeoVnWR8cipr/wtRHkUp0VsgUYBI50O2 tsYz5VpteRpYQHmsz6WuFxXAYb+SFEvDkG7neXAQOCKyqmjiSphZaGusfvflfSlNjxkL VaUMTzuHhma/1sATHqaqf87EsclQIxqAaWbtMD0SsdDu9C1oQCWpmJGQ+JobJJAgEwxp F9VBwTXGKQjV65Po4JrLOQsQeaDmyBA1jP6sLzH7WviQmaudJbBW8KEg/tbox7BbI3b3 m4RU61HGkamFJOctZjapGy6RdTwAdx9h9SMFiC1qztZ0xO4PMtv6YGMhGInrjUEbCSIi odqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Vo+6C1EuzsBLHBwL8bvb08t4OkksMVFETIJoYKx5DTo=; b=HjRATtIPrxt+rNmcel/jeWYJ2bduQwLDrc+1zjtiadtAHnm7Jd8B/wkBgelOkf2X8C aIFYjJss38fn6pS1as+C/kMAMcLlL8MuEGE/X5PvR2TyMetCgoSl1lsGfEHMroI0dgVP YGNZ1imoERA7wSMLsDWQyM31euPuuK4blJbzceIwYXbE+YmA/C/6/dvIpuSndtygHRVw 9vL20hvQ2QxzH2aKJJs7OsTvOSLTlzkQ/k9aGs0EEakbjofg7mYiCAmExS/6IQ4lxIL5 bNwPkFS2W6Fp+A35UrYaY/HuV69FtY2FKtjr/mUoM9LSjTmZAVAfysjZMRsYy9pCFFq4 Zoqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wnszb6on; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o17si2655140otk.135.2020.01.08.14.46.29; Wed, 08 Jan 2020 14:46:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wnszb6on; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727578AbgAHWoc (ORCPT + 99 others); Wed, 8 Jan 2020 17:44:32 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:36093 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgAHWoc (ORCPT ); Wed, 8 Jan 2020 17:44:32 -0500 Received: by mail-qk1-f193.google.com with SMTP id a203so4278530qkc.3 for ; Wed, 08 Jan 2020 14:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vo+6C1EuzsBLHBwL8bvb08t4OkksMVFETIJoYKx5DTo=; b=Wnszb6on0SMp/3XOzNETDRgBA1SdEWJobacWeeLrc4lDfi7vhmtnOldGqbPPBAZbfG 7wp6u/0G5WV3uSIpGENHwwILKLe4qZ56kKoDHOHcvgCpvAf4N2HVstmon3dD9/r6c9sv qlfEDsZVhNNIdGprWFOmlxpJcR4ut9Km4zNUY= 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=Vo+6C1EuzsBLHBwL8bvb08t4OkksMVFETIJoYKx5DTo=; b=X+5f3yJyZ6nvoh1fYmtSU7KtQ5UC7mUBdvm4vnGLu/zyVFH7tNSoMkt5S9n5GGOc+o TRb31D92Ad5ISEfAfRRwqm8Ib97G7JZATd5nmUOLZsXzq9/eVxOvJk83nbm2e38W0wYd KUQQgEq2lGtmlDkJIlvzkkg8L2wCK7B9VMhxkaAfTEKrKailax8PyMVqoPzA9RCvz18F /rcXbWH6+0zcxkGoyLTZu46Weetp0w2ofTh8qGqsuQZVC6GYSbesdIaMpPJFo84VdOJj V2vVh8bwlLiuRoTM3CBPTWM/VUUUuCDdOCdkSJyU90CRGg27Pn/LDE8CWRy0GAB8vVHD zLwA== X-Gm-Message-State: APjAAAUPVan/o6vGAODxeOwDHtkvczCgT5Oa8xo4iNH4tVrdXMSEkMVl 6kRwONZXzbKNICcBeLgGKaB0AFIJ8ePE1kc0IUVSRQ== X-Received: by 2002:ae9:e103:: with SMTP id g3mr6826468qkm.353.1578523471432; Wed, 08 Jan 2020 14:44:31 -0800 (PST) MIME-Version: 1.0 References: <20200108052337.65916-1-drinkcat@chromium.org> <20200108052337.65916-8-drinkcat@chromium.org> In-Reply-To: From: Nicolas Boichat Date: Thu, 9 Jan 2020 06:44:20 +0800 Message-ID: Subject: Re: [PATCH v2 7/7, RFC]: drm/panfrost: devfreq: Add support for 2 regulators To: Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , Matthias Brugger , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Liam Girdwood , Mark Brown , dri-devel , Devicetree List , "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/Mediatek SoC support" , Hsin-Yi Wang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 9, 2020 at 4:09 AM Rob Herring wrote: > [snip] > > void panfrost_devfreq_resume(struct panfrost_device *pfdev) > > diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h > > index 92d471676fc7823..581da3fe5df8b17 100644 > > --- a/drivers/gpu/drm/panfrost/panfrost_device.h > > +++ b/drivers/gpu/drm/panfrost/panfrost_device.h > > @@ -91,10 +91,12 @@ struct panfrost_device { > > struct { > > struct devfreq *devfreq; > > struct thermal_cooling_device *cooling; > > + struct opp_table *dev_opp_table; > > ktime_t busy_time; > > ktime_t idle_time; > > ktime_t time_last_update; > > atomic_t busy_count; > > + struct panfrost_devfreq_slot slot[NUM_JOB_SLOTS]; > > ?? Left over from some rebase? Oh, yes, sorry.