Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp312487imu; Tue, 22 Jan 2019 19:33:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN543G+a1dQVduTx192EeLeNCAOMPMubLPSJswJQgSYKznMPA/bH+Jam2UWjyp/vkWge8rVr X-Received: by 2002:a62:44d8:: with SMTP id m85mr612067pfi.164.1548214401006; Tue, 22 Jan 2019 19:33:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548214400; cv=none; d=google.com; s=arc-20160816; b=ql1XMMmUXXLiD/jEBSpD5q0akP7nmoIeshJT+6D8WiG3N5/IZuBUb/1fpQyYCm4mcm mhmwqj9EbmeOwwGZowvjFoP5o7YnYFNoEId/yoqOLzRCDRKMvViarCFGTPpIJas3Ihpw Rx+QPNXW3nMoOczCrp6+AlAyXVQu7+5UnIMfqNJ9lcD2q/1Dnw92kcBtAoe+33ExAwOg QbTLcHhKOsQMDppP3ZyMZ/Lizf6JU3nZAJ/TUPdJqImZg6Dv7Yb1b1do/tWwfgeMQlbT M4JwWiCwTo+KCw1n8iMY7XN5HzrbXsFc4pPHcJiK8XiqCUkdBkMF5GVufCBJuT2OUy6D hqqg== 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=lEHWVeMEItqH9F1q9V94nyEXcZ6lzvfUlcuP5XIyGQbSNWWFCksxoSZNMUXPCWu+rR r9mc2iQQSfKX5P5GIUFVn5K34mrnhoeFV6HNVVcZUfH2DUR7XjeL0e5fJrzOZAC/1p2c QESlWsF2+yYyygmZ74VtbnXMnmYngSXvmyHb06l2FdS9zYKhkvUZjVotGXqaRjCXHpNc XpLvLsX3dWbYRQ56olAZhSWkJpeZbGTjaWT6sEBF38xtDs+uLNhoDIAY8cfOZ9vRIJYf +aX/FGrHDgDGwqZ6lRGP1Bsi6CZ3Wb9ORLeDlTAvySsl+6M/nJoT0YEc39vBxVavCcwH kzvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=m9BMUkET; dkim=pass header.i=@codeaurora.org header.s=default header.b=m9BMUkET; 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 i190si17250834pfc.116.2019.01.22.19.33.04; Tue, 22 Jan 2019 19:33:20 -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=m9BMUkET; dkim=pass header.i=@codeaurora.org header.s=default header.b=m9BMUkET; 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 S1726964AbfAWDbx (ORCPT + 99 others); Tue, 22 Jan 2019 22:31:53 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:53848 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726843AbfAWDbx (ORCPT ); Tue, 22 Jan 2019 22:31:53 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BE9696083E; Wed, 23 Jan 2019 03:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548214311; bh=WpcYHBl11YstlpMBq7xT1mvY73pLavZ8sEgM6YlJD9Y=; h=From:To:Cc:Subject:Date:From; b=m9BMUkETgoIQettg/h9fDlq+mANt3Y7sxUedPId3MM6RGrUCe0AL5o4YXqD+5hQeX GpnfnagpVBTffBqFwBcnSufmBhPTXJbYpzMCr0Log6AAmnGUQaT3sCWuABj9Su8/kr GkPcz0eWTqxpVf4+JrQwVLypjKX+xwH64lyHCOts= 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 3AF676030B; Wed, 23 Jan 2019 03:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548214311; bh=WpcYHBl11YstlpMBq7xT1mvY73pLavZ8sEgM6YlJD9Y=; h=From:To:Cc:Subject:Date:From; b=m9BMUkETgoIQettg/h9fDlq+mANt3Y7sxUedPId3MM6RGrUCe0AL5o4YXqD+5hQeX GpnfnagpVBTffBqFwBcnSufmBhPTXJbYpzMCr0Log6AAmnGUQaT3sCWuABj9Su8/kr GkPcz0eWTqxpVf4+JrQwVLypjKX+xwH64lyHCOts= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3AF676030B 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:01:34 +0530 Message-Id: <1548214297-17697-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