From patchwork Mon Oct 8 09:27:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sravanthi Kollukuduru X-Patchwork-Id: 10630279 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7EB0815E9 for ; Mon, 8 Oct 2018 09:27:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 705F928488 for ; Mon, 8 Oct 2018 09:27:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62C2B28C11; Mon, 8 Oct 2018 09:27:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10B2328488 for ; Mon, 8 Oct 2018 09:27:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726354AbeJHQi1 (ORCPT ); Mon, 8 Oct 2018 12:38:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47406 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeJHQi1 (ORCPT ); Mon, 8 Oct 2018 12:38:27 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D0A766079B; Mon, 8 Oct 2018 09:27:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538990860; bh=3yOYFUQTwEYcgH6rgRIbLekmIGJWo8xkii4Ks9ksFdg=; h=From:To:Cc:Subject:Date:From; b=g6XxiYCqFfJ3KpkDkS0QT1EpIssUAQ0b0BqkDtj16Oh2ve2MeXyHUIe26bknqfeDX IodmECPpNn0cYE+OX/pkkbk19GepqvZb2rhCuY6hnzD04D+7XyLP9OSwmi46QPpe3H s2Yvz5qGKmG2db3OC8IW1nbczPGsThOXFCXiFAfY= 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 8762860275; Mon, 8 Oct 2018 09:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538990860; bh=3yOYFUQTwEYcgH6rgRIbLekmIGJWo8xkii4Ks9ksFdg=; h=From:To:Cc:Subject:Date:From; b=g6XxiYCqFfJ3KpkDkS0QT1EpIssUAQ0b0BqkDtj16Oh2ve2MeXyHUIe26bknqfeDX IodmECPpNn0cYE+OX/pkkbk19GepqvZb2rhCuY6hnzD04D+7XyLP9OSwmi46QPpe3H s2Yvz5qGKmG2db3OC8IW1nbczPGsThOXFCXiFAfY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8762860275 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 , robdclark@gmail.com, seanpaul@chromium.org, sean@poorly.run Subject: [PATCH 0/3] Use interconnect API in MDSS on SDM845 Date: Mon, 8 Oct 2018 14:57:27 +0530 Message-Id: <20181008092730.1199-1-skolluku@codeaurora.org> X-Mailer: git-send-email 2.16.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. 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 | 8 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 157 +++++++++------------ drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 56 +++++++- 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 | 21 +-- 8 files changed, 143 insertions(+), 219 deletions(-)