[Mesa-dev] [PATCH 0/2] Anv/i965: Drop dependency on libdrm's kernel headers

Kenneth Graunke kenneth at whitecape.org
Thu Jun 15 07:10:09 UTC 2017


On Wednesday, June 14, 2017 5:22:08 PM PDT Lionel Landwerlin wrote:
> Hi,
> 
> While working with changes that span from kernel to user space, I've
> been wondering whether we need to depend on libdrm's header files at
> all for the anv & i965 drivers. Indeed with Ken's recent changes, we
> depend on libdrm for 1 or 2 functions wrapping an ioctl (with
> drmGetDevices2 being the only function actually containing so logic)
> and for its kernel header files. The latter which we could just embed
> ourselves given how the userspace & kernelspace drivers closely
> interact.
> 
> I've only included the minimal set of header files we need from the
> kernel for anv & i965. Maybe other drivers would be interested and
> maybe we should put all the kernel drm uapi headers into include?
> 
> Cheers,
> 
> Lionel Landwerlin (2):
>   aubinator: import intel_aub.h from libdrm
>   anv/i965: drop libdrm_intel dependency completely

Series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170615/26ce4515/attachment.sig>


More information about the mesa-dev mailing list