Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/desc/, media-libs/mesa/
Date: Mon, 04 Mar 2019 18:46:59
Message-Id: 1551725200.f56b2406d79bdad2a3fab0f58e56c5eedcec46b0.mattst88@gentoo
1 commit: f56b2406d79bdad2a3fab0f58e56c5eedcec46b0
2 Author: Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk>
3 AuthorDate: Fri Mar 1 14:15:47 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 4 18:46:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56b2406
7
8 media-libs/mesa: Add Iris support to mesa-9999
9
10 This allows the i965 alternative Gallium Iris driver to be built
11
12 Intel Gen8 / Broadwell or newer is required to use the Iris driver
13
14 Closes: https://github.com/gentoo/gentoo/pull/11167
15 Signed-off-by: Mike Lothian <mike <AT> fireburn.co.uk>
16 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
17
18 media-libs/mesa/mesa-9999.ebuild | 8 ++++++--
19 profiles/desc/video_cards.desc | 1 +
20 2 files changed, 7 insertions(+), 2 deletions(-)
21
22 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
23 index 0d4b0abb567..fb346d34912 100644
24 --- a/media-libs/mesa/mesa-9999.ebuild
25 +++ b/media-libs/mesa/mesa-9999.ebuild
26 @@ -30,7 +30,7 @@ RESTRICT="
27 "
28
29 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
30 -VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl vivante vmware"
31 +VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel iris nouveau vc4 virgl vivante vmware"
32 for card in ${VIDEO_CARDS}; do
33 IUSE_VIDEO_CARDS+=" video_cards_${card}"
34 done
35 @@ -45,7 +45,7 @@ REQUIRED_USE="
36 gles1? ( egl )
37 gles2? ( egl )
38 vulkan? ( dri3
39 - || ( video_cards_i965 video_cards_radeonsi )
40 + || ( video_cards_i965 video_cards_iris video_cards_radeonsi )
41 video_cards_radeonsi? ( llvm ) )
42 vulkan-overlay? ( vulkan )
43 wayland? ( egl gbm )
44 @@ -53,6 +53,7 @@ REQUIRED_USE="
45 video_cards_intel? ( classic )
46 video_cards_i915? ( || ( classic gallium ) )
47 video_cards_i965? ( classic )
48 + video_cards_iris? ( gallium )
49 video_cards_imx? ( gallium video_cards_vivante )
50 video_cards_nouveau? ( || ( classic gallium ) )
51 video_cards_radeon? ( || ( classic gallium )
52 @@ -414,6 +415,8 @@ multilib_src_configure() {
53 fi
54 fi
55
56 + gallium_enable video_cards_iris iris
57 +
58 gallium_enable video_cards_r300 r300
59 gallium_enable video_cards_r600 r600
60 gallium_enable video_cards_radeonsi radeonsi
61 @@ -433,6 +436,7 @@ multilib_src_configure() {
62
63 if use vulkan; then
64 vulkan_enable video_cards_i965 intel
65 + vulkan_enable video_cards_iris intel
66 vulkan_enable video_cards_radeonsi amd
67 fi
68
69
70 diff --git a/profiles/desc/video_cards.desc b/profiles/desc/video_cards.desc
71 index bfee3a2eee7..741ce82fc36 100644
72 --- a/profiles/desc/video_cards.desc
73 +++ b/profiles/desc/video_cards.desc
74 @@ -17,6 +17,7 @@ i915 - VIDEO_CARDS setting to build driver for Intel i915 video cards
75 i965 - VIDEO_CARDS setting to build driver for Intel i965 video cards
76 imx - VIDEO_CARDS setting to build driver for Freescale i.MX video cards
77 intel - VIDEO_CARDS setting to build driver for Intel video cards
78 +iris - VIDEO_CARDS setting to build driver for Intel video cards Gen8 / Broadwell or newer
79 mga - VIDEO_CARDS setting to build driver for mga video cards
80 newport - VIDEO_CARDS setting to build driver for newport video cards
81 nouveau - VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards