diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-07-28 12:17:29 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-07-28 12:17:29 -0700 |
commit | 8b385d3cf6e678fcae6e7d3c915055a960bf6157 (patch) | |
tree | b64d41d12f6f97335a0840eaf0328586a50d6edb /media-libs/mesa | |
parent | media-libs/mesa: Drop old versions (diff) | |
download | gentoo-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')
-rw-r--r-- | media-libs/mesa/mesa-20.0.8.ebuild | 8 | ||||
-rw-r--r-- | media-libs/mesa/mesa-20.1.4.ebuild | 8 | ||||
-rw-r--r-- | 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 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 diff --git a/media-libs/mesa/mesa-20.1.4.ebuild b/media-libs/mesa/mesa-20.1.4.ebuild index 00b4050b4e80..db0a161452c1 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 ced0417b6d09..1e78bcd122f8 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 |