commit:     8b385d3cf6e678fcae6e7d3c915055a960bf6157
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 28 19:17:29 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 28 19:17:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b385d3c

media-libs/mesa: Check for CHECKPOINT_RESTORE on i965/iris

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-20.0.8.ebuild | 8 +++-----
 media-libs/mesa/mesa-20.1.4.ebuild | 8 +++-----
 media-libs/mesa/mesa-9999.ebuild   | 8 +++-----
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/media-libs/mesa/mesa-20.0.8.ebuild 
b/media-libs/mesa/mesa-20.0.8.ebuild
index 48dbdd650ef..8f36372581b 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

diff --git a/media-libs/mesa/mesa-20.1.4.ebuild 
b/media-libs/mesa/mesa-20.1.4.ebuild
index 00b4050b4e8..db0a161452c 100644
--- a/media-libs/mesa/mesa-20.1.4.ebuild
+++ b/media-libs/mesa/mesa-20.1.4.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

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index ced0417b6d0..1e78bcd122f 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -333,11 +333,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

Reply via email to