Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3490180pxp; Mon, 14 Mar 2022 22:19:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEZFX1zGFuYXk3WDBaxXViDbFxtzKmq+S2yoa4ac6wIoh2Mvr0SOV9WpnMrRBS3rjdzWQM X-Received: by 2002:a17:90b:390a:b0:1c5:c908:862c with SMTP id ob10-20020a17090b390a00b001c5c908862cmr2717134pjb.79.1647321552271; Mon, 14 Mar 2022 22:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647321552; cv=none; d=google.com; s=arc-20160816; b=R+7y79MlsDNIUqPjvAX0Ar9wd9BjU3PfiNvOiGCd2RTC46jfTsuOX4hXQ/LfTmZWKq ZZUmB1/VBGysAatyymR7cC8esQ6nc4K4+UQsbmrXCN5hi2Rp1Wuu84SwyonCADd0FnRJ 9yKEL20JQfC9ZzKyOanL++0Dsj1wPXmzQ1x6ZpbQ+VGkD48ZUAZ8l2Ne4q+/qg0+zRFa V0lhB60aqMm0e7KurbeYl2wXH6rI7KnGS+vbNW8dTm0gksC3Kl+HVO0gl5CXhdrDcHRz yHbulbMkyzdo1t4+sCG8rzEy349xE4iTsEyHBBsn1sLQShXyZxcSVlT4kI8+/IMNnAMm 6rAg== 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=f7G/YswmiYVCsRP6W8jrevaUd3XphbqWfCfiw8upItk=; b=aNdg5FWsj5gQ26Ri4+ZNM9PyduYzg81d5//8qgFukaRvFmJNfaK9vZOylPUN6ZQQmP c2HwHX6YUAF4gxcXiidVQfDYnuEMkxj0UkKgPCFFKGJ9OE6TT2PoNUeVFZoFCGdoo3re u4nWNsYd6EMiN1K+dEakSHv25XedwmskJGNbzKST5nRc1qogYvrW4/pjQAaLrF7dX9bc QQyZaauIZ4+QeYSECrxI7t63wFIIc9xEajOlscRWVro1ficsR7apuoM0p2Mxdfr5LUqU Owmuv9OptwGZ4vU49qjzbU5kNalw3XTNRU2XijvbmY/IvM/DtU+IjKiAM/S50D+rOyOu 1IIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ysg9my+a; 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 m9-20020a17090a71c900b001bd14e01f4asi1004449pjs.56.2022.03.14.22.18.58; Mon, 14 Mar 2022 22:19:12 -0700 (PDT) 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=ysg9my+a; 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 S241857AbiCNOss (ORCPT + 99 others); Mon, 14 Mar 2022 10:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240624AbiCNOsc (ORCPT ); Mon, 14 Mar 2022 10:48:32 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0420141984; Mon, 14 Mar 2022 07:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647269241; x=1678805241; h=from:to:cc:subject:date:message-id; bh=f7G/YswmiYVCsRP6W8jrevaUd3XphbqWfCfiw8upItk=; b=ysg9my+a/I0Nx5vGb+YQcNEvqWUqZzmNKl5ZjbS2KW1mpbciW5ncg3Vw MaVQs6psqHCjXQC0q+g2Z+lBMYMzfPz7CtRef7qH/675NsTuAOYlGdJ9n qEXGqSmZZlMz8Rz/b567skWrD/ELgz1uC8Vfyjywnfn3b64ZTjJx3Ra6j w=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 14 Mar 2022 07:47:21 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Mar 2022 07:47:19 -0700 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg02-blr.qualcomm.com with ESMTP; 14 Mar 2022 20:17:02 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 29A9C4E31; Mon, 14 Mar 2022 20:17:01 +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 v6 0/5] Update mdp clk to max supported value to support higher refresh rates Date: Mon, 14 Mar 2022 20:16:52 +0530 Message-Id: <1647269217-14064-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 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) 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