Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_drv.c1173 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_suspend_switcheroo()
1329 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_resume_switcheroo()
1348 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()
1363 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()
1382 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()
1392 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()
1402 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()
1412 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()
1424 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()
1442 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze_late()
Di915_switcheroo.c33 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
/kernel/linux/linux-5.10/include/drm/
Ddrm_device.h38 DRM_SWITCH_POWER_OFF = 1, enumerator
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_vga.c54 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
Dnouveau_drm.c941 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_suspend()
963 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_device.c1244 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in radeon_switcheroo_set_state()
1577 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_suspend_kms()
1678 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_resume_kms()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1428 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()
3649 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()
3739 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fb_helper.c299 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_force_kernel_mode()