Home
last modified time | relevance | path

Searched refs:msm_ringbuffer (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.h303 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg);
304 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
311 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords);
312 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu);
352 OUT_PKT0(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0()
360 OUT_PKT2(struct msm_ringbuffer *ring) in OUT_PKT2()
367 OUT_PKT3(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT3()
389 OUT_PKT4(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT4()
396 OUT_PKT7(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT7()
409 static inline uint32_t get_wptr(struct msm_ringbuffer *ring) in get_wptr()
Da5xx_gpu.h30 struct msm_ringbuffer *cur_ring;
31 struct msm_ringbuffer *next_ring;
154 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
163 void a5xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, bool sync);
Da5xx_preempt.c40 static inline void update_wptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in update_wptr()
56 static struct msm_ringbuffer *get_next_ring(struct msm_gpu *gpu) in get_next_ring()
63 struct msm_ringbuffer *ring = gpu->rb[i]; in get_next_ring()
95 struct msm_ringbuffer *ring; in a5xx_preempt_trigger()
222 struct msm_ringbuffer *ring) in preempt_init_ring()
Dadreno_gpu.c515 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_hw_init()
538 struct msm_ringbuffer *ring) in get_rptr()
545 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring()
568 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg) in adreno_flush()
588 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in adreno_idle()
872 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_dump_info()
906 static uint32_t ring_freewords(struct msm_ringbuffer *ring) in ring_freewords()
916 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords) in adreno_wait_ring()
Da5xx_gpu.c21 static void update_shadow_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in update_shadow_rptr()
33 void a5xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in a5xx_flush()
68 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit_in_rb()
128 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit()
469 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_me_init()
511 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_preempt_start()
1076 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_idle()
1226 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a5xx_fault_detect_irq()
1657 static struct msm_ringbuffer *a5xx_active_ring(struct msm_gpu *gpu) in a5xx_active_ring()
1676 static uint32_t a5xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_get_rptr()
Da6xx_gpu.c36 static bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_idle()
55 static void update_shadow_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in update_shadow_rptr()
68 static void a6xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_flush()
91 static void get_stats_counter(struct msm_ringbuffer *ring, u32 counter, in get_stats_counter()
103 struct msm_ringbuffer *ring, struct msm_file_private *ctx) in a6xx_set_pagetable()
177 struct msm_ringbuffer *ring = submit->ring; in a6xx_submit()
827 struct msm_ringbuffer *ring = gpu->rb[0]; in a6xx_cp_init()
1486 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a6xx_fault_detect_irq()
1732 static struct msm_ringbuffer *a6xx_active_ring(struct msm_gpu *gpu) in a6xx_active_ring()
1850 static uint32_t a6xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_get_rptr()
Da2xx_gpu.c15 struct msm_ringbuffer *ring = submit->ring; in a2xx_submit()
56 struct msm_ringbuffer *ring = gpu->rb[0]; in a2xx_me_init()
465 static u32 a2xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a2xx_get_rptr()
Da6xx_gpu.h21 struct msm_ringbuffer *cur_ring;
Da3xx_gpu.c33 struct msm_ringbuffer *ring = submit->ring; in a3xx_submit()
87 struct msm_ringbuffer *ring = gpu->rb[0]; in a3xx_me_init()
480 static u32 a3xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a3xx_get_rptr()
Da4xx_gpu.c27 struct msm_ringbuffer *ring = submit->ring; in a4xx_submit()
158 struct msm_ringbuffer *ring = gpu->rb[0]; in a4xx_me_init()
615 static u32 a4xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a4xx_get_rptr()
Da5xx_power.c224 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_gpmu_init()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_ringbuffer.h38 struct msm_ringbuffer { struct
74 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, argument
76 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring);
81 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING()
Dmsm_ringbuffer.c56 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
59 struct msm_ringbuffer *ring; in msm_ringbuffer_new()
120 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring) in msm_ringbuffer_destroy()
Dmsm_gpu.h56 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
58 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
80 uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
170 struct msm_ringbuffer *rb[MSM_GPU_MAX_RINGS];
303 struct msm_ringbuffer *ring = gpu->rb[i]; in msm_gpu_active()
Dmsm_gpu.c314 find_submit(struct msm_ringbuffer *ring, uint32_t fence) in find_submit()
363 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker()
410 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
435 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
456 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in fault_worker()
501 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in hangcheck_handler()
630 static void retire_submit(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in retire_submit()
685 struct msm_ringbuffer *ring = gpu->rb[i]; in retire_submits()
736 struct msm_ringbuffer *ring = submit->ring; in msm_gpu_submit()
Dmsm_submitqueue.c122 get_sched_entity(struct msm_file_private *ctx, struct msm_ringbuffer *ring, in get_sched_entity()
DMakefile110 msm_ringbuffer.o \
Dmsm_gem.h278 struct msm_ringbuffer *ring;
Dmsm_gem_submit.c540 struct msm_ringbuffer *ring) in msm_parse_deps()
712 struct msm_ringbuffer *ring; in msm_ioctl_gem_submit()