From patchwork Thu Nov 29 17:21:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10704973 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 3A9AB14E2 for ; Thu, 29 Nov 2018 17:21:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 155072F7A0 for ; Thu, 29 Nov 2018 17:21:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0511A2F7AD; Thu, 29 Nov 2018 17:21:54 +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 B09AC2F7A0 for ; Thu, 29 Nov 2018 17:21:53 +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=J7xYbEwBjFScHF0Gg8YD8lwehDpOS9ZYOif/A25JGTg=; b=L0L ThKlPFN/95iKaSIbpp0oclnYQy4yK/X/kpmJNfx+7Wi2ShFf+BsascSHbLTMIRa1xWd0hf6qr5uH7 HyAU3aEhJ3H/SJfxaBveU6CQ8HAtp1T3HxqIZXFGSSmHA1zdpeaXyfvDlDSF8M7kk6zI7dO7uTVIx sftXcg+9ZQNsHLXN1cHLemQTjgv+azMlBFUkfuDxnCSpcpU7ulxdPbqVriWTLSUc6c9uCgJpNVZub sPj3qEfVhFWBrPQrsoOmDtEwKBMm3zf4ObSeRK/6XY5N/z/HIXucTMVRI80MfCId3PminlOslBIbo Wvw8gk4JzYj2u/2vs1wqkydq41li1KA==; 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 1gSQ0W-0004yD-Uk; Thu, 29 Nov 2018 17:21:44 +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 1gSQ0T-0004r4-QB for linux-arm-kernel@lists.infradead.org; Thu, 29 Nov 2018 17:21:43 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 12E9F613E9; Thu, 29 Nov 2018 17:21:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543512091; bh=p45I95JGDyrAIpr4BFxRVR6STinZZ03gLYYIKJiDUg0=; h=From:To:Cc:Subject:Date:From; b=V/2BK70NRoq6EWtSQCqFAFx3jzxpPDbxaY41XKtEdwWwbLkdrofbnf36t2N7V/vXe yfMfhH742/zHzImhVsqVEPdy5AhfaceikclxkKh1Lf6W/qRJ9hewwJAg89KJ0LP2aG 3CJt/GUr6RAKmA145uMmojqoOdciW2YmLoCscB74= 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 8860161322; Thu, 29 Nov 2018 17:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543512088; bh=p45I95JGDyrAIpr4BFxRVR6STinZZ03gLYYIKJiDUg0=; h=From:To:Cc:Subject:Date:From; b=cUK+HaRc9HpSPdgwunsc9lOAYYPUhP95Mz5mLXFa+GMls7jAMe5f1aFoOoiXHzsA1 Cy/1dqbkpmcrg1fHegqzefwNzcVSXPsQJ+4e4B9xIAs9ByYJAAdr+pWIKJauPQodPe mdfkSslk8tEcOJN95SFYsLDGnLkhrNzbXF6J4AVY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8860161322 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 v2 0/1] drm/msm/a6xx: Add interconnect support Date: Thu, 29 Nov 2018 10:21:23 -0700 Message-Id: <20181129172124.6851-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-20181129_092141_878523_07282A45 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. 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 This is an updated version of [1] adding interconnect support without OPP bindings to get maximum performance from the GPU. Big delta here is that I stupidly confused Bps and KBps and passed a value that overflowed the API. Correct bandwidth values are now passed. [1] https://lists.freedesktop.org/archives/freedreno/2018-November/004347.html v2: Make sure to pass values in correct units 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(+)