[Intel-gfx] [PATCH 44/49] drm/i915/bdw: Display execlists info in debugfs

Damien Lespiau damien.lespiau at intel.com
Mon Apr 7 21:19:05 CEST 2014


On Thu, Mar 27, 2014 at 06:00:13PM +0000, oscar.mateo at intel.com wrote:
> From: Oscar Mateo <oscar.mateo at intel.com>
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -2347,6 +2347,7 @@ int gen8_switch_context_queue(struct intel_engine *ring,
>  			      struct i915_hw_context *to,
>  			      u32 tail);
>  void gen8_handle_context_events(struct intel_engine *ring);
> +inline u32 get_submission_id(struct i915_hw_context *ctx);

More verbose warnings tell us we can't inline this function outside of
its compilation unit as its body is only accessible in i915_lrc.c. I'd
just scrap the inline here.

Also, we need to namespace that symbol.

-- 
Damien



More information about the Intel-gfx mailing list