sync with OpenBSD -current
This commit is contained in:
parent
65428aad14
commit
57ecf9bd1d
2058 changed files with 272997 additions and 201906 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue