Home
last modified time | relevance | path

Searched refs:DRM_SWITCH_POWER_OFF (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/i915/
Di915_driver.c1309 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_suspend_switcheroo()
1466 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_resume_switcheroo()
1485 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()
1502 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()
1521 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()
1531 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()
1541 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()
1551 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()
1571 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()
1589 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze_late()
Di915_switcheroo.c34 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
/Linux-v6.1/include/drm/
Ddrm_device.h35 DRM_SWITCH_POWER_OFF = 1, enumerator
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_vga.c54 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
Dnouveau_drm.c960 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()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_device.c1234 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()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1604 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()
4095 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()
4159 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_fb_helper.c294 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_restore_work_fn()