Draft: Merge libdrm into Mesa under src/drm
Steps done:
- In libdrm: Move everything into src/drm
- In Mesa:
git fetch ../drm main
git merge FETCH_HEAD --allow-unrelated-histories
Intent:
- Backward compatibility of libdrm will continue to be preserved.
- Building drivers dependent on libdrm will also build libdrm, and libdrm version requirement checking will not occur.
- Mesa and libdrm should impose the same version-matching requirement between libdrm_vendor.so and a Mesa driver as already exists between libGL and libgallium_dri.so because version checking against installed libdrm will most likely not be done.
TODO:
- Connect libdrm meson scripts with Mesa
- Connect libdrm CI scripts with Mesa
- Add Gitlab labels