Home
last modified time | relevance | path

Searched refs:memptrs (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c11 void *memptrs, uint64_t memptrs_iova) in msm_ringbuffer_new() argument
45 ring->memptrs = memptrs; in msm_ringbuffer_new()
Dmsm_ringbuffer.h46 struct msm_rbmemptrs *memptrs; member
53 void *memptrs, uint64_t memptrs_iova);
Dmsm_gpu.c458 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
499 uint32_t fence = ring->memptrs->fence; in recover_worker()
549 uint32_t fence = ring->memptrs->fence; in hangcheck_handler()
685 stats = &ring->memptrs->stats[index]; in retire_submit()
738 update_fences(gpu, gpu->rb[i], gpu->rb[i]->memptrs->fence); in retire_worker()
862 void *memptrs; in msm_gpu_init() local
939 memptrs = msm_gem_kernel_new(drm, in msm_gpu_init()
944 if (IS_ERR(memptrs)) { in msm_gpu_init()
945 ret = PTR_ERR(memptrs); in msm_gpu_init()
960 gpu->rb[i] = msm_ringbuffer_new(gpu, i, memptrs, memptrs_iova); in msm_gpu_init()
[all …]
Dmsm_gpu.h173 if (ring->seqno > ring->memptrs->fence) in msm_gpu_active()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c414 ring->memptrs->fence = ring->fctx->completed_fence; in adreno_hw_init()
415 ring->memptrs->rptr = 0; in adreno_hw_init()
501 state->ring[i].fence = gpu->rb[i]->memptrs->fence; in adreno_gpu_state_get()
737 ring->memptrs->fence, in adreno_dump_info()
Da2xx_gpu.c468 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a2xx_get_rptr()
469 return ring->memptrs->rptr; in a2xx_get_rptr()
Da3xx_gpu.c483 ring->memptrs->rptr = gpu_read(gpu, REG_AXXX_CP_RB_RPTR); in a3xx_get_rptr()
484 return ring->memptrs->rptr; in a3xx_get_rptr()
Da4xx_gpu.c618 ring->memptrs->rptr = gpu_read(gpu, REG_A4XX_CP_RB_RPTR); in a4xx_get_rptr()
619 return ring->memptrs->rptr; in a4xx_get_rptr()
Da5xx_preempt.c66 empty = (get_wptr(ring) == ring->memptrs->rptr); in get_next_ring()
Da5xx_gpu.c112 ring->memptrs->fence = submit->seqno; in a5xx_submit_in_rb()
1504 return ring->memptrs->rptr = gpu_read(gpu, REG_A5XX_CP_RB_RPTR); in a5xx_get_rptr()
Da6xx_gpu.c1236 return ring->memptrs->rptr = gpu_read(gpu, REG_A6XX_CP_RB_RPTR); in a6xx_get_rptr()