[Intel-gfx] [PATCH] drm/i915: Fix tracepoint compilation

Michał Winiarski michal.winiarski at intel.com
Tue Nov 29 12:45:59 UTC 2016


On Tue, Nov 29, 2016 at 12:42:05PM +0000, Chris Wilson wrote:
> drivers/gpu/drm/i915/./i915_trace.h: In function ‘trace_event_raw_event_i915_gem_evict’:
> drivers/gpu/drm/i915/./i915_trace.h:409:24: error: ‘struct i915_address_space’ has no member named ‘dev’
>        __entry->dev = vm->dev->primary->index;
> 
> A couple of macros missed in the s/vm->dev/vm->i915/ conversion.
> 
> Fixes: 49d73912cbfc ("drm/i915: Convert vm->dev backpointer to vm->i915")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> ---
>  drivers/gpu/drm/i915/i915_gem_gtt.c | 10 +++++-----
>  drivers/gpu/drm/i915/i915_trace.h   |  6 +++---
>  2 files changed, 8 insertions(+), 8 deletions(-)


More information about the Intel-gfx mailing list