From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [Intel-gfx] [PATCH] drm/i915: add a tracepoint for gpu frequency changes Date: Sat, 01 Sep 2012 19:44:17 -0700 Message-ID: <5042C801.9080200@linux.intel.com> References: <1346326008-11186-1-git-send-email-daniel.vetter@ffwll.ch> <06ae216a0855cba921de7ebdcc75acb4@bwidawsk.net> <504253E7.9050207@linux.intel.com> <92c9f07349e6acf42f5ed7182046aff2@bwidawsk.net> <93961e626f56a87710fcc5c218b570fa@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <93961e626f56a87710fcc5c218b570fa@bwidawsk.net> 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: Ben Widawsky Cc: Daniel Vetter , Intel Graphics Development , DRI Development List-Id: dri-devel@lists.freedesktop.org On 9/1/2012 6:36 PM, Ben Widawsky wrote: > It depends on what you're trying to measure. I think this patch is quite useful but I think I'll make you defend your patch now since you're the maintainer and you took > your own patch and you're shooting down my idea. So please tell me what PowerTOP should do with this patch other than notice we're stuck (and furthermore, even if we're > stuck, what should it tell us to do)? what I would like to do, as the powertop guy.... is to show frequency stats similar to how we do that for CPUs. E.g. as close as to actual as we can get. few questions: 1) Can I read the momentary frequency somewhere? (it's great to get change events, but I also need a start frequency, otherwise I have a gap in knowledge from start of measurement to first change event) 2) Can I read a "hardware average" somewhere, similar to what we can do for cpus ?