Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3573990pxp; Tue, 8 Mar 2022 17:49:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyrgl76k9JkADb0LeU/3h4s6EY698eM+0HWYavM0kRu1YHpe2Tmcqr9zX4BuxdPRb4rOfd X-Received: by 2002:a17:902:cecc:b0:151:eadc:998d with SMTP id d12-20020a170902cecc00b00151eadc998dmr13454523plg.62.1646790590505; Tue, 08 Mar 2022 17:49:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646790590; cv=none; d=google.com; s=arc-20160816; b=DsTRzuAe3sCAfFC4xYA7hsX7o1kyKVxqia62MY3JW4NpFx7pxpSyxIkEhOkD4m7nMH GQNKmJJ5Zv2gGYCu6Pz9OAZmfvG+K3YT4SZRYS5TPdqF/Oo3hNAYcNuNDyZZ0ThyIwfp ale0DvO2c5jaKZ5vgw+vmo3goGObgXbAIYk5ue5j8R9Xh8EX7RwFVTNt2T+N8LBT+J1V jhHiqICwNUs6JfnNUwdyaulUOWIjNwS2KV2JgH7gHumwhEovZHC7JDEmuYuuMj4oqi4Q JTQyogBKZRLgx6GPw0N9zOBYSoKz2cWQsYGhaE07POpa8B85bkFrb2oIFg6v8nW3Aj7N X8uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=QX67c8/LWZdvLCoz7zI9uFhqDQjOSWv595jQDqaaHvw=; b=o7NFT/b7m/Gj0POasrtUv7fBoAsTcUzqNn3dxQFN9ut7Sup+D67yOGJgipzrD/9WIL kP2cu+dEzF8VNPdt7YYz5Ok2sEqx8o81x5H+CBvwzA13g9ZQSFEO8wHR1yBHBgr5AMEj EXbXpbTAB53ePNP7o8kVLuo4Y/fj3dPTiTR7V3jqbGDso4nzOovG1YlozGWKfRujID+1 iPDeyNSgRIqSj/lLvvZJQ25DAZkyvDw+sKQ5es0sYmkfsUE6VV0aCMBMW4i7C50zr3Ei Gu/strsxiyZOrIBDqRr5uwX6d4GORiHjin24KlHO966igyo4S7ep4pHrK3G8Wmf0zrGg GxFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AoYICMH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w9-20020a1709027b8900b00149ef3ba5e3si557241pll.602.2022.03.08.17.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:49:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AoYICMH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D5DF194159; Tue, 8 Mar 2022 16:25:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349809AbiCHUGk (ORCPT + 99 others); Tue, 8 Mar 2022 15:06:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350121AbiCHUGi (ORCPT ); Tue, 8 Mar 2022 15:06:38 -0500 Received: from mail-oo1-xc2d.google.com (mail-oo1-xc2d.google.com [IPv6:2607:f8b0:4864:20::c2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 388ED4A3FF for ; Tue, 8 Mar 2022 12:05:41 -0800 (PST) Received: by mail-oo1-xc2d.google.com with SMTP id x26-20020a4a9b9a000000b003211029e80fso314525ooj.5 for ; Tue, 08 Mar 2022 12:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=QX67c8/LWZdvLCoz7zI9uFhqDQjOSWv595jQDqaaHvw=; b=AoYICMH8irjSWwtZb+Z4eLYjCkWJeNSak3Ym+tkyXo7JKkBgfi/ApgCW8h+4uiTLk4 9/ZBh92aXPInfCxmDlAWVb4MzPrC9fWhQAXR1EaTZrKwakYnK4HXEBRhrYs3Ep5zfB2E sF7dLTDPwJru+Mre8SMqknSkzXsiym3TOgeUA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=QX67c8/LWZdvLCoz7zI9uFhqDQjOSWv595jQDqaaHvw=; b=PQBmXQYxElCyp+GpweGFY0uPS/JTvoP9j1aWe09mxSD2Qj8mjScXI+JmQu9H+pH2bp UbEeSOgYe0CAYQ0w+lypOeBXlkrfolrhFkguCiWtisjuhFXvbBQn7GqL+aG18AVGXiAg uiXkSWmbDtFwhSvSKwLYuNrTRRbeyUB/XpsapkfmI7/WVC2PJYe98J4i85grzxS6TMQq yhY/KNX04zzZ4RqbsXAHlDPdXRlbewpD22iWmLhcOX6TlgABSJJDE6bpnU/6YuSJwpi2 tNGEhufMWhj4nq3lV1AR6WbGVFUUVIO4EZwKGmEXfaBX2U3OXsQIQk0bdp78ixwIltx7 GXdA== X-Gm-Message-State: AOAM532yOtmp3ecsxfAcCXo555YhkWxWi09Uskl17Pjc/J4RjtSZKkfN cbrmjKKxqjUKjOxkpVOgTET19Yj445c8Tbd/17+icA== X-Received: by 2002:a05:6870:d250:b0:da:b3f:3211 with SMTP id h16-20020a056870d25000b000da0b3f3211mr3425601oac.193.1646769940572; Tue, 08 Mar 2022 12:05:40 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 8 Mar 2022 12:05:39 -0800 MIME-Version: 1.0 In-Reply-To: <1646758500-3776-2-git-send-email-quic_vpolimer@quicinc.com> References: <1646758500-3776-1-git-send-email-quic_vpolimer@quicinc.com> <1646758500-3776-2-git-send-email-quic_vpolimer@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Tue, 8 Mar 2022 12:05:39 -0800 Message-ID: Subject: Re: [PATCH v5 1/5] arm64/dts/qcom/sc7280: remove assigned-clock-rate property for mdp clk To: Vinod Polimera , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, robdclark@gmail.com, dianders@chromium.org, quic_kalyant@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Vinod Polimera (2022-03-08 08:54:56) > Kernel clock driver assumes that initial rate is the > max rate for that clock and was not allowing it to scale > beyond the assigned clock value. How? I see ftbl_disp_cc_mdss_mdp_clk_src[] has multiple frequencies and clk_rcg2_shared_ops so it doesn't look like anything in the clk driver is preventing the frequency from changing beyond the assigned value. > > Drop the assigned clock rate property and vote on the mdp clock as per > calculated value during the usecase. > > Changes in v2: > - Remove assigned-clock-rate property and set mdp clk during resume sequence. > - Add fixes tag. > > Changes in v3: > - Remove extra line after fixes tag.(Stephen Boyd) This changelog should be removed. > > Fixes: 62fbdce91("arm64: dts: qcom: sc7280: add display dt nodes") I thought folks were saying that this is bad to keep? I don't really mind either way, but I guess it's better to drop the fixes tag because this is largely a performance improvement? > Signed-off-by: Vinod Polimera > Reviewed-by: Stephen Boyd