[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, media-libs/mesa/, profiles/arch/base/, profiles/arch/x86/, ...

2021-10-30 Thread Matt Turner
commit: f20b8394b687bc73339d9acbd46ff4d1f884f330
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct 30 20:33:27 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct 30 23:04:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f20b8394

media-libs/mesa: Add VIDEO_CARDS=crocus

Closes: https://bugs.gentoo.org/796764
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 5 -
 profiles/arch/amd64/use.mask | 1 +
 profiles/arch/base/use.mask  | 1 +
 profiles/arch/x86/use.mask   | 1 +
 profiles/desc/video_cards.desc   | 1 +
 5 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 81c434cf294..ac45323b97f 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -27,7 +27,7 @@ RESTRICT="
 "
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} crocus 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
@@ -45,6 +45,7 @@ REQUIRED_USE="
vulkan? ( video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
wayland? ( egl gbm )
+   video_cards_crocus? ( gallium )
video_cards_freedreno?  ( gallium )
video_cards_intel?  ( classic )
video_cards_i915?   ( || ( classic gallium ) )
@@ -467,6 +468,7 @@ multilib_src_configure() {
fi
fi
 
+   gallium_enable video_cards_crocus crocus
gallium_enable video_cards_iris iris
 
gallium_enable video_cards_r300 r300
@@ -515,6 +517,7 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature zstd)
+   $(meson_use video_cards_crocus prefer-crocus)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dvalgrind=$(usex valgrind auto disabled)
-Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")

diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
index b5cba9077af..6ccf21fe1f2 100644
--- a/profiles/arch/amd64/use.mask
+++ b/profiles/arch/amd64/use.mask
@@ -112,6 +112,7 @@
 -input_devices_vmmouse
 -input_devices_wacom
 -video_cards_ast
+-video_cards_crocus
 -video_cards_i915
 -video_cards_i965
 -video_cards_intel

diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
index 887839c4815..497a91c0574 100644
--- a/profiles/arch/base/use.mask
+++ b/profiles/arch/base/use.mask
@@ -124,6 +124,7 @@ video_cards_geode
 # not needed on non-x86, non-amd64 systems
 input_devices_vmmouse
 video_cards_ast
+video_cards_crocus
 video_cards_i915
 video_cards_i965
 video_cards_intel

diff --git a/profiles/arch/x86/use.mask b/profiles/arch/x86/use.mask
index 8a86d7306ed..8e6b5ac51c3 100644
--- a/profiles/arch/x86/use.mask
+++ b/profiles/arch/x86/use.mask
@@ -131,6 +131,7 @@
 -input_devices_vmmouse
 -input_devices_wacom
 -video_cards_ast
+-video_cards_crocus
 -video_cards_i915
 -video_cards_i965
 -video_cards_intel

diff --git a/profiles/desc/video_cards.desc b/profiles/desc/video_cards.desc
index 1a82d207852..e4c6adc6327 100644
--- a/profiles/desc/video_cards.desc
+++ b/profiles/desc/video_cards.desc
@@ -7,6 +7,7 @@
 
 amdgpu - VIDEO_CARDS setting to build driver for AMDGPU video cards
 ast - VIDEO_CARDS setting to build driver for ASpeedTech video cards
+crocus - VIDEO_CARDS setting to build driver for Intel video cards Gen4-Gen7
 dummy - VIDEO_CARDS setting to build driver for dummy video cards
 exynos - VIDEO_CARDS setting to build driver for Samsung Exynos video cards
 freedreno - VIDEO_CARDS setting to build reverse-engineered driver for 
Qualcomm Adreno cards



[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, media-libs/mesa/

2019-03-04 Thread Matt Turner
commit: f56b2406d79bdad2a3fab0f58e56c5eedcec46b0
Author: Mike Lothian  fireburn  co  uk>
AuthorDate: Fri Mar  1 14:15:47 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Mar  4 18:46:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56b2406

media-libs/mesa: Add Iris support to mesa-

This allows the i965 alternative Gallium Iris driver to be built

Intel Gen8 / Broadwell or newer is required to use the Iris driver

Closes: https://github.com/gentoo/gentoo/pull/11167
Signed-off-by: Mike Lothian  fireburn.co.uk>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 8 ++--
 profiles/desc/video_cards.desc   | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 0d4b0abb567..fb346d34912 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -30,7 +30,7 @@ RESTRICT="
 "
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel iris nouveau vc4 
virgl vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -45,7 +45,7 @@ REQUIRED_USE="
gles1?  ( egl )
gles2?  ( egl )
vulkan? ( dri3
- || ( video_cards_i965 video_cards_radeonsi )
+ || ( video_cards_i965 video_cards_iris 
video_cards_radeonsi )
  video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
wayland? ( egl gbm )
@@ -53,6 +53,7 @@ REQUIRED_USE="
video_cards_intel?  ( classic )
video_cards_i915?   ( || ( classic gallium ) )
video_cards_i965?   ( classic )
+   video_cards_iris?   ( gallium )
video_cards_imx?( gallium video_cards_vivante )
video_cards_nouveau? ( || ( classic gallium ) )
video_cards_radeon? ( || ( classic gallium )
@@ -414,6 +415,8 @@ multilib_src_configure() {
fi
fi
 
+   gallium_enable video_cards_iris iris
+
gallium_enable video_cards_r300 r300
gallium_enable video_cards_r600 r600
gallium_enable video_cards_radeonsi radeonsi
@@ -433,6 +436,7 @@ multilib_src_configure() {
 
if use vulkan; then
vulkan_enable video_cards_i965 intel
+   vulkan_enable video_cards_iris intel
vulkan_enable video_cards_radeonsi amd
fi
 

diff --git a/profiles/desc/video_cards.desc b/profiles/desc/video_cards.desc
index bfee3a2eee7..741ce82fc36 100644
--- a/profiles/desc/video_cards.desc
+++ b/profiles/desc/video_cards.desc
@@ -17,6 +17,7 @@ i915 - VIDEO_CARDS setting to build driver for Intel i915 
video cards
 i965 - VIDEO_CARDS setting to build driver for Intel i965 video cards
 imx - VIDEO_CARDS setting to build driver for Freescale i.MX video cards
 intel - VIDEO_CARDS setting to build driver for Intel video cards
+iris - VIDEO_CARDS setting to build driver for Intel video cards Gen8 / 
Broadwell or newer
 mga - VIDEO_CARDS setting to build driver for mga video cards
 newport - VIDEO_CARDS setting to build driver for newport video cards
 nouveau - VIDEO_CARDS setting to build reverse-engineered driver for nvidia 
cards



[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, media-libs/mesa/

2017-10-21 Thread Matt Turner
commit: 7a8e4e4d12326a33183d6a06591476fe702b05fb
Author: soredake  krutt  org>
AuthorDate: Wed Oct  4 09:29:48 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct 21 18:24:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a8e4e4d

media-libs/mesa: add video_cards_virgl use-flag, #589190

Closes: https://github.com/gentoo/gentoo/pull/5858
Closes: https://bugs.gentoo.org/589190

 media-libs/mesa/mesa-17.2.3.ebuild | 5 -
 media-libs/mesa/mesa-.ebuild   | 5 -
 profiles/desc/video_cards.desc | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-17.2.3.ebuild 
b/media-libs/mesa/mesa-17.2.3.ebuild
index 5183b093938..12be4d77969 100644
--- a/media-libs/mesa/mesa-17.2.3.ebuild
+++ b/media-libs/mesa/mesa-17.2.3.ebuild
@@ -33,7 +33,7 @@ SLOT="0"
 RESTRICT="!bindist? ( bindist )"
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 vivante 
vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -70,6 +70,7 @@ REQUIRED_USE="
video_cards_r600?   ( gallium )
video_cards_radeonsi?   ( gallium llvm )
video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
video_cards_vivante? ( gallium gbm )
video_cards_vmware? ( gallium )
 "
@@ -351,6 +352,8 @@ multilib_src_configure() {
--with-clang-libdir="${EPREFIX}/usr/lib"
"
fi
+
+   gallium_enable video_cards_virgl virgl
fi
 
if use vulkan; then

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 00ea5c795c9..dbe0eda926a 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -33,7 +33,7 @@ SLOT="0"
 RESTRICT="!bindist? ( bindist )"
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 vivante 
vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -70,6 +70,7 @@ REQUIRED_USE="
video_cards_r600?   ( gallium )
video_cards_radeonsi?   ( gallium llvm )
video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
video_cards_vivante? ( gallium gbm )
video_cards_vmware? ( gallium )
 "
@@ -351,6 +352,8 @@ multilib_src_configure() {
--with-clang-libdir="${EPREFIX}/usr/lib"
"
fi
+
+   gallium_enable video_cards_virgl virgl
fi
 
if use vulkan; then

diff --git a/profiles/desc/video_cards.desc b/profiles/desc/video_cards.desc
index c9091d203e6..40aefe9b3c2 100644
--- a/profiles/desc/video_cards.desc
+++ b/profiles/desc/video_cards.desc
@@ -65,6 +65,7 @@ tseng - VIDEO_CARDS setting to build driver for tseng 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
+virgl - VIDEO_CARDS setting to build driver for virgil (virtual 3D GPU)
 virtualbox - VIDEO_CARDS setting to build driver for virtualbox emulation
 vivante - VIDEO_CARDS setting to build etnaviv driver for vivante video cards
 vmware - VIDEO_CARDS setting to build driver for vmware video cards