This is the Mesa and DRM driver for Broadcom VC4 hardware. It is notably used in the Raspberry Pi and Raspberry Pi 2 hardware. The addition is very simple and applies to all ebuilds from mesa-10.3.7-r1.ebuild and newer. Reproducible: Always Steps to Reproduce: emerge -1pv =mesa-10.3.7-r1 Actual Results: Calculating dependencies... done! [ebuild R ] media-libs/mesa-10.3.7-r1::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl udev -bindist -debug -gles1 (-opencl) (-openmax) -openvg -osmesa -pax_kernel -pic (-selinux) (-vdpau) -wayland -xa -xvmc" VIDEO_CARDS="-freedreno (-i915) (-i965) (-ilo) (-intel) (-nouveau) (-r100) (-r200) (-r300) (-r600) (-radeon) (-radeonsi) (-vmware)" 0 KiB Expected Results: Calculating dependencies... done! [ebuild R ] media-libs/mesa-10.3.7-r1::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl udev -bindist -debug -gles1 (-opencl) (-openmax) -openvg -osmesa -pax_kernel -pic (-selinux) (-vdpau) -wayland -xa -xvmc" VIDEO_CARDS="vc4%* -freedreno (-i915) (-i965) (-ilo) (-intel) (-nouveau) (-r100) (-r200) (-r300) (-r600) (-radeon) (-radeonsi) (-vmware)" 0 KiB The change is very simple. Just add "gallium_enable video_cards_vc4 vc4" to the section of each ebuild from version 10.3.7-r1 onward in the section near the other gallium_enable calls.
The vc4 driver requires a kernel driver that is not yet upstream and the developer does not want the vc4 driver shipped in distributions yet because it might mean he's locked into an unfinished kernel ABI. WONTFIX for now.
Created attachment 430360 [details, diff] Enable vc4 in all current versions Enable VC4 support in all versions and bump revision
I am reopening this due to the following reasons: - The VC4 driver is in upstream 4.5 now. - The Raspberry Pi Foundation's kernel tree now includes the driver in the current rpi-update 4.1 branch, and also the 4.5 branch. - For 64bit builds both Zeldins and Electron752 forks include the driver. - VC4 support is included as an option in the 2016-02-09 Rasbpian release. See: https://dri.freedesktop.org/wiki/VC4/
commit bac272fa3584c4483a8b42c346011d083c5a2dfe Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> Date: Thu Apr 28 16:18:19 2016 +0200 media-libs/mesa: add flag for vc4 driver Bug: https://bugs.gentoo.org/show_bug.cgi?id=559144 commit df8a7f9bd0d7362c27326a4156e44e51d2f918ef Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> Date: Thu Apr 28 15:59:31 2016 +0200 profiles/desc: add vc4 to VIDEO_CARDS Bug: https://bugs.gentoo.org/show_bug.cgi?id=559144