[Intel-gfx] [PATCH 0/8] drm/i915/gvt: make headers self-contained

Zhenyu Wang zhenyuw at linux.intel.com
Wed Dec 9 07:36:53 UTC 2020


On 2020.12.08 12:29:06 +0200, Jani Nikula wrote:
> For a long time now we've had a build option in i915 to ensure the
> headers in the driver are self-contained, i.e. they include and forward
> declare everything they need. Finally fix the gvt headers that aren't,
> and remove them from the exclude list.
> 
> Please use the CONFIG_DRM_I915_WERROR=y config option to ensure the
> driver remains warning free and headers stay self-contained.
> 
> Please merge this via the gvt tree.
> 

Thanks, Jani! Looks fine to me.

Reviewed-by: Zhenyu Wang <zhenyuw at linux.intel.com>

> 
> 
> Jani Nikula (8):
>   drm/i915/gvt: make execlist.h self-contained
>   drm/i915/gvt: make fb_decoder.h self-contained
>   drm/i915/gvt: make gtt.h self-contained
>   drm/i915/gvt: make interrupt.h self-contained
>   drm/i915/gvt: make mmio_context.h self-contained
>   drm/i915/gvt: make gvt.h self-contained
>   drm/i915/gvt: make scheduler.h self-contained
>   drm/i915/gvt: make mpt.h self-contained
> 
>  drivers/gpu/drm/i915/Makefile           | 10 +---------
>  drivers/gpu/drm/i915/gvt/execlist.h     |  3 ---
>  drivers/gpu/drm/i915/gvt/fb_decoder.h   |  6 ++++--
>  drivers/gpu/drm/i915/gvt/gtt.h          | 11 ++++++++++-
>  drivers/gpu/drm/i915/gvt/gvt.h          |  4 ++++
>  drivers/gpu/drm/i915/gvt/interrupt.h    |  5 ++++-
>  drivers/gpu/drm/i915/gvt/mmio_context.h | 11 +++++++++++
>  drivers/gpu/drm/i915/gvt/mpt.h          |  2 ++
>  drivers/gpu/drm/i915/gvt/scheduler.h    |  5 +++++
>  9 files changed, 41 insertions(+), 16 deletions(-)
> 
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20201209/d1328089/attachment.sig>


More information about the Intel-gfx mailing list