Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp485348rdb; Thu, 22 Feb 2024 09:32:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV5u0g/SCmi9WDu1cF0RSEVBnM7/jC8dRCy4rAoia4usiDwdnZLIamg84bpzwnoXgHcamX4rjBwuokvlYxB2Xwof6Ui7JeUZPcOfk3BbQ== X-Google-Smtp-Source: AGHT+IHfp7TJGtdaJf+r9IlEGXqbRX9nNfUPqhNFvG3IaiPbc4YlF4oxJoo6SP9r3cAb7FWakyGh X-Received: by 2002:a05:6358:6f0b:b0:178:9393:176c with SMTP id r11-20020a0563586f0b00b001789393176cmr23898462rwn.15.1708623174671; Thu, 22 Feb 2024 09:32:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708623174; cv=pass; d=google.com; s=arc-20160816; b=n3dvG91x/1zG/6L/cKW91VK0WThqlBHFPu8lr2gRCM3VfQxyJWOX1OxwQQDsGhp8tK GHqaz342Zw0GLVWZGFx1fi+a1z/7r7hdqigxR8faY/ue4s5vd2VAu6Kd65Dwd9aH9jd/ SAS4XWnVkkNzppDA80215zASLsGECN4nWUXzgi8DRhmhlINDecjOOx9440TUrQuNNO6h I+UuuY08wulithLbkFTzWj+0/BoXvYAMcFggY/lN9KKj3s0aSLRmZu6v+vk9S7A/zWF/ Bopyhny2ktZxESAspDBNXI0t3T4j/TPHYDJQdnqdMba6o8gDEsTH9PKFPEdFtRLDhsDv 8zGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=uHYuztdiqcnoWxT8IYhA0vORd3mYh+h0ETbBCJU2hFs=; fh=qgM93m+44PuNpy9Jd7u8MhAiCvUS2v+wi8Ij+z6wIEs=; b=Y8ozf6SnNGv36b45gONzx3XLZHRKBP4rHi8u/NV5N3vxXLNsHOBNha1fmb2+L6XfIL kiRAZOu9s+aXnJSrrz/BJ6OLoQvg4hr+Lyqe2EbgWlmGozNom06EYVRWeNQCPy9nZw/G t8aUpMhiGOOa+ERNF5499G+HQsEwJhxdWHY0Jl6NfJEUUqIfwSIi8QvR08HQ2XI3Xt8K oa60tHQpP3NjRsAOHhdEEuS/dm/b4swP0WAFa+/TPZaHQsnhmb1UKjfq4/tWUcs2YUIy N9iM0vZN9WDDwEwNjx8ZQSjvlf/C/BUrfiCJaI3y6O5Oz32dXG17vhkw99/GxFFuk+4O WW1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kL2z3nZO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-76983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 81-20020a630254000000b005dbf03af371si10499651pgc.84.2024.02.22.09.32.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 09:32:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kL2z3nZO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-76983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DE4828195A for ; Thu, 22 Feb 2024 17:32:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB17D15530F; Thu, 22 Feb 2024 17:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kL2z3nZO" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B0C2156976 for ; Thu, 22 Feb 2024 17:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708623150; cv=none; b=QhC6oxs4o9oIBahHnMguhEvr7BXGNdQCwnpJPwy5lJQCHJ95JtQnNAan/OPG+6v1nzJjaGX1tTyPl7rve97OzbuSkTOkvJHZAQrkpjiwdXJX4bLgI637WBcbJHPnQ4dTkAgFDNQ1nM44NIPA7h6FJHNX0dtHy8OgQyjo/GlhOHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708623150; c=relaxed/simple; bh=XoXX/VGE3vTnIw/F8JWFhSua5GxofxdO60mrbzWRe4U=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=szDbIY+uG3HWEu3OpBQYzV4MEhy9P3yzrRfxzdHu1uaCcDUA200dLHAbKYG5eENi2TTL3NWOErE1ZwehAZxYaTm+hqJbLImzPzA/qOHMI7QhZ6E7HkgF1YbLIp7DiCNSSYqeeLv0sv5xNa9W9jyy1nFKUXnr6KXJ/nUaogghcjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kL2z3nZO; arc=none smtp.client-ip=209.85.128.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-607d9c4fa90so84606857b3.2 for ; Thu, 22 Feb 2024 09:32:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708623147; x=1709227947; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uHYuztdiqcnoWxT8IYhA0vORd3mYh+h0ETbBCJU2hFs=; b=kL2z3nZOztxBINmjthIYNqVOy3nfyv/QdwJy5XKPUavBawjUiJABSK0rke1Q7dk2OC 5xRwENisjn6J61ztzxE5N37C6bKsqFg6x8aDlDUVPBBKkReDoPj1gGjEtCqp+Pw5b43/ mTXqPi/lMZ7bZjrLhp0PJzTCjQ9i6809PRR8tRDlnGXPle8q3J2KUetLO69vjGGV60UZ 7UpZYS7/R3OFBD+x5eS5seyg30f7WQlTiT42qsJBbzIQgwDFe2BK4THRJqZI51PaUm6x lA23xd5eLA6c0uVSdHs8ZWLptddS+pSNR9cBmfULeT9IlUdmIa9tXnO3q2vZaomGw3C1 lE5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708623147; x=1709227947; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uHYuztdiqcnoWxT8IYhA0vORd3mYh+h0ETbBCJU2hFs=; b=Ch8PYp8D7P1KPXBZGsgJIVNu4YRQmslGmk16kHsIHE8Qywj1Nixh4kTTFkQKZTha45 sHMpiJbbkA3Wt1j08SlmAXi+RM+kzdQUrT0IMMGhpTTPqQq0F7iYDphYYB5191NFGO0F IG/0PN8A6kaKltWTW/P/RU4/i/dXtJkpTPbwg5pocrKhUU9f4Tzzc0r3hEDrC+c8ZYu1 utgCI34NuC5EfePJM7tfYcpmpqB2Kzwyva443+exkYcD/FZwIywr7ZmEvnjO5JuTr3mx tg2uWjDLwym1w3ewSGtFEHIo8xGu7v01DpH7qbT3nzrNCj4BrdPBpHXxpGDuMvDCLx+F pTeQ== X-Forwarded-Encrypted: i=1; AJvYcCV3uuHGNIVWUlTuj3n9FfAVDjNnmC60bDjNU+1g2O1vFcjSxUTM9J7tkI7SUuipxouzJu/VEmvDfqHw/MnQmXL0wb8CKkkEkvfz4oY+ X-Gm-Message-State: AOJu0YyNBtIrtPiMd9dVHSzT5yUU1BZCDKZa2LqhaQgOMyRfIoeokXcB pev6PhbC2h9ZR4MooIW0MEy8NfCJcE+ffbZ3Dt/57WjtQOt9cCcU8wWh7PGiE3WAAAmTDBXE3Kr HZkjxWqiNMtr4nXZacz2bBsEj561E3H7iUYOX2A== X-Received: by 2002:a81:6c0f:0:b0:608:7488:8691 with SMTP id h15-20020a816c0f000000b0060874888691mr6826857ywc.38.1708623147287; Thu, 22 Feb 2024 09:32:27 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> <20240221-rb3gen2-dp-connector-v1-3-dc0964ef7d96@quicinc.com> <8313a7c3-3ace-4dee-ad27-8f51a06cd58c@linaro.org> <8fcb5816-2d59-4e27-ba68-8e0ed6e7d839@linaro.org> <20240222150423.GI2936378@hu-bjorande-lv.qualcomm.com> In-Reply-To: <20240222150423.GI2936378@hu-bjorande-lv.qualcomm.com> From: Dmitry Baryshkov Date: Thu, 22 Feb 2024 19:32:15 +0200 Message-ID: Subject: Re: [PATCH 3/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode To: Bjorn Andersson Cc: Konrad Dybcio , Douglas Anderson , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Thu, 22 Feb 2024 at 17:04, Bjorn Andersson wrote: > > On Thu, Feb 22, 2024 at 11:46:26AM +0200, Dmitry Baryshkov wrote: > > On Thu, 22 Feb 2024 at 11:28, Konrad Dybcio wrote: > > > > > > > > > > > > On 2/22/24 10:04, Dmitry Baryshkov wrote: > > > > On Thu, 22 Feb 2024 at 10:56, Konrad Dybcio wrote: > > > >> > > > >> > > > >> > > > >> On 2/22/24 00:41, Dmitry Baryshkov wrote: > > > >>> On Thu, 22 Feb 2024 at 01:19, Bjorn Andersson wrote: > > > >>>> > > > >>>> The max frequency listed in the DPU opp-table is 506MHz, this is not > > > >>>> sufficient to drive a 4k@60 display, resulting in constant underrun. > > > >>>> > > > >>>> Add the missing MDP_CLK turbo frequency of 608MHz to the opp-table to > > > >>>> fix this. > > > >>> > > > >>> I think we might want to keep this disabled for ChromeOS devices. Doug? > > > >> > > > >> ChromeOS devices don't get a special SoC > > > > > > > > But they have the sc7280-chrome-common.dtsi, which might contain a > > > > corresponding /delete-node/ . > > > > > > What does that change? The clock rates are bound to the > > > SoC and the effective values are limited by link-frequencies > > > or the panel driver. > > > > Preventing the DPU from overheating? Or spending too much power? > > > > Perhaps I'm misunderstanding the implementation then, are we always > running at the max opp? I thought the opp was selected based on the > current need for performance? Yes. My concern was whether the Chrome people purposely skipped this top/turbo freq for any reason. In such a case, surprising them by adding it to all platforms might be not the best idea. I hope Doug can comment here. -- With best wishes Dmitry