media-libs/mesa: check for CONFIG_CHECKPOINT_RESTORE=y
authorIlya Trukhanov <lahvuun@gmail.com>
Sat, 23 May 2020 14:13:15 +0000 (17:13 +0300)
committerMatt Turner <mattst88@gentoo.org>
Sun, 24 May 2020 20:28:54 +0000 (13:28 -0700)
commitee5e5804a9a10db5fd95022efe5e9217b56dd6d1
tree03f94642ff6dc014b7c3dc5285ee09087598d3e4
parent9e7066a43d4730353a0ed3fc539e3fdd95f94b40
media-libs/mesa: check for CONFIG_CHECKPOINT_RESTORE=y

This lets AMDGPU users know they should enable the kernel config option.
It should be enabled by CONFIG_GENTOO_LINUX_INIT_SYSTEMD, but if e.g.
OpenRC is used, it's possible for the option to be unset, as was in
my case.

Not doing so can cause the following spooky warning:
"amdgpu: os_same_file_description couldn't determine if two DRM fds
reference the same file description. If they do, bad things may happen!"

I haven't experienced any issues with the config option disabled, but
the warning is likely there for a reason.

Closes: https://github.com/gentoo/gentoo/pull/15926
Signed-off-by: Ilya Trukhanov <lahvuun@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
media-libs/mesa/mesa-19.3.5.ebuild
media-libs/mesa/mesa-20.0.4-r1.ebuild
media-libs/mesa/mesa-20.0.7.ebuild
media-libs/mesa/mesa-20.1.0_rc4.ebuild
media-libs/mesa/mesa-9999.ebuild