[Intel-gfx] [PATCH] drm/i915/gvt: Add missing forward decl of intel_vgpu for HDRTEST

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Jan 21 13:45:14 UTC 2021


Quoting Chris Wilson (2021-01-21 15:25:58)
> ./drivers/gpu/drm/i915/gvt/cmd_parser.h:53:44: error: \u2018struct intel_vgpu\u2019 declared inside parameter list will not be visible outside of this definition or declaration
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas

> ---
>  drivers/gpu/drm/i915/gvt/cmd_parser.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/cmd_parser.h b/drivers/gpu/drm/i915/gvt/cmd_parser.h
> index d5e95b7026a1..416d345e2816 100644
> --- a/drivers/gpu/drm/i915/gvt/cmd_parser.h
> +++ b/drivers/gpu/drm/i915/gvt/cmd_parser.h
> @@ -40,6 +40,7 @@
>  
>  struct intel_gvt;
>  struct intel_shadow_wa_ctx;
> +struct intel_vgpu;
>  struct intel_vgpu_workload;
>  
>  void intel_gvt_clean_cmd_parser(struct intel_gvt *gvt);
> -- 
> 2.20.1
> 


More information about the Intel-gfx mailing list