From mboxrd@z Thu Jan 1 00:00:00 1970 From: Saravana Kannan Subject: Re: [PATCH v3 0/6] Introduce Bandwidth OPPs for interconnect paths Date: Mon, 29 Jul 2019 13:12:08 -0700 Message-ID: References: <20190703011020.151615-1-saravanak@google.com> <20190717103220.f7cys267hq23fbsb@vireshk-i7> <20190718053746.64drmonk72vwnt4s@vireshk-i7> <20190729092454.6lfqzmhkvrhpimsp@vireshk-i7> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20190729092454.6lfqzmhkvrhpimsp@vireshk-i7> Sender: linux-kernel-owner@vger.kernel.org To: Viresh Kumar Cc: Georgi Djakov , Rob Herring , Mark Rutland , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" , Vincent Guittot , "Sweeney, Sean" , David Dai , Rajendra Nayak , Sibi Sankar , Bjorn Andersson , Evan Green , Android Kernel Team , Linux PM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML List-Id: devicetree@vger.kernel.org On Mon, Jul 29, 2019 at 2:24 AM Viresh Kumar wrote: > > On 18-07-19, 21:12, Saravana Kannan wrote: > > On Wed, Jul 17, 2019 at 10:37 PM Viresh Kumar wrote: > > > I would like > > > to put this data in the GPU OPP table only. What about putting a > > > range in the GPU OPP table for the Bandwidth if it can change so much > > > for the same frequency. > > > > I don't think the range is going to work. > > Any specific reason for that ? The next sentence was literally explaining this :) Fine to debate that, but ignoring that and asking this question is kinda funny. > > If a GPU is doing purely > > computational work, it's not unreasonable for it to vote for the > > lowest bandwidth for any GPU frequency. > > I think that is fine, but if the GPU is able to find how much > bandwidth it needs why can't it just pass that value without needing > to have another OPP table for the path ? You were asking this question in the context of "can the GPU OPP just list all the range of bandwidth it might use per GPU frequency". My point is that the range would be useless because it would the entire available bandwidth range (because purely compute work might not need any bandwidth). Whereas, what the GPU's algorithm actually needs might be the list of "useful" bandwidth levels to use. Also, as we add more ICC request properties, this range idea will not scale. -Saravana