sync with OpenBSD -current

This commit is contained in:
purplerain 2024-05-17 17:07:28 +00:00
parent 65428aad14
commit 57ecf9bd1d
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
2058 changed files with 272997 additions and 201906 deletions

View file

@ -3665,7 +3665,7 @@ amdgpu_activate(struct device *self, int act)
struct drm_device *dev = &adev->ddev;
int rv = 0;
if (dev->dev == NULL || amdgpu_fatal_error)
if (dev->dev == NULL || amdgpu_fatal_error || adev->shutdown)
return (0);
switch (act) {