drm/i915: trace vm eviction instead of everything
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 24 Sep 2013 16:57:56 +0000 (09:57 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:20 +0000 (07:45 +0200)
commitbcccff847d1fdb53c2fae999a7f03facfa399bab
tree9f394c582355edb3d4daad34fb724935eeba9be1
parent874404252e26518b5c3327a75f9f81670298cc1e
drm/i915: trace vm eviction instead of everything

Tracing vm eviction is really the event we care about. For the cases we
evict everything, we still will get the trace.

v2: Add the drm device to the trace since we might not be the only
device in the system. (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_trace.h