Enable v3d, vc4 for Raspberry Pi graphics #2

Merged
alukoshko merged 1 commit from metalefty/mesa:a8-work into a8 2024-07-11 08:16:53 +00:00
Contributor
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}
Author
Contributor

There is a little difference from a9. Any of with_3d with_vc4 with_kmsro enabled, the following drivers will be built.

There is a little difference from a9. Any of `with_3d` `with_vc4` `with_kmsro` enabled, the following drivers will be built.
Owner

So it's not possible to not build unnecessary drivers? Maybe we should remove them then during %install stage?

So it's not possible to not build unnecessary drivers? Maybe we should remove them then during %install stage?
Author
Contributor

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.

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.
metalefty deleted branch a8-work 2024-07-11 08:19:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rpms/mesa!2
No description provided.