aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_trace.h')
-rw-r--r--drivers/gpu/drm/i915/i915_trace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index 3db4a6817713..7d283b5fcbf9 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -46,8 +46,8 @@ TRACE_EVENT(i915_gem_object_bind,
46 46
47 TP_fast_assign( 47 TP_fast_assign(
48 __entry->obj = obj; 48 __entry->obj = obj;
49 __entry->offset = obj->gtt_space->start; 49 __entry->offset = i915_gem_obj_ggtt_offset(obj);
50 __entry->size = obj->gtt_space->size; 50 __entry->size = i915_gem_obj_ggtt_size(obj);
51 __entry->mappable = mappable; 51 __entry->mappable = mappable;
52 ), 52 ),
53 53
@@ -68,8 +68,8 @@ TRACE_EVENT(i915_gem_object_unbind,
68 68
69 TP_fast_assign( 69 TP_fast_assign(
70 __entry->obj = obj; 70 __entry->obj = obj;
71 __entry->offset = obj->gtt_space->start; 71 __entry->offset = i915_gem_obj_ggtt_offset(obj);
72 __entry->size = obj->gtt_space->size; 72 __entry->size = i915_gem_obj_ggtt_size(obj);
73 ), 73 ),
74 74
75 TP_printk("obj=%p, offset=%08x size=%x", 75 TP_printk("obj=%p, offset=%08x size=%x",