Fixes S3 suspend/resume on jrick's VEGA10 after the
amdgpu_pmops_suspend_noirq() call was added to amdgpu_activate().
To be revisted after more of the reset functions are unstubbed.
if (amdgpu_sriov_vf(adev))
return false;
+#ifdef __OpenBSD__
+ /* XXX VEGA10 S3 fails if reset is done */
+ if (pm_suspend_target_state == PM_SUSPEND_MEM)
+ return false;
+#endif
+
#if IS_ENABLED(CONFIG_SUSPEND)
return pm_suspend_target_state != PM_SUSPEND_TO_IDLE;
#else