Created attachment 210920 [details]
graphics/libdrm: Add LEGACY option for old DRM drivers
Created attachment 210921 [details]
graphics/libdrm: Only install tegra and vc4 headers for ARM* system
Created attachment 210922 [details]
graphics/libdrm: Only install vmware and virtgpu driver on i386/amd64
Created attachment 210924 [details]
graphics/libdrm: Fix include installation
Created attachment 210925 [details]
graphics/libdrm: Add LEGACY option for old DRM drivers
Created attachment 210926 [details]
graphics/libdrm: Only install tegra and vc4 headers for ARM* system
Created attachment 210927 [details]
graphics/libdrm: Only install vmware and virtgpu driver on i386/amd64
Created attachment 210928 [details]
graphics/libdrm: Fix include installation
Some quick comments based on looking at the patch, I haven't tested yet. You need to add PLUST_SUB=FOO_DRIVER="@comment" as needed in the !amd64 and !i386 case. Created attachment 210929 [details]
graphics/libdrm: Fix include installation
Address zeising@ comments.
What's the rationale for limiting virtgpu DRM API to x86 architectures? drm-kmod doesn't support virtgpu while Linux "depends on DRM && VIRTIO && MMU" which is probably true for many architectures. Created attachment 210968 [details]
graphics/libdrm: Fix include installation
Always include virtgpu header.
I have some other patches coming, let's delay this one for a bit. |
Created attachment 210919 [details] graphics/libdrm: Fix include installation Few enhancement to the plist for libdrm. This cleanups the old drivers include, a few i386/amd64 and arm ones.