Skip to content

Commit

Permalink
media-libs/mesa: enable option for V3D graphics driver
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/733190
Closes: gentoo#17040
Signed-off-by: Ross Charles Campbell <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
rossbridger authored and mattst88 committed Aug 11, 2020
1 parent 8729e89 commit d78e6b6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion media-libs/mesa/mesa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RESTRICT="
"

RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau panfrost vc4 virgl vivante vmware"
VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau panfrost v3d vc4 virgl vivante vmware"
for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
done
Expand Down Expand Up @@ -62,6 +62,7 @@ REQUIRED_USE="
video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) )
video_cards_r600? ( gallium )
video_cards_radeonsi? ( gallium llvm )
video_cards_v3d? ( gallium )
video_cards_vc4? ( gallium )
video_cards_virgl? ( gallium )
video_cards_vivante? ( gallium gbm )
Expand Down Expand Up @@ -430,13 +431,15 @@ multilib_src_configure() {
if use video_cards_freedreno ||
use video_cards_lima ||
use video_cards_panfrost ||
use video_cards_v3d ||
use video_cards_vc4 ||
use video_cards_vivante; then
gallium_enable -- kmsro
fi

gallium_enable video_cards_lima lima
gallium_enable video_cards_panfrost panfrost
gallium_enable video_cards_v3d v3d
gallium_enable video_cards_vc4 vc4
gallium_enable video_cards_vivante etnaviv
gallium_enable video_cards_vmware svga
Expand Down
1 change: 1 addition & 0 deletions profiles/arch/arm/use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ anthy
-video_cards_omap
-video_cards_panfrost
-video_cards_tegra
-video_cards_v3d
-video_cards_vc4

# James Le Cuirot <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions profiles/arch/arm64/use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ sdl
-video_cards_nouveau
-video_cards_panfrost
-video_cards_tegra
-video_cards_v3d
-video_cards_vc4

# James Le Cuirot <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions profiles/arch/base/use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ video_cards_lima
video_cards_omap
video_cards_panfrost
video_cards_tegra
video_cards_v3d
video_cards_vc4

# James Le Cuirot <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions profiles/desc/video_cards.desc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ radeon - VIDEO_CARDS setting to build driver for ATI radeon video cards
radeonsi - VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
siliconmotion - VIDEO_CARDS setting to build driver for siliconmotion video cards
tegra - VIDEO_CARDS setting to build driver for tegra video cards
v3d - VIDEO_CARDS setting to build driver for v3d video cards
vc4 - VIDEO_CARDS setting to build driver for vc4 video cards
vesa - VIDEO_CARDS setting to build driver for vesa video cards
via - VIDEO_CARDS setting to build driver for via video cards
Expand Down

0 comments on commit d78e6b6

Please sign in to comment.