Searched refs:evf_mgr (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_eviction_fence.c | 29 #define evf_mgr_to_fpriv(e) container_of(e, struct amdgpu_fpriv, evf_mgr) 47 amdgpu_eviction_fence_replace_fence(struct amdgpu_eviction_fence_mgr *evf_mgr, in amdgpu_eviction_fence_replace_fence() argument 55 if (evf_mgr->ev_fence && in amdgpu_eviction_fence_replace_fence() 56 !dma_fence_is_signaled(&evf_mgr->ev_fence->base)) in amdgpu_eviction_fence_replace_fence() 67 new_ef = amdgpu_eviction_fence_create(evf_mgr); in amdgpu_eviction_fence_replace_fence() 74 spin_lock(&evf_mgr->ev_fence_lock); in amdgpu_eviction_fence_replace_fence() 75 old_ef = evf_mgr->ev_fence; in amdgpu_eviction_fence_replace_fence() 76 evf_mgr->ev_fence = new_ef; in amdgpu_eviction_fence_replace_fence() 77 spin_unlock(&evf_mgr->ev_fence_lock); in amdgpu_eviction_fence_replace_fence() 85 ret = amdgpu_eviction_fence_attach(evf_mgr, bo); in amdgpu_eviction_fence_replace_fence() [all …]
|
| H A D | amdgpu_userq.c | 473 struct amdgpu_eviction_fence_mgr *evf_mgr) in amdgpu_userq_ensure_ev_fence() argument 482 spin_lock(&evf_mgr->ev_fence_lock); in amdgpu_userq_ensure_ev_fence() 483 ev_fence = evf_mgr->ev_fence; in amdgpu_userq_ensure_ev_fence() 484 spin_unlock(&evf_mgr->ev_fence_lock); in amdgpu_userq_ensure_ev_fence() 788 amdgpu_userq_ensure_ev_fence(&fpriv->userq_mgr, &fpriv->evf_mgr); in amdgpu_userq_create() 1248 ret = amdgpu_eviction_fence_replace_fence(&fpriv->evf_mgr, &exec); in amdgpu_userq_vm_validate() 1270 flush_delayed_work(&fpriv->evf_mgr.suspend_work); in amdgpu_userq_restore_worker() 1367 struct amdgpu_eviction_fence_mgr *evf_mgr = &fpriv->evf_mgr; in amdgpu_userq_evict() local 1381 amdgpu_eviction_fence_signal(evf_mgr, ev_fence); in amdgpu_userq_evict() 1383 if (evf_mgr->fd_closing) { in amdgpu_userq_evict()
|
| H A D | amdgpu_userq.h | 137 struct amdgpu_eviction_fence_mgr *evf_mgr);
|
| H A D | amdgpu_gem.c | 267 r = amdgpu_eviction_fence_attach(&fpriv->evf_mgr, abo); in amdgpu_gem_object_open() 340 amdgpu_eviction_fence_detach(&fpriv->evf_mgr, bo); in amdgpu_gem_object_close()
|
| H A D | amdgpu_drv.c | 2975 fpriv->evf_mgr.fd_closing = true; in amdgpu_drm_release() 2976 amdgpu_eviction_fence_destroy(&fpriv->evf_mgr); in amdgpu_drm_release()
|
| H A D | amdgpu_userq_fence.c | 571 amdgpu_userq_ensure_ev_fence(&fpriv->userq_mgr, &fpriv->evf_mgr); in amdgpu_userq_signal_ioctl()
|
| H A D | amdgpu.h | 453 struct amdgpu_eviction_fence_mgr evf_mgr; member
|
| H A D | amdgpu_kms.c | 1525 r = amdgpu_eviction_fence_init(&fpriv->evf_mgr); in amdgpu_driver_open_kms()
|