Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp296135imu; Thu, 20 Dec 2018 22:37:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/XVufSlwZY54XmDSlPhzU0ZEwsFOYh9Gk3EqediNBm1TxSxYSDIRnTIIVdYiUp/eS7NSQzR X-Received: by 2002:a62:2c4d:: with SMTP id s74mr1301835pfs.6.1545374254530; Thu, 20 Dec 2018 22:37:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545374254; cv=none; d=google.com; s=arc-20160816; b=renpljhiEKr/Gn9vHgHzv3MetIltS3OKzcc0yYWZBMbh57CbSvPT/w/4Dhd8yOc1qa M4nkAM1yHBxpRYB5AC+qjAKJquIY1NP8yLOUTIeQ8bkMlNqsI79XfCUjY/8U+76hWFwI 174dPoAX1UpEp7rKmcQvaHSLKayvW8yhMhppI14A1ZPXA/GLu8aqyAK1lr/0fLh4UqCd p2l5Cn7vkJSDIFbHfSnWuzpiIDmAnhnkNmgbgiA189jrdvoSe7cq2BHcibGWD0qqF2q3 nJV7BKId5pSNFvYuUBCBjXe+rcNeQv1kNKo+VqhxqkF6DknCZvEBGlB8pDf8rotUkaVp t55Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wSgF32GgudHEHzGZDuRsuOoMJp9dJetEXkqrIYMfTO8=; b=EVZOq+ZeN9Wnrqi2PB1yGugm/9zqbIrqtEoMVJpRJyWaMo7fTS8D8okYYSgNFfyxAY ewzqbRVlGNQ+UOP6rH6eziidTEkspXU862Q7cB2Iv5i3/zt0idTRes5up/t3ejNhoE+T 1ESDkmwx58f6qxfQYCBaW+DAyTG4V4RG57ADQON5ZXTRstK83JwDGrrzZ1G33XNW5voo RRxwa5hqvpxf4aGVF+gKxG+Bk7aRRP6iRBgZ1BzKmaGykefvfCLjJxfKmFAbRUu+ybQY cTy1B7jQjPzmD/HGgMXfM7lT1qdEb9KJgZTuZ9hjMlS2wWquMoVEOUxt0f/5IFRKO84J K9LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=b76zvRHu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si20559350pgv.351.2018.12.20.22.37.18; Thu, 20 Dec 2018 22:37:34 -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=@chromium.org header.s=google header.b=b76zvRHu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732960AbeLTTeP (ORCPT + 99 others); Thu, 20 Dec 2018 14:34:15 -0500 Received: from mail-ua1-f66.google.com ([209.85.222.66]:35261 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729825AbeLTTeO (ORCPT ); Thu, 20 Dec 2018 14:34:14 -0500 Received: by mail-ua1-f66.google.com with SMTP id d2so950833ual.2 for ; Thu, 20 Dec 2018 11:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wSgF32GgudHEHzGZDuRsuOoMJp9dJetEXkqrIYMfTO8=; b=b76zvRHuMfq66HK2UcmG94k5oqgheep2w0e4DgyzmFb7cMZPQPHA0XMd2IdpaOA/Ch Cs8MFZMQE4g837a/0G5+UglTxhYmlj5INUgMZ8dmYx+44mFqozjQeTuDA8pwRE639tgG 7W2ZKl5CZahZqs4ElBPuuew7/h9c1TjaSfAUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wSgF32GgudHEHzGZDuRsuOoMJp9dJetEXkqrIYMfTO8=; b=dWq1MLBJ4fC4P2Cf07+kaTJMXVrERsaqioOxboVU1oElLr43navBx7lmVzrvL6bnW0 TAQ7yEPgUiQOGL20glSele84aRIi7XTJtEchcjZbVxuLZ314lU1D5KTGYyVR3lYDaxx4 mPkjsKhxcUtl7fciHLDsB7HoL6V0ZtQ9sLTCxZ5qePL+XASaMQW4yIIbXrug0beFoD2g FalikuIuNnIq/WFPQhLEyABlrF92208usZGQ7+cE00UH4Vjb5E8HVHg0uylNDRbXMLej VsLUMh9ervPDf97PDOWS5QbxyY1a7VSchQxAHqkkxDt1vs6fiMWJmEsd7zVzPqv5kwXe nKGQ== X-Gm-Message-State: AA+aEWZIuKFGtZALG6BxO3BfPTgr94wb3DsXmWd6cFV5TRXYfVf+PICm 5hDmvssawdjVA4vgeRXihPS7EXagYKM= X-Received: by 2002:ab0:13d3:: with SMTP id n19mr12060499uae.37.1545334453043; Thu, 20 Dec 2018 11:34:13 -0800 (PST) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com. [209.85.217.47]) by smtp.gmail.com with ESMTPSA id w83sm5574047vke.22.2018.12.20.11.34.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 11:34:12 -0800 (PST) Received: by mail-vs1-f47.google.com with SMTP id n13so1812097vsk.4 for ; Thu, 20 Dec 2018 11:34:12 -0800 (PST) X-Received: by 2002:a67:f943:: with SMTP id u3mr5656774vsq.149.1545334107562; Thu, 20 Dec 2018 11:28:27 -0800 (PST) MIME-Version: 1.0 References: <20181220173026.3857-1-jcrouse@codeaurora.org> <20181220173026.3857-2-jcrouse@codeaurora.org> In-Reply-To: <20181220173026.3857-2-jcrouse@codeaurora.org> From: Doug Anderson Date: Thu, 20 Dec 2018 11:28:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/3] drm/msm/a6xx: Add support for an interconnect path To: Jordan Crouse , Georgi Djakov , Rob Clark Cc: freedreno , linux-arm-msm , Bjorn Andersson , Arnd Bergmann , Stephen Boyd , Kees Cook , Sharat Masetty , dri-devel , LKML , Andy Gross , David Airlie , Johan Hovold , Colin Ian King Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Dec 20, 2018 at 9:30 AM Jordan Crouse wrote: > > Try to get the interconnect path for the GPU and vote for the maximum > bandwidth to support all frequencies. This is needed for performance. > Later we will want to scale the bandwidth based on the frequency to > also optimize for power but that will require some device tree > infrastructure that does not yet exist. > > v5: Remove hardcoded interconnect name and just use the default > v4: Don't use a port string at all to skip the need for names in the DT > v3: Use macros and change port string per Georgi Djakov > > Signed-off-by: Jordan Crouse > --- > > drivers/gpu/drm/msm/Kconfig | 1 + > 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 +++ > 4 files changed, 33 insertions(+) There is very little difference between this an the previous version [1]. Maybe could have kept Rob Clark's Acked-by? The only change was: - gpu->icc_path = of_icc_get(dev, "gfx-mem"); + gpu->icc_path = of_icc_get(dev, NULL); Also: I assume that this is still intended to go through Georgi's tree? [1] https://lkml.kernel.org/r/20181207170656.13208-1-jcrouse@codeaurora.org -Doug