summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-07-28 12:17:29 -0700
committerMatt Turner <mattst88@gentoo.org>2020-07-28 12:17:29 -0700
commit8b385d3cf6e678fcae6e7d3c915055a960bf6157 (patch)
treeb64d41d12f6f97335a0840eaf0328586a50d6edb /media-libs/mesa/mesa-20.0.8.ebuild
parentmedia-libs/mesa: Drop old versions (diff)
downloadgentoo-8b385d3cf6e678fcae6e7d3c915055a960bf6157.tar.gz
gentoo-8b385d3cf6e678fcae6e7d3c915055a960bf6157.tar.bz2
gentoo-8b385d3cf6e678fcae6e7d3c915055a960bf6157.zip
media-libs/mesa: Check for CHECKPOINT_RESTORE on i965/iris
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/mesa/mesa-20.0.8.ebuild')
-rw-r--r--media-libs/mesa/mesa-20.0.8.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/media-libs/mesa/mesa-20.0.8.ebuild b/media-libs/mesa/mesa-20.0.8.ebuild
index 48dbdd650ef2..8f36372581b6 100644
--- a/media-libs/mesa/mesa-20.0.8.ebuild
+++ b/media-libs/mesa/mesa-20.0.8.ebuild
@@ -334,11 +334,9 @@ pkg_setup() {
ewarn "detected! This can cause problems. For details, see bug 459306."
fi
- # os_same_file_description requires the kcmp syscall,
- # which is only available with CONFIG_CHECKPOINT_RESTORE=y.
- # Currently only AMDGPU utilizes this function, so only AMDGPU users would
- # get a spooky warning message if the syscall fails.
- if use gallium && use video_cards_radeonsi; then
+ if ! use video_cards_i965 &&
+ ! use video_cards_iris &&
+ ! use video_cards_radeonsi; then
CONFIG_CHECK="~CHECKPOINT_RESTORE"
linux-info_pkg_setup
fi