kms: Inhibit kernel thread on amdgpu
Recent AMD Ryzen systems are experiencing a problem whereby gnome-shell gets SIGKILLed by the kernel. It seems to be related to a violation of RLIMIT_RTTIME in the KMS thread.
This is the simplest/safest workaround we have right now. Longer term we would like to:
- Find out what call is blocking in amdgpu to trigger it; and
- Graceful handling of SIGXCPU before SIGKILL happens.
https://launchpad.net/bugs/2034619
https://gitlab.freedesktop.org/drm/amd/-/issues/2861
Closes: #3037 (closed)
Edited by Daniel van Vugt