Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2453580pxp; Mon, 21 Mar 2022 21:02:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN5LuEBxG4Kvdd0bEcRJhXS5yCxyL9B9nEYrAiYToYEX0A0KqT5DNHPasvxdVYBW0XsX1h X-Received: by 2002:a17:90b:314:b0:1be:dc22:62f2 with SMTP id ay20-20020a17090b031400b001bedc2262f2mr2687571pjb.102.1647921752660; Mon, 21 Mar 2022 21:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647921752; cv=none; d=google.com; s=arc-20160816; b=0DzB13RJXqg6Z9RKHYWwi4add1wlk7o1bn56dUe3xlyZmY78+ubbkyHMJlAJ663oWS eMMGyg10mQwG4wqYlOlFg7pCImqDwcEg/t97u7gD5gc4+OGlJsP4v0PhF4zGhGr4+rOS 09MX9RSI9j/D9LvJwoRkAk2fSUEvcRXFJO+oTocsg8e7Saz4tq87lieUBmufhGvxrHle qIq5Tw8b7++z/MiC7Uhfmbz3v3tZg74yj4RZR7UiG+iPZwB5StZbTGFtwVv3jMOdaiJN arQVr2+HG9vg+nh+QaS0oEHBArwN4KNYxQeyIk0hNOo0QfLDjLOn9LaGiFIUlPgKylgO xu7g== 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=eT1svF+SG9LLkAZp1i+Qgs6GpeoPG3FN+cWM/MwUTCQ=; b=FCbSN9Zoubbx6yS7IMCTTJWdsbN/PA6BPnWRJw8IxAYQI1PS4Qz5Bbied0SPgWvf+H 9DI5fY+hrivkS3OXhCaegqOg6T0ZK6nSSGgv4WoOxyiFEdkNEggPHkNVaozyT9wEDOE7 +shWwChPRNuuz7SPoqW/eFhPe+wGf1QspFKyqYz4ojGTCSrX72Rx2zie26OYf/OP6H6V L8oGviMJmHBol1i0BPq7uUG8MqvrIEcnUh+XXZpsRrz3GPywI7JuiY6bKAMNblcth+ID t8/7GPDTHgfLkLOEaEOnIrR8YzzCmR2E7nKdyIkj9qlFRjTy+nsHFSVY6HNSpYKQ/vG/ +7Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=sMJHK4AL; 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=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n1-20020a170903110100b00153b2d16436si11935591plh.62.2022.03.21.21.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 21:02:32 -0700 (PDT) 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=@quicinc.com header.s=qcdkim header.b=sMJHK4AL; 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=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 715DA113D39; Mon, 21 Mar 2022 20:27:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236111AbiCVD3P (ORCPT + 99 others); Mon, 21 Mar 2022 23:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236057AbiCVD3A (ORCPT ); Mon, 21 Mar 2022 23:29:00 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22987E9CB9; Mon, 21 Mar 2022 20:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647919654; x=1679455654; h=from:to:cc:subject:date:message-id; bh=eT1svF+SG9LLkAZp1i+Qgs6GpeoPG3FN+cWM/MwUTCQ=; b=sMJHK4AL/DWFvvf9yBhJjUsJOQ7/ZdDyMkiXS9P7hcZzQVMwxy+3QW36 OLdqcSGUlFAkoFkLrbHJwEzAZXxHVl8LZZ5oPChXmZX4PL7NsUDKKUsSw GMmBrle5ApublesAUQxukTSze03HizVfUUPRDlyjU9cbjBQNE4Tluy7XH w=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 21 Mar 2022 20:27:33 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 21 Mar 2022 20:27:31 -0700 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg02-blr.qualcomm.com with ESMTP; 22 Mar 2022 08:57:13 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 24007541F; Tue, 22 Mar 2022 08:57:13 +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, dmitry.baryshkov@linaro.org, dianders@chromium.org, quic_kalyant@quicinc.com Subject: [PATCH v7 0/5] Update mdp clk to max supported value to support higher refresh rates Date: Tue, 22 Mar 2022 08:57:06 +0530 Message-Id: <1647919631-14447-1-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,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=no 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 Drop the assigned clock rate property and vote on the mdp clock to max frequency during bind/probe sequence. 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) Changes in v5: - Add change to set mdp clk to max frequency in opp table during mdp probe/bind. Changes in v6: - Remove change log in dt patch. - Fix the leak reference for opp by adding dev_pm_opp_put. (Dmitry) Changes in v7: - Update commit message and fix tag. (Stephen/Doug) Vinod Polimera (5): drm/msm/disp/dpu1: set mdp clk to the maximum frequency in opp table during probe arm64: dts: qcom: sm7280: remove assigned-clock-rate property for mdp clk arm64: dts: qcom: sm7180: 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 ++------- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 ++++++++ 5 files changed, 16 insertions(+), 28 deletions(-) -- 2.7.4