Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1584445imu; Wed, 23 Jan 2019 21:10:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN7NEqw2ieVKLhEbx/cmKHLLagoOgRnfa2BCOLIjpYGrfyzlZXvtAiD5nx21TqdYxENBo5zU X-Received: by 2002:a65:40c5:: with SMTP id u5mr4547372pgp.46.1548306633405; Wed, 23 Jan 2019 21:10:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548306633; cv=none; d=google.com; s=arc-20160816; b=QEQhPnYwWj12OV75tgzbsWs1DI/tFduPtjGTbuGTZeBRkRd1hhw0Ndnc0nJ6WPzODV qDhaxh+3e9jV5JOin5BmhegaO3C8f1pRnsHdjbBLUz68w+JrHtva1eH3B6x63iJXDYPf SWQ3WWQLbExe9HqdVAxHylyGNmX5X17V4j2vC21CwokY3RcT0mSXYEjqI8a8nanaj/SI 7eaAnZseDPVeBjGiC4yOMxTwRcoC4iI6/wHk41xOUuGu3xjqmNCF94YdJsmo54Ob9uwd 2/YtJx2Gr6hEOK/7PziATjxusVEkAuIb3wuYbrvZmSjJO89r0jaIaEumeIVVIu98+CDT 9Otg== 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=2MQD3m3T/1670+/l4CQx0dy9yYHc3b0qPJaA6pMBdRE=; b=djRUOLVEK7MPpiHe+FVGIMR/VaBcjtZUzOSr+ze4FtJHPEkHv0GP5iqxImYkveCfAC ZAYioV5lL7HeGBu3Ky73UcNROTJzrWpY5N4/pVhpVIWAKXEZ7hH+IJZgkH/Xo9/IBcO8 KZbg1UQrDa04qzMQjSNXnuVn83Gqod5izvDvx4X/ESMNwJc+4N7tk/yKR3qAo83MKFiW eJynH41inz6FhB0hA1GQygTIlSZ9vgDZqcW9JeZiMIkcy8f9nTgRxtaxfOJwGVMoaA7T H0sCqjcHU3kQPKpdLv3kQVesCXrdSfA437k+4ceGqa8QQ2hPM4544nqPzllJjuzqSUOa kQRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=FWPp0ble; dkim=pass header.i=@codeaurora.org header.s=default header.b=bQl7AC+p; 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 69si21192721pla.75.2019.01.23.21.10.15; Wed, 23 Jan 2019 21:10:33 -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=FWPp0ble; dkim=pass header.i=@codeaurora.org header.s=default header.b=bQl7AC+p; 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 S1726061AbfAXFKK (ORCPT + 99 others); Thu, 24 Jan 2019 00:10:10 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:36538 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbfAXFKK (ORCPT ); Thu, 24 Jan 2019 00:10:10 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3BC83606FC; Thu, 24 Jan 2019 05:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548306609; bh=c1tL3gQw4ghp8O+97foURHdRX7SYHnk9ROTJC1C2eV8=; h=From:To:Cc:Subject:Date:From; b=FWPp0bleAPGWzIDD/kXa2muZGbz7Aq939hOAUL03An98I9lZ3nJ+Sye8cgPhvwjNT 7ssbUHtI/lE8RgysZDIr5g4luLbAe0XGIDj6/OvHzjicXQ1uMxEG2nQS3v8zP3Zgc+ wJz0Nd4sxQ+NhTy6uKSk/FMUac56WDNPCLBb7Z1E= 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 8A966606FC; Thu, 24 Jan 2019 05:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548306608; bh=c1tL3gQw4ghp8O+97foURHdRX7SYHnk9ROTJC1C2eV8=; h=From:To:Cc:Subject:Date:From; b=bQl7AC+pDqMZ0ZWDXzhiU98PS/AxPQ8GFZdmstwdO14DslwBriyVCinTl0yZwpYYc 3lFlMtY2ZUPJt4W/7vm9EB/knuabeV9Lzn1u4EJ0QFgxQFdaq2kEK2Vcuhh1WujImZ cIJq6GZ1JOc0pogJdnr3TkES2f9u9ieT43p4tTq0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8A966606FC 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: [v7 0/3] Use interconnect API in MDSS on SDM845 Date: Thu, 24 Jan 2019 10:39:49 +0530 Message-Id: <1548306592-4708-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) Changes in v7: - Fixed a typo 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