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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

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
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux