Searched refs:DRM_SWITCH_POWER_OFF (Results 1 – 8 of 8) sorted by relevance
1306 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_suspend_switcheroo()1463 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_resume_switcheroo()1482 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()1499 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()1518 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()1528 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()1538 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()1548 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()1568 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()1586 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze_late()
38 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
35 DRM_SWITCH_POWER_OFF = 1, enumerator
54 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
960 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_suspend()982 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_resume()
1234 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in radeon_switcheroo_set_state()1558 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_suspend_kms()1658 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_resume_kms()
1607 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()4109 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()4173 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
294 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_restore_work_fn()