From patchwork Wed Nov 28 18:29:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10703123 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 DF7E1109C for ; Wed, 28 Nov 2018 18:30:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D25462D921 for ; Wed, 28 Nov 2018 18:30:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6D392D926; Wed, 28 Nov 2018 18:30:11 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 74C472D921 for ; Wed, 28 Nov 2018 18:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=IDvsW6Da+hyxnIVAnUfI8hQena5Aps57BEgEsUUzSPY=; b=Ttr aLJRWmgwbfx+N7tvPhEfuZxnRHkFkJgMeI+EM6DK7PSlSSNWFx+l/ZgMOX1aGcqjxcJK1bM7bPBhe WPI19IG54F6Y65dIIwShD7VEs1dcSu7+AoAii92b+EJPAl/cr+52rvjs9GPMNf+q450RGNWohBE0v 658g6g4tm/3zrWzZil5CDAAsre8h+E7glfC5h7wc+ec/pRcf1I4Ct7TZPzwEcDMRbuQpLX3wdZd5y 4y4Oy06m9GMh/Zk3rfCNI7dBnla6YtPBUbo7tdsyCzOgCj20u//TUIsUXR5QpAsasYsG2vksiNglr 8be1v+ihMcIgBbecQVyTyFPhaHgI/nw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4bC-0006XB-5E; Wed, 28 Nov 2018 18:30:10 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4ap-0005ZF-I4 for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 18:29:49 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1112260392; Wed, 28 Nov 2018 18:29:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543429775; bh=ei81HWo7Dpp6+q3denXZpXf2opNyFdYdoexeLRrE4IU=; h=From:To:Cc:Subject:Date:From; b=IF9etCmLvOqeJsIBHTg7xxItRauqVdW77d5R4wJWnsi6JeHbsn5qZ3xwyTIxsqZP8 EUkAbNJEy+oItg+tPNIHrMlDocKmgRqaz2BZ1YpWmyFX+0d7ZvVL/TNpDufI8vyLAc ckcwteSd4wt5VAoAa3WXyZKo5iOEGZkXxkPd2+L8= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1D8CD601C4; Wed, 28 Nov 2018 18:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543429774; bh=ei81HWo7Dpp6+q3denXZpXf2opNyFdYdoexeLRrE4IU=; h=From:To:Cc:Subject:Date:From; b=Jj/YAShBDC7Xx+HA6B/ortStT7Cu0Q/A+kWOwJqJFmOJBInW7AoA/6+QBxYLsnPeX NGDpzKexgyzvvhNlK8cdpTlBcgDs/KKAKPaoL33nLuHACpOZqr+6hZ5TZre0rl/BZj a8NFCbL8Z4ueVmWbKmimcGt4N1N/+IP01SVj50kU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1D8CD601C4 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=jcrouse@codeaurora.org From: Jordan Crouse To: georgi.djakov@linaro.org Subject: [PATCH 0/1] drm/msm/a6xx: Add interconnect support Date: Wed, 28 Nov 2018 11:29:28 -0700 Message-Id: <20181128182929.19925-1-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181128_102947_654105_C4EC8173 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I heard at LPC that there was some confusion that the OPP bindings [1] were needed to land interconnect support. They aren't. There is a two step process for the SDM845 GPU. First we need a vote (any vote) because the default bus settings are way too bad for any reasonable performance. The next step after that would be to scale the bus request based on the frequency in order to save power. For that we *do* need a solution but that can be calmly discussed separately. This patch accommodates the first step. It cranks the bus to max for GPU activity and turns it off when the GPU goes to sleep. Hopefully this can alleviate the confusion and help interconnect land that much quicker. After that, we can calmly re-introduce the OPP discussion. This patch depends on interconnect support [2]. [1] https://patchwork.kernel.org/patch/10577303/ [2] https://patchwork.kernel.org/patch/10701287/ Jordan Crouse (1): drm/msm/a6xx: Add support for an interconnect path drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 20 ++++++++++++++++++++ drivers/gpu/drm/msm/adreno/adreno_gpu.c | 9 +++++++++ drivers/gpu/drm/msm/msm_gpu.h | 3 +++ 3 files changed, 32 insertions(+)