Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/
Di915_driver.c1179 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_suspend_switcheroo()
1343 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_resume_switcheroo()
1362 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()
1377 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()
1396 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()
1406 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()
1416 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()
1426 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()
1436 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_complete()
1448 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()
[all …]
Di915_switcheroo.c38 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
/linux-6.6.21/include/drm/
Ddrm_device.h35 DRM_SWITCH_POWER_OFF = 1, enumerator
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_vga.c52 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
Dnouveau_drm.c983 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_suspend()
1005 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_resume()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_device.c1235 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in radeon_switcheroo_set_state()
1563 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_suspend_kms()
1663 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_resume_kms()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1557 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()
4112 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()
4179 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_fb_helper.c292 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_restore_work_fn()