From: Ben Widawsky Subject: Re: [Intel-gfx] [PATCH] drm/i915: add a tracepoint for gpu frequency changes Date: Sat, 01 Sep 2012 11:35:13 -0700 Message-ID: <92c9f07349e6acf42f5ed7182046aff2@bwidawsk.net> References: <1346326008-11186-1-git-send-email-daniel.vetter@ffwll.ch> <06ae216a0855cba921de7ebdcc75acb4@bwidawsk.net> <504253E7.9050207@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <504253E7.9050207@linux.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: Arjan van de Ven Cc: Daniel Vetter , Intel Graphics Development , DRI Development List-Id: dri-devel@lists.freedesktop.org On 2012-09-01 11:28, Arjan van de Ven wrote: > On 9/1/2012 11:26 AM, Ben Widawsky wrote: >> On 2012-08-30 04:26, Daniel Vetter wrote: >>> We've had and still have too many issues where the gpu turbot >>> doesn't >>> quite to what it's supposed to do (or what we want it to do). >>> >>> Adding a tracepoint to track when the desired gpu frequence changes >>> should help a lot in characterizing and understanding problematic >>> workloads. >>> >>> Also, this should be fairly interesting for power tuning (and >>> especially noticing when the gpu is stuck in high frequencies, as >>> has >>> happened in the past) and hence for integration into powertop and >>> similar tools. >>> >>> Cc: Arjan van de Ven >>> Signed-off-by: Daniel Vetter >> >> I can't help but think it's equally interesting to know when the >> queue the work as well. >> >> > > btw... if the userspace interface (e.g. the actual event) is not > controversial and very unlikely to change, > I'd like to start coding the powertop support for this already.... 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. -- Ben Widawsky, Intel Open Source Technology Center