Home
last modified time | relevance | path

Searched refs:idle_work (Results 1 – 12 of 12) sorted by relevance

/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_vcn.c58 INIT_DELAYED_WORK(&adev->vcn.idle_work, amdgpu_vcn_idle_work_handler); in amdgpu_vcn_sw_init()
156 cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_suspend()
209 container_of(work, struct amdgpu_device, vcn.idle_work.work); in amdgpu_vcn_idle_work_handler()
226 schedule_delayed_work(&adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_idle_work_handler()
233 bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); in amdgpu_vcn_ring_begin_use()
246 schedule_delayed_work(&ring->adev->vcn.idle_work, VCN_IDLE_TIMEOUT); in amdgpu_vcn_ring_end_use()
H A Damdgpu_vce.c194 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init()
261 cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_suspend()
328 container_of(work, struct amdgpu_device, vce.idle_work.work); in amdgpu_vce_idle_work_handler()
345 schedule_delayed_work(&adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_idle_work_handler()
365 set_clocks = !cancel_delayed_work_sync(&adev->vce.idle_work); in amdgpu_vce_ring_begin_use()
391 schedule_delayed_work(&ring->adev->vce.idle_work, VCE_IDLE_TIMEOUT); in amdgpu_vce_ring_end_use()
H A Damdgpu_uvd.c131 INIT_DELAYED_WORK(&adev->uvd.idle_work, amdgpu_uvd_idle_work_handler); in amdgpu_uvd_sw_init()
350 cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_suspend()
1179 container_of(work, struct amdgpu_device, uvd.idle_work.work); in amdgpu_uvd_idle_work_handler()
1203 schedule_delayed_work(&adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_idle_work_handler()
1215 set_clocks = !cancel_delayed_work_sync(&adev->uvd.idle_work); in amdgpu_uvd_ring_begin_use()
1232 schedule_delayed_work(&ring->adev->uvd.idle_work, UVD_IDLE_TIMEOUT); in amdgpu_uvd_ring_end_use()
H A Damdgpu_vcn.h65 struct delayed_work idle_work; member
H A Damdgpu_uvd.h66 struct delayed_work idle_work; member
H A Damdgpu_vce.h45 struct delayed_work idle_work; member
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_vce.c65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler); in radeon_vce_init()
265 container_of(work, struct radeon_device, vce.idle_work.work); in radeon_vce_idle_work_handler()
275 schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_idle_work_handler()
290 bool set_clocks = !cancel_delayed_work_sync(&rdev->vce.idle_work); in radeon_vce_note_usage()
291 set_clocks &= schedule_delayed_work(&rdev->vce.idle_work, in radeon_vce_note_usage()
H A Dradeon_uvd.c72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init()
873 container_of(work, struct radeon_device, uvd.idle_work.work); in radeon_uvd_idle_work_handler()
884 schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_idle_work_handler()
892 bool set_clocks = !cancel_delayed_work_sync(&rdev->uvd.idle_work); in radeon_uvd_note_usage()
893 set_clocks &= schedule_delayed_work(&rdev->uvd.idle_work, in radeon_uvd_note_usage()
H A Dradeon.h1688 struct delayed_work idle_work; member
1730 struct delayed_work idle_work; member
/dragonfly/sys/dev/drm/i915/
H A Di915_gem_request.c297 &i915->gt.idle_work, in unreserve_engine()
H A Di915_gem.c3590 container_of(work, typeof(*dev_priv), gt.idle_work.work); in i915_gem_idle_work_handler()
3611 &dev_priv->gt.idle_work, in i915_gem_idle_work_handler()
5077 drain_delayed_work(&dev_priv->gt.idle_work); in i915_gem_suspend()
5453 INIT_DELAYED_WORK(&dev_priv->gt.idle_work, in i915_gem_load_init()
H A Di915_drv.h2739 struct delayed_work idle_work; member