Enable v3d, vc4 for Raspberry Pi graphics #2

Merged
alukoshko merged 1 commits 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
metalefty added 1 commit 2024-06-25 11:39:53 +00:00
metalefty reviewed 2024-06-25 11:43:56 +00:00
@ -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.
alukoshko merged commit 5f17b88848 into a8 2024-07-11 08:16:53 +00:00
metalefty deleted branch a8-work 2024-07-11 08:19:03 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
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.