Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp319290imu; Tue, 22 Jan 2019 19:44:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Df83OIFPRB4LvwUThvM1sXAyHPWF5eTos5D75wA7tLT5UyISja9GZVKIYeYTDDcEaBA8+ X-Received: by 2002:a17:902:8641:: with SMTP id y1mr616449plt.159.1548215054477; Tue, 22 Jan 2019 19:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548215054; cv=none; d=google.com; s=arc-20160816; b=y82cjKZ0tX06obD5WDOEstpN8DlKru4BupCbyTkuRWEMTLJi8KcxGqkTSyodiTyV7u GDPFR9CMlWwSjsEhequR9F1xVwEHA7OYRdhYeJa5+kI+++ClF2cW9GpCucqIm72sMKA7 y/7wELsJsgM/NMHw2w80i1b9ySVQb7zapkW6ydlP+ieAFYyL2CjgLvXpJoaRif2C2xL/ KED67Ewyl8Fa0mhrd6HQOEaxWoHlwOKk3p+n9v6pXyBTTNkepPLuP5QDIW/J9gRtI5F9 niXjHEaUwMS/bHKuX7cNRD2kTZ1XbsmDkY37x91uuBfVVAPtd+RweVYyn0RWt9Y2RTml 32yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=zJEUNxGjl25TUHQoe/UtBH6MBMp9JrHAciXn+n+TEWg=; b=GjNac+QyXpO5X6d4RLLaQTKCadO/YfHuIpQ+bRQ5YCq7E4wpqnoFWm6sn0uBfN0FNq vGsRxBDt3RigzG1kqPHJq5DKZCOjmqiL24tTk/M/f//dAPvkcdNx6UKG4e4c1G9uTAtR 2mkZON7sefNIHwixHnLvU9kAgDlgJADaCyhjUv7DVCTswOskTDfSx00tsTma3Kvr1YHR RVZdSyGHgRdWCw7z6u096SZSkTqDixW7xL2DdJjim8Fuh1n7CBEHKilVo4qBe9sUxraP 7uqR4pPAAibTkAcWRqY2ej882DsQoOpfFMd9qAyUJ7vwh9l4DmfbAWKjjZ779veeig49 cBsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="dCQQ/TWs"; dkim=pass header.i=@codeaurora.org header.s=default header.b="OAa/DUSQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si18293217pli.220.2019.01.22.19.43.59; Tue, 22 Jan 2019 19:44:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="dCQQ/TWs"; dkim=pass header.i=@codeaurora.org header.s=default header.b="OAa/DUSQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727044AbfAWDms (ORCPT + 99 others); Tue, 22 Jan 2019 22:42:48 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:39376 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726908AbfAWDmr (ORCPT ); Tue, 22 Jan 2019 22:42:47 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4C70560795; Wed, 23 Jan 2019 03:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548214966; bh=WpcYHBl11YstlpMBq7xT1mvY73pLavZ8sEgM6YlJD9Y=; h=From:To:Cc:Subject:Date:From; b=dCQQ/TWsfU3Ayvoi+QCJGIA2MMWnbHxeI3GlCVLIwxCcIwKGavjB+S/0FCCEkeLmu FR+MwdLFfGdBImsJRPqHJQaUyIKqLAljAE2W5mShNsGvgbkrAeHOslFEX7Lj6JWYTW QS43x9/H6nLOfTOBFdAN4a97jZODKCpN5m3Dsj/w= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jshekhar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jshekhar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A8B7360740; Wed, 23 Jan 2019 03:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548214965; bh=WpcYHBl11YstlpMBq7xT1mvY73pLavZ8sEgM6YlJD9Y=; h=From:To:Cc:Subject:Date:From; b=OAa/DUSQpbtP/p1GTG7MmyaWDZQjLio239eKqfMf8zKCLfpeXUZoYzq171aJJPAHc Kuc0GdWdc4yp1IdKH9EdG3Yb0SB+g+olxpw08ZAoV230tholEiY9RL7obyhk9gs/4Y AMMPv+oGKw9Exxg4iWS4/MkPwBAuTSFAnFtKz4Pg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A8B7360740 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jshekhar@codeaurora.org From: Jayant Shekhar To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Jayant Shekhar , linux-kernel@vger.kernel.org, robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org, abhinavk@codeaurora.org, jsanka@codeaurora.org, chandanu@codeaurora.org, nganji@codeaurora.org Subject: [v6 0/3] Use interconnect API in MDSS on SDM845 Date: Wed, 23 Jan 2019 09:12:32 +0530 Message-Id: <1548214955-19692-1-git-send-email-jshekhar@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The interconnect API provides an interface for consumer drivers to express their bandwidth needs in the SoC. This data is aggregated and the on-chip interconnect hardware is configured to the appropriate power/performance profile. MDSS is one of the interconnect consumers which uses the interconnect APIs to get the path between endpoints and set its bandwidth requirements for the given interconnected path. Subsequently, there is a clean up patch to remove all the references of the DPU custom bus scaling. There is corresponding DT patch with the source and destination ports defined for display driver which will be sent separately. Changes in v2: - Remove error log and unnecessary check (Jordan Crouse) - Fixed build error due to partial clean up Changes in v3: - Remove common property definitions (Rob Herring) - Code clean up involving variable name change, removal of extra paranthesis and variables (Matthias Kaehlcke) - Condense multiple lines into a single line (Sean Paul) Changes in v4: - Add comments, spacings, tabs, proper port name and icc macro - Use port macros and change port string names (Georgi Djakov) Changes in v5: - Updated commit text and parenthesis alignment (Georgi Djakov) Changes in v6: - Change icc_set to icc_set_bw (Doug Anderson) Jayant Shekhar (3): drm/msm/dpu: clean up references of DPU custom bus scaling drm/msm/dpu: Integrate interconnect API in MDSS dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845 .../devicetree/bindings/display/msm/dpu.txt | 10 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 174 ++++++++------------- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 13 +- drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 49 +++++- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c | 47 ++---- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h | 68 -------- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 22 +-- 8 files changed, 144 insertions(+), 243 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project