Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp959382ybm; Wed, 27 May 2020 12:12:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywLGo/W505sDAtnDpsqTRxQWLax0ivsUL7uvOu0qkZbkugfM4Ln4DzsSry1yRu7twLD0q/ X-Received: by 2002:a50:9e49:: with SMTP id z67mr3063378ede.236.1590606767026; Wed, 27 May 2020 12:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590606767; cv=none; d=google.com; s=arc-20160816; b=F5egskoNdvk71xTIdDaG9ncf3W2dhlx2rE953HoeL7Loh+6Lj1PedFXllUkML0/YcD i7BFE7OswzEN9SLxAmtKPUT3d21jF4YsZi/pc1kfuxO7eEPzeFvQqjOkyNGFEYfTJyon 5hax/HrC7INY3JDC16NnjJ6nGS/sCQceX7hs6TuN2SMrcm0FDOtaT961MZ8OQUmhl1P9 SipkfFpTjZOElNMygf5oTE596Se5aWINKmiSHdIed9caqkj8gHASbBvVseCxPswKRuWU 8LDWGlCNc3XbSJx+hfnLVuPU80cb3eh3sSRCE3XD6y5CAEJekHyFahum02zhvD0Y9jFk XWHw== 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=4R64lQECAezSIekk6lfrKMmFFora0mq1CFEKW++lIpo=; b=KKMW0haOYKsOFiOZ0if2Jb7oJXwFsMJ9dRtrywUu5DpteiMzrReom0TagTqSOqo9nf vD6Ioiw6PKvmmHZ5xEWgGFyunfdrJI6NXs/IOyVPb+Dd3+hiLACYsAN+LQD4mafSSNjx bcPviACYLZUL/pK7z8+rffCR4DbH04jZj3SAtV89Dtu/E+roqJjF6ul+dJJbq4pI4g8F ZnkKDW5huB2xQF/xanfbvLPosGTB6iTQhaIn0eS/l+gAYq3D5VkYvfyBF4MxNqjh5LIV w17jdxP8udYvbgFCtwtKq8cXrDPYso74M5XWPm37ezv04/10IF58qL2+mMedw67l4gB7 jqwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b=XqQQSknD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn10si3377029ejc.89.2020.05.27.12.12.23; Wed, 27 May 2020 12:12:47 -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=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b=XqQQSknD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391241AbgE0Qd5 (ORCPT + 98 others); Wed, 27 May 2020 12:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390679AbgE0Qd5 (ORCPT ); Wed, 27 May 2020 12:33:57 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A61ADC05BD1E for ; Wed, 27 May 2020 09:33:56 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id c21so14847846lfb.3 for ; Wed, 27 May 2020 09:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anholt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4R64lQECAezSIekk6lfrKMmFFora0mq1CFEKW++lIpo=; b=XqQQSknDXgHqnwyIRF1WdjWReCla6ArE+ipVeGU+Y0Fs7zp+DK2ItCI09Dq7gx/Dyj hJf8C7JzYXLFFiEFPSIdtpTmPXi2couBReRwKrfpziAgeR25ImfBTsGCqZ0900Sg420V z/54ca6O8t7uoH9d/pihKqLAZOuKmtUV7Yi6dH5K8BbubPM8Tvv2W8Pxcgdx5oaFi4dZ hDRBsfqV/wQ0coxuFblYgulLkwiWqgTgOJw/n3rvVaXBhvE5H8wI2VlOwvKt27ojlEeO vURwwXQwETHDoE/k0iaYAURYW/tVRFO8RSQLJtspA+gHvGUH0NqUsG7wshy4+xfs7f5W 2WJg== 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=4R64lQECAezSIekk6lfrKMmFFora0mq1CFEKW++lIpo=; b=BPMLb3iwE4ckCIPO6sGVmbQ5DCSe2nRMZ/3/xHcJzJ2OHLz7oIYvnsVULrSEnJtOGo og1XGl5qltihhbDZuE75yTnmDYemrcTfCsXXhscKmJDBU6ufmVvU99wol1oS/ss2AmhG AubmHLxQqSbU00W2g7bQMHYK1vCku/QX1Ta2wp+vKwlTVFzOKvYrxiTncAxPpCKm6pXK c62HL4ipV+dXMqzY3fecwz8DvkLOJyLfqifib2gGQlHRhjX12+yhzI3mNdxuIFkJ1U/i NZR3N7JXxbOjG+7lzJdzNbDhaB8P5vw2toWjoPhxsvnOtOzCH/THkKrlynK+p140hldi eAhg== X-Gm-Message-State: AOAM533Gr7oce6cSCO1FZRKkafqZQL5MaLWiUsaTIvOcJF9C0LBtT+Kt bHViI9TiZMAuxAvqrDVSlJr58Gzyc9YDq4VAlrMNfw== X-Received: by 2002:a19:f813:: with SMTP id a19mr3516133lff.212.1590597235190; Wed, 27 May 2020 09:33:55 -0700 (PDT) MIME-Version: 1.0 References: <1aaadf9a5176591c891622cb00b0c50f42e569dc.1590594512.git-series.maxime@cerno.tech> In-Reply-To: <1aaadf9a5176591c891622cb00b0c50f42e569dc.1590594512.git-series.maxime@cerno.tech> From: Eric Anholt Date: Wed, 27 May 2020 09:33:44 -0700 Message-ID: Subject: Re: [PATCH v3 015/105] drm/vc4: hvs: Boost the core clock during modeset To: Maxime Ripard Cc: Nicolas Saenz Julienne , DRI Development , linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell 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 Wed, May 27, 2020 at 8:49 AM Maxime Ripard wrote: > > In order to prevent timeouts and stalls in the pipeline, the core clock > needs to be maxed at 500MHz during a modeset on the BCM2711. Like, the whole system's core clock? How is it reasonable for some device driver to crank the system's core clock up and back down to some fixed-in-the-driver frequency? Sounds like you need some sort of opp thing here. Patch 13,14 r-b.