]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add a tracepoint for gpu frequency changes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 30 Aug 2012 11:26:48 +0000 (13:26 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Sep 2012 08:09:27 +0000 (10:09 +0200)
commitc618ae0d7c7abc5ded1dbc649df940460f853b42
tree739ab423a51ed2a61f4fac7ec895752b81f2ece4
parentadcc9d2bfafa8edf03eee34ebc7bcf4b95998a92
drm/i915: add a tracepoint for gpu frequency changes

We've had and still have too many issues where the gpu turbo 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 frequency 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 <arjan@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_trace.h
drivers/gpu/drm/i915/intel_pm.c