From: Ben Widawsky Subject: Re: [Intel-gfx] [PATCH] drm/i915: add a tracepoint for gpu frequency changes Date: Sat, 01 Sep 2012 18:16:52 -0700 Message-ID: <134cae9b5b455bbcd2a3d2bb2e169938@bwidawsk.net> References: <1346326008-11186-1-git-send-email-daniel.vetter@ffwll.ch> <06ae216a0855cba921de7ebdcc75acb4@bwidawsk.net> <504253E7.9050207@linux.intel.com> <92c9f07349e6acf42f5ed7182046aff2@bwidawsk.net> <6c3329$5pqra1@orsmga002.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6c3329$5pqra1@orsmga002.jf.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: Daniel Vetter , Intel Graphics Development , Arjan van de Ven , DRI Development List-Id: dri-devel@lists.freedesktop.org On 2012-09-01 12:22, Chris Wilson wrote: > On Sat, 01 Sep 2012 11:35:13 -0700, Ben Widawsky > wrote: >> I have no problem with Daniel's patch. It's just a matter of cutting >> through some scheduler BS of "when the GPU wants to change >> frequency" >> vs. "when we actually change the GPU frequency." I think *both* are >> interesting. > > We already trace the interrupt, which has been invaluable in > debugging. And there is no other source currently... :) > -Chris No we do not trace it (/me is looking on cgit, so perhaps a bit error prone). Sure we trace GT interrupts, but not pm interrupts (again, unless I am missing something via code browsing on the web). Furthermore, even if we have added a generic interrupt trace event and I've missed it: I think it's still nice to have a power/performance specific one for users like powerTOP, as opposed to driver developers. -- Ben Widawsky, Intel Open Source Technology Center