drm/i915: Add cxsr toggle tracepoint
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 Mar 2017 17:15:07 +0000 (19:15 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Mar 2017 14:50:11 +0000 (16:50 +0200)
commit1489bba82433d8960d6bfef7453eae77ef9c926a
treee8b0a759cefae58438065228650e6c8ebfbcca7e
parentc137d6605fd73635900597d386e3fa8af26d7787
drm/i915: Add cxsr toggle tracepoint

Add a tracepoint for observing changes in the cxsr state. The tracepoint
will dump out the frame and scanline counters for each pipe so that the
information can be compared with eg. plane update tracepoints.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170302171508.1666-18-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_trace.h
drivers/gpu/drm/i915/intel_pm.c