Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_ringbuffer.h43 struct msm_ringbuffer { struct
102 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, argument
104 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring);
109 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING()
Dmsm_gpu.h61 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
63 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
85 uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
94 bool (*progress)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
186 struct msm_ringbuffer *rb[MSM_GPU_MAX_RINGS];
323 struct msm_ringbuffer *ring = gpu->rb[i]; in msm_gpu_active()
Dmsm_ringbuffer.c58 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
61 struct msm_ringbuffer *ring; in msm_ringbuffer_new()
122 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring) in msm_ringbuffer_destroy()
Dmsm_gpu.c311 find_submit(struct msm_ringbuffer *ring, uint32_t fence) in find_submit()
360 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker()
407 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
432 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
453 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in fault_worker()
494 static bool made_progress(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in made_progress()
513 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in hangcheck_handler()
645 static void retire_submit(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in retire_submit()
700 struct msm_ringbuffer *ring = gpu->rb[i]; in retire_submits()
749 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()
DMakefile111 msm_ringbuffer.o \
Dmsm_gem.h276 struct msm_ringbuffer *ring;
Dmsm_gem_submit.c748 struct msm_ringbuffer *ring; in msm_ioctl_gem_submit()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.h415 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg);
416 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
423 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords);
424 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu);
471 OUT_PKT0(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0()
479 OUT_PKT2(struct msm_ringbuffer *ring) in OUT_PKT2()
486 OUT_PKT3(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT3()
508 OUT_PKT4(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT4()
515 OUT_PKT7(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT7()
528 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()
221 struct msm_ringbuffer *ring) in preempt_init_ring()
Dadreno_gpu.c562 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_hw_init()
585 struct msm_ringbuffer *ring) in get_rptr()
592 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring()
615 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg) in adreno_flush()
635 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in adreno_idle()
917 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_dump_info()
951 static uint32_t ring_freewords(struct msm_ringbuffer *ring) in ring_freewords()
961 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()
1069 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_idle()
1224 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a5xx_fault_detect_irq()
1653 static struct msm_ringbuffer *a5xx_active_ring(struct msm_gpu *gpu) in a5xx_active_ring()
1671 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()
1025 struct msm_ringbuffer *ring = gpu->rb[0]; in a6xx_cp_init()
1671 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a6xx_fault_detect_irq()
2067 static struct msm_ringbuffer *a6xx_active_ring(struct msm_gpu *gpu) in a6xx_active_ring()
2159 static uint32_t a6xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_get_rptr()
[all …]
Da2xx_gpu.c15 struct msm_ringbuffer *ring = submit->ring; in a2xx_submit()
58 struct msm_ringbuffer *ring = gpu->rb[0]; in a2xx_me_init()
484 static u32 a2xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a2xx_get_rptr()
Da3xx_gpu.c33 struct msm_ringbuffer *ring = submit->ring; in a3xx_submit()
87 struct msm_ringbuffer *ring = gpu->rb[0]; in a3xx_me_init()
490 static u32 a3xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a3xx_get_rptr()
Da6xx_gpu.h21 struct msm_ringbuffer *cur_ring;
Da4xx_gpu.c27 struct msm_ringbuffer *ring = submit->ring; in a4xx_submit()
158 struct msm_ringbuffer *ring = gpu->rb[0]; in a4xx_me_init()
624 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()