Re: [PATCH 44/49] drm/i915/bdw: Display execlists info in debugfs

Damien Lespiau
2014-04-07T19:19:26Z

On Thu, Mar 27, 2014 at 06:00:13PM +0000, oscar.mateo@intel.com wrote:
> From: Oscar Mateo <oscar.mateo@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