| /openbsd/src/sys/dev/pci/drm/i915/gt/ |
| D | intel_timeline.c | 187 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in __intel_timeline_pin() 227 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in intel_timeline_reset_seqno() 282 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_timeline_exit() 301 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in timeline_advance() 383 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in intel_timeline_unpin() 396 GEM_BUG_ON(atomic_read(&timeline->pin_count)); in __intel_timeline_free() 434 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_show_timelines() 480 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_show_timelines()
|
| D | gen8_ppgtt.c | 251 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_clear() 252 GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); in __gen8_ppgtt_clear() 280 atomic_read(&pt->used)); in __gen8_ppgtt_clear() 281 GEM_BUG_ON(!count || count >= atomic_read(&pt->used)); in __gen8_ppgtt_clear() 334 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_alloc() 338 GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ in __gen8_ppgtt_alloc() 372 GEM_BUG_ON(!atomic_read(&pt->used)); in __gen8_ppgtt_alloc() 379 atomic_read(&pt->used)); in __gen8_ppgtt_alloc() 383 GEM_BUG_ON(atomic_read(&pt->used) > NALLOC * I915_PDES); in __gen8_ppgtt_alloc()
|
| D | gen6_ppgtt.c | 92 GEM_BUG_ON(count > atomic_read(&pt->used)); in gen6_ppgtt_clear_range() 309 if (!pt || atomic_read(&pt->used)) in pd_vma_unbind() 350 if (!atomic_read(&ppgtt->pin_count)) { in gen6_ppgtt_pin() 423 GEM_BUG_ON(!atomic_read(&ppgtt->pin_count)); in gen6_ppgtt_unpin()
|
| D | intel_gt_requests.c | 150 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout() 187 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout()
|
| D | intel_ggtt_fencing.c | 303 GEM_BUG_ON(atomic_read(&fence->pin_count)); in i915_vma_revoke_fence() 349 if (atomic_read(&fence->pin_count)) in fence_find() 385 GEM_BUG_ON(atomic_read(&fence->pin_count)); in __i915_vma_pin_fence() 465 count += !atomic_read(&fence->pin_count); in i915_reserve_fence()
|
| /openbsd/src/sys/dev/pci/drm/i915/ |
| D | intel_wakeref.h | 116 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get() 165 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_put() 260 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count)); in __intel_wakeref_defer_park()
|
| D | i915_sw_fence.h | 103 return atomic_read(&fence->pending) <= 0; in i915_sw_fence_signaled() 108 return atomic_read(&fence->pending) < 0; in i915_sw_fence_done()
|
| D | intel_wakeref.c | 27 if (!atomic_read(&wf->count)) { in __intel_wakeref_get_first() 43 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get_first() 57 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in ____intel_wakeref_put_last()
|
| D | intel_runtime_pm.h | 126 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held() 132 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held()
|
| D | i915_active.h | 196 GEM_BUG_ON(!atomic_read(&ref->count)); in __i915_active_acquire() 203 return !atomic_read(&ref->count); in i915_active_is_idle()
|
| D | i915_vma.h | 322 return atomic_read(&vma->flags) & I915_VMA_PIN_MASK; in i915_vma_pin_count() 351 return atomic_read(&vma->flags) & where; in i915_vma_is_bound() 405 GEM_BUG_ON(atomic_read(&vma->fence->pin_count) <= 0); in __i915_vma_unpin_fence()
|
| D | i915_tasklet.h | 30 return !atomic_read(&t->count); in __tasklet_is_enabled()
|
| D | i915_sw_fence_work.h | 61 if (atomic_read(&f->chain.pending) <= 1) in dma_fence_work_commit_imm()
|
| D | i915_debugfs.c | 285 atomic_read(&i915->mm.free_count), in i915_gem_object_info() 392 atomic_read(&rps->num_waiters)); in i915_rps_boost_info() 428 atomic_read(&dev_priv->drm.dev->power.usage_count)); in i915_runtime_pm_status() 456 atomic_read(&to_gt(i915)->wakeref.count), in i915_engine_info()
|
| D | i915_switcheroo.c | 53 return i915 && HAS_DISPLAY(i915) && atomic_read(&i915->drm.open_count) == 0; in i915_switcheroo_can_switch()
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_frontbuffer.h | 106 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_invalidate() 134 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_flush()
|
| D | intel_frontbuffer.c | 264 drm_WARN_ON(&intel_bo_to_i915(obj)->drm, atomic_read(&front->bits)); in frontbuffer_release() 341 !(atomic_read(&old->bits) & frontbuffer_bits)); in intel_frontbuffer_track() 347 atomic_read(&new->bits) & frontbuffer_bits); in intel_frontbuffer_track()
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | amdgpu_fence.c | 132 seq = atomic_read(&drv->last_seq); in amdgpu_fence_read() 291 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_process() 413 emitted -= atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_count_emitted() 431 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_last_unsignaled_time_us() 498 amdgpu_fence_write(ring, atomic_read(&ring->fence_drv.last_seq)); in amdgpu_fence_driver_start_ring() 934 atomic_read(&ring->fence_drv.last_seq)); in amdgpu_debugfs_fence_info_show() 982 *val = atomic_read(&adev->reset_domain->reset_res); in gpu_recover_get()
|
| D | amdgpu_ctx.c | 337 ctx->reset_counter = atomic_read(&mgr->adev->gpu_reset_counter); in amdgpu_ctx_init() 561 reset_counter = atomic_read(&adev->gpu_reset_counter); in amdgpu_ctx_query() 597 if (ctx->reset_counter != atomic_read(&adev->gpu_reset_counter)) in amdgpu_ctx_query2() 603 if (atomic_read(&ctx->guilty)) in amdgpu_ctx_query2() 616 ce_count = atomic_read(&con->ras_ce_count); in amdgpu_ctx_query2() 617 ue_count = atomic_read(&con->ras_ue_count); in amdgpu_ctx_query2()
|
| /openbsd/src/sys/dev/pci/drm/i915/selftests/ |
| D | i915_active.c | 128 if (atomic_read(&active->base.count) != count) { in __live_active_setup() 130 atomic_read(&active->base.count), count); in __live_active_setup() 282 drm_printf(m, "\tcount: %d\n", atomic_read(&ref->count)); in i915_active_print()
|
| /openbsd/src/sys/dev/pci/drm/include/linux/ |
| D | refcount.h | 46 return atomic_read(p); in refcount_read()
|
| D | kref.h | 39 return atomic_read(&ref->refcount); in kref_read()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| D | dc_fpu.c | 47 #define __this_cpu_read(x) atomic_read(&x)
|
| /openbsd/src/sys/dev/pci/drm/i915/gem/selftests/ |
| D | i915_gem_phys.c | 49 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()
|
| /openbsd/src/sys/dev/pci/drm/radeon/ |
| D | radeon_uvd.c | 259 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend() 333 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles() 508 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg() 534 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg() 849 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
|