Enable v3d, vc4 for Raspberry Pi graphics #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "metalefty/mesa:a8-work"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32
@ -546,6 +554,33 @@ done
%{_libdir}/dri/kms_swrast_dri.so
%{_libdir}/dri/swrast_dri.so
%{_libdir}/dri/virtio_gpu_dri.so
%if 0%{?with_v3d} || 0%{?with_vc4} || 0%{?with_kmsro}
There is a little difference from a9. Any of
with_3d
with_vc4
with_kmsro
enabled, the following drivers will be built.So it's not possible to not build unnecessary drivers? Maybe we should remove them then during %install stage?
This is how unnecessary drivers are built.
https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-23.1.4/meson.build?ref_type=tags#L191-L199
https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-23.1.4/src/gallium/targets/dri/meson.build?ref_type=tags#L69
IMO, it's fine to include unnecessary drivers to package. They are unnecesarry for RPi but useful for other SBCs such as Rock Pi.