aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-12 10:53:11 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-02 05:20:47 -0500
commit60de2ba51eaba9eefcc355cb20c8582b1481e755 (patch)
tree1f0d0b0964ea9c98fb5bedbb033c5ff7e19ca006 /drivers/gpu/drm
parentc6748e09eed072be077fe583976516b76daf42ec (diff)
drm/i915: Kill the get_fence tracepoint
As the tracepoint is now decoupled from when the actual register is assigned and was never complemented by detailing when the object lost its fence, it has outlived its limited usefulness. Profiling the actual stalls is a far more profitable venture anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c3
-rw-r--r--drivers/gpu/drm/i915/i915_trace.h22
2 files changed, 0 insertions, 25 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 9e036010e3fc..d99212fe54ed 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2603,9 +2603,6 @@ update:
2603 break; 2603 break;
2604 } 2604 }
2605 2605
2606 trace_i915_gem_object_get_fence(obj,
2607 obj->fence_reg,
2608 obj->tiling_mode);
2609 return ret; 2606 return ret;
2610} 2607}
2611 2608
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index 1df7262ae077..7f0fc3ed61aa 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -80,28 +80,6 @@ TRACE_EVENT(i915_gem_object_change_domain,
80 __entry->read_domains, __entry->write_domain) 80 __entry->read_domains, __entry->write_domain)
81); 81);
82 82
83TRACE_EVENT(i915_gem_object_get_fence,
84
85 TP_PROTO(struct drm_i915_gem_object *obj, int fence, int tiling_mode),
86
87 TP_ARGS(obj, fence, tiling_mode),
88
89 TP_STRUCT__entry(
90 __field(struct drm_i915_gem_object *, obj)
91 __field(int, fence)
92 __field(int, tiling_mode)
93 ),
94
95 TP_fast_assign(
96 __entry->obj = obj;
97 __entry->fence = fence;
98 __entry->tiling_mode = tiling_mode;
99 ),
100
101 TP_printk("obj=%p, fence=%d, tiling=%d",
102 __entry->obj, __entry->fence, __entry->tiling_mode)
103);
104
105DECLARE_EVENT_CLASS(i915_gem_object, 83DECLARE_EVENT_CLASS(i915_gem_object,
106 84
107 TP_PROTO(struct drm_i915_gem_object *obj), 85 TP_PROTO(struct drm_i915_gem_object *obj),