Created attachment 75298 [details] Fix detection of Intel-style atomic primitives on amd64 (patch by Brian Waters) Series of 3 patches coming up which allow libdrm to be compiled with KMS support on FreeBSD.
Created attachment 75299 [details] [review] Add support for FreeBSD’s libkms (patch by Konstantin Belousov) Originally from: http://people.freebsd.org/~kib/drm/libdrm.2.patch
Created attachment 75300 [details] [review] Replace strchrnul() with strchr() strchrnul() doesn’t exist on FreeBSD, and is simple enough to replace with strchr().
Created attachment 75312 [details] [review] Add local implementation of strchrnul() Hi! Attached is a different solution to the strchrnul() issue, it adds a local implementation and a configure check to see if strchrnul() exists in libc. If it does exist in libc, that version will be used instead of the local version.
Created attachment 86138 [details] [review] Updated "Add support for FreeBSD’s libkms (patch by Konstantin Belousov)" Attached is an update to the libkms patch. It adds two small modifications so it works on kfreebsd as well and refreshes against libdrm 2.46. It also adds a small fix (len is used before it is assigned) without which it doesn't work for me
What's the next step here?
Have either of these two made it to the mailing list [1] ? AFAIK most people do not look for and/or expect patches in bugzilla. Please use git am to generate both patches :) Thanks Emil [1] dri-devel@lists.freedesktop.org
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/10.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.