Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1772994imu; Thu, 22 Nov 2018 23:25:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/XyMO5/UkVbQa1k5pC0baZkrgClC/yckOw3GT6uINl9mdTCxUC2WA/dE9Dq0wiDornmpGXn X-Received: by 2002:a17:902:4c85:: with SMTP id b5mr13985628ple.226.1542957940939; Thu, 22 Nov 2018 23:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542957940; cv=none; d=google.com; s=arc-20160816; b=h/FCHGNFpcWCzHS3uwXpEkK9z3VC8CYi98gi7RU0DmGpsNfGFA8XJ7+22daM9Jk++I yJOJpXIXPYs05H2KbQ6qF+DB30lDoL0eeoirGkk2dvpc6SgClN9NgjeC4XIKz/eseok3 NvrL5fLp3tObBdSdfISqVW0kOulWUtOP1GUROnxvuKajH8/mGH1tjYeen/n0ukVLb9Qy AFu3z4THL2jeQjaNO61cbk6nLZZVctJ/jUj3jl5qoJcEwTnl1Bf125bfnDvSKBMBGN7t M+1aWdvRfoHhoS/ysYisYPJBZKU0tFl04F0FaxfZDgbgWmlvA/DpzjSJCNjAOfzI6TMG +E2w== 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=hnoDc+FMbmE4m7xyYr3OGYAiwMbpVP4DPut4KFtqg50=; b=ugnoQ8J0RubmDqQ+HV17k0EA0lrRajHRoo/qA3OC/yjodU7JjYuvf3JWL12qPodspr 2XACWCbJPE1DHkV5RgbAuAEOaRtcltNjzn6lHYdj0Km5KWUpJh6h4Q2YGlEAw3vL9rkH HMcCVenrW60LGnPygR4tkhXPTBsh+V4nc7aAt50xVe5MkVzYozeoKj5SjZy8/f6FdCzh HBPFOKScSshs+twTfcaSjNoUIRiG4Nr/2fq0IYAOsRZJgSt01ElLVCxb5QglXorkIbf/ dY/wLm+uXD2494Lm/D3to0Fjod5RNyTxfCku+GaqKYTtAb/eyfOyUF0d0PS3R+MV0d9W NYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="fFF4U/yG"; dkim=pass header.i=@codeaurora.org header.s=default header.b=fOzzwWrj; 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 v2si7730125plz.53.2018.11.22.23.25.24; Thu, 22 Nov 2018 23:25:40 -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="fFF4U/yG"; dkim=pass header.i=@codeaurora.org header.s=default header.b=fOzzwWrj; 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 S2393354AbeKVTpj (ORCPT + 99 others); Thu, 22 Nov 2018 14:45:39 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35070 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730412AbeKVTpj (ORCPT ); Thu, 22 Nov 2018 14:45:39 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4508560B0D; Thu, 22 Nov 2018 09:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542877624; bh=CrJL/NCQIUKGF2EHCfbdvMwRKZWKjAprJDLuL3npHR4=; h=From:To:Cc:Subject:Date:From; b=fFF4U/yGWVFoNd6sqd2VSrOFMtrcviEg6Yuqz5nVPr0kcb74TdFw7AOpcesYUdr2z AStshjKQQOTkIAkM6kwCVKFFCUugjsH16lH7aoYfqPrMSYzgcyDmVYh7SXAdhENeOz 2i3RRspoTXUhm00XcxcxMFpSSnv57Saorgt4K/DA= 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 skolluku-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: skolluku@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AE8BF60714; Thu, 22 Nov 2018 09:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542877623; bh=CrJL/NCQIUKGF2EHCfbdvMwRKZWKjAprJDLuL3npHR4=; h=From:To:Cc:Subject:Date:From; b=fOzzwWrjHTzlita3Sp81DhmLHLkhpNsE+Z+eqBGkl28Xbf5CD0XsyZ+Ji1cJUNuVr cR5LkQq6SaTxk7KLzQ+Ch/g8rKXcocsru9HOSZE3tp7mBfDzuKgnuZvNw5s4KCpjyZ Jmjiou4rqQe6BppsWI2MpK95eUd57IFnFoCzbv48= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE8BF60714 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=skolluku@codeaurora.org From: Sravanthi Kollukuduru To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Sravanthi Kollukuduru , linux-kernel@vger.kernel.org, robdclark@gmail.com, seanpaul@chromium.org, sean@poorly.run Subject: [PATCH v3 0/3] Use interconnect API in MDSS on SDM845 Date: Thu, 22 Nov 2018 14:36:50 +0530 Message-Id: <20181122090653.3523-1-skolluku@codeaurora.org> X-Mailer: git-send-email 2.16.4 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) Sravanthi Kollukuduru (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 | 9 ++ 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, 142 insertions(+), 244 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project