Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp667544pxm; Thu, 3 Mar 2022 02:04:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsWZbW5nIivious/f7/wBEl2vq83fRPOUaNLcd/+35aAKWoPM2t9daADjkXHWNKeiv+oI6 X-Received: by 2002:a62:1757:0:b0:4f3:9654:2815 with SMTP id 84-20020a621757000000b004f396542815mr36951445pfx.52.1646301840479; Thu, 03 Mar 2022 02:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646301840; cv=none; d=google.com; s=arc-20160816; b=v7HZ9oxXWklFWYbvlLI6plC4v71FZNsiill2J6yyEPzql25RBgmWxVBy7MIiVAuVFO 2M6DyUhMUMHhg9LlEI2EeH5e43L3pjnwKif3fJhgdxLdIMCq/FNQkUJC0ZNYYDhK2FJC XLDP+wBiaKmUIh3nZP7e79OJuMA+RC5KoBkp4/58YFgYokW56Wde1z+6M6uEpp5Pbha/ MLUfKfXlqqlCDwdTFdcZ6Gugy74Rtk5X7MMCDuDSH3Syu3jaDmRNXm/f/RjaMj6YZpiL iIzhD0zKP+2tYSQVnIIVnDosAFdtzNC15C2Ioj3m2SIt5gho+LnqfVFC+e08lzEbggwg pmTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=EBjaZbsbuI7Ljj+Uk54SccfcCiNfDd63cdNIDSZ55k8=; b=FjccPaDfppxKqygm/ff5AT7T/K4n1TSuJ0VFI9t4L/srSZUuzMzMMr/uR8+oFJrOYB JGBuXb/9id5NZI2pwI6MJRfvXJUXZsw891YztDhhgnSWs6cCjxg9suiER6hJP0s9bS/M /E3ElXjyOs7jbiAXO+PvhgYxWvjyZLKhRyKhDC6F8ADrHg9nl7B2ASvYmgjfWXEROunA EVoOwkjzSM3fI5x+RsKfZ65bRLYFEwcWfd4Eo4u4j/3U1dYOshZmvUakh7wijK5NhLAS wThMJdWZY5wS7CkToxMR1HK7coA1/2BOE2bL+Y7qQnOg0mE0OjDjpHLGXgSvT71EcBod 3d5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=vWeXjukN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d32-20020a634f20000000b00373a611b00dsi1579792pgb.416.2022.03.03.02.03.42; Thu, 03 Mar 2022 02:04:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=vWeXjukN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232031AbiCCJlI (ORCPT + 99 others); Thu, 3 Mar 2022 04:41:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231856AbiCCJlF (ORCPT ); Thu, 3 Mar 2022 04:41:05 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D4D21712BD; Thu, 3 Mar 2022 01:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646300418; x=1677836418; h=from:to:cc:subject:date:message-id; bh=EBjaZbsbuI7Ljj+Uk54SccfcCiNfDd63cdNIDSZ55k8=; b=vWeXjukNbk2JQL41C/teS81YjZgIZmLqyJA4o5SOHqxDLUx4GELGHVDy Npv37lyPVN2pnKl+N778L3VXzzeBb2CKzwOD6nFmcTdZjBqGx++EUl6Yr 4Ac8F9jq3tYFxKufw31W0RrEBrQ2dVfIPQgtUvVf2LFviudpbK59PdoLv Q=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 03 Mar 2022 01:40:18 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 03 Mar 2022 01:40:16 -0800 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg01-blr.qualcomm.com with ESMTP; 03 Mar 2022 15:10:04 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 86B7D3565; Thu, 3 Mar 2022 15:10:03 +0530 (IST) From: Vinod Polimera To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Vinod Polimera , linux-kernel@vger.kernel.org, robdclark@gmail.com, dianders@chromium.org, swboyd@chromium.org, quic_kalyant@quicinc.com Subject: [PATCH v4 0/4] Update mdp clk to max supported value to support higher refresh rates Date: Thu, 3 Mar 2022 15:09:57 +0530 Message-Id: <1646300401-9063-1-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. 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) - Add similar changes for sc7180, sdm845 which uses opp table for voting mdp clk.(Stephen Boyd) - Drop patch: "drm/msm/disp/dpu1: set mdp clk to the maximum frequency in opp table" Changes in v4: - Add similar change for sm8250.(Dmitry) Vinod Polimera (4): arm64/dts/qcom/sc7280: remove assigned-clock-rate property for mdp clk arm64/dts/qcom/sc7180: remove assigned-clock-rate property for mdp clk arm64/dts/qcom/sdm845: remove assigned-clock-rate property for mdp clk arm64/dts/qcom/sm8250: remove assigned-clock-rate property for mdp clk arch/arm64/boot/dts/qcom/sc7180.dtsi | 9 ++------- arch/arm64/boot/dts/qcom/sc7280.dtsi | 9 ++------- arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 ++------- arch/arm64/boot/dts/qcom/sm8250.dtsi | 9 ++------- 4 files changed, 8 insertions(+), 28 deletions(-) -- 2.7.4