Re: [PATCH v3] libdrm: headers: Sync with drm-next

From: Emil Velikov
Date: Tue Sep 25 2018 - 10:52:55 EST


On 25 September 2018 at 13:58, Ayan Halder <Ayan.Halder@xxxxxxx> wrote:
> Generated using make headers_install from the drm-next
> tree - git://anongit.freedesktop.org/drm/drm
> branch - drm-next
> commit - 2dc7bad71cd310dc94d1c9907909324dd2b0618f
>
> The changes were as follows :-
>
> core: (drm.h, drm_fourcc.h, drm_mode.h)
> - Added client capabilities for ASPECT_RATIO and WRITEBACK_CONNECTORS
> - Added Arm AFBC modifiers
> - Added BROADCOM's SAND and UIF modifiers
> - Added Qualcomm's modifiers
> - Added some picture aspect ratio and content type options
> - Added some drm mode flags
> - Added writeback connector id
>
> amdgpu:
> - Added GEM domain mask
> - Added some GEM flags
> - Added some hardware ip flags
> - Added chunk id and IB fence.
> - Added some query ids
>
> i915:
> -Added an IOCTL (I915_PARAM_MMAP_GTT_COHERENT)
>
> qxl:
> - Minor changes
>
> tegra:
> - Added some comments about struct drm_tegra* members
> - Modified DRM_IOCTL_TEGRA_CLOSE_CHANNEL
>
> vc4:
> - Added some members for 'struct drm_vc4_submit_cl'
>
> vmwgfx:
> - Added some DRM_VMW_* macros
> - Renamed some structures like 'drm_vmw_dmabuf_rep' to 'drm_vmw_bo_rep', etc
> - Added some new DRM_VMW_GB_SURFACE related structures and unions
>
> Changes in v2:
> - Mentioned 'libdrm' in the commit header.
>
> Changes in v3:
> - Removed the changes to radeon_drm.h, sis_drm.h and via_drm.h as suggested by
> Emil Velikov <emil.l.velikov@xxxxxxxxx>
>
Seems like there's another breakage: SVGA3dMSPattern and
SVGA3dMSQualityLevel are typedefs from some random header.
One solution is to use the explicit fixed-size int equivalent.

Just like the earlier suggestions - things should go into the kernel
first or we can drop that file for now.
Sorry for missing that one :-\

Thanks
Emil