Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/adreno/
A Dadreno_gpu.h284 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg);
285 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
292 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords);
293 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu);
329 OUT_PKT0(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0()
337 OUT_PKT2(struct msm_ringbuffer *ring) in OUT_PKT2()
344 OUT_PKT3(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT3()
366 OUT_PKT4(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT4()
373 OUT_PKT7(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT7()
386 static inline uint32_t get_wptr(struct msm_ringbuffer *ring) in get_wptr()
A 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);
A 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()
A Dadreno_gpu.c418 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_hw_init()
436 struct msm_ringbuffer *ring) in get_rptr()
443 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring()
466 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg) in adreno_flush()
486 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in adreno_idle()
762 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_dump_info()
796 static uint32_t ring_freewords(struct msm_ringbuffer *ring) in ring_freewords()
806 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords) in adreno_wait_ring()
A 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()
69 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit_in_rb()
130 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit()
471 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_me_init()
513 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_preempt_start()
1070 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_idle()
1220 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a5xx_fault_detect_irq()
1644 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()
A 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()
151 struct msm_ringbuffer *ring = submit->ring; in a6xx_submit()
729 struct msm_ringbuffer *ring = gpu->rb[0]; in a6xx_cp_init()
1343 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a6xx_fault_detect_irq()
1583 static struct msm_ringbuffer *a6xx_active_ring(struct msm_gpu *gpu) in a6xx_active_ring()
1711 static uint32_t a6xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_get_rptr()
A Da2xx_gpu.c16 struct msm_ringbuffer *ring = submit->ring; in a2xx_submit()
57 struct msm_ringbuffer *ring = gpu->rb[0]; in a2xx_me_init()
466 static u32 a2xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a2xx_get_rptr()
A Da3xx_gpu.c34 struct msm_ringbuffer *ring = submit->ring; in a3xx_submit()
88 struct msm_ringbuffer *ring = gpu->rb[0]; in a3xx_me_init()
481 static u32 a3xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a3xx_get_rptr()
A Da6xx_gpu.h21 struct msm_ringbuffer *cur_ring;
A Da4xx_gpu.c28 struct msm_ringbuffer *ring = submit->ring; in a4xx_submit()
159 struct msm_ringbuffer *ring = gpu->rb[0]; in a4xx_me_init()
616 static u32 a4xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a4xx_get_rptr()
A Da5xx_power.c224 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_gpmu_init()
/linux/drivers/gpu/drm/msm/
A Dmsm_ringbuffer.h38 struct msm_ringbuffer { struct
75 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, argument
77 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring);
82 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING()
A Dmsm_ringbuffer.c48 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
51 struct msm_ringbuffer *ring; in msm_ringbuffer_new()
112 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring) in msm_ringbuffer_destroy()
A Dmsm_gpu.h50 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
52 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
71 uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
144 struct msm_ringbuffer *rb[MSM_GPU_MAX_RINGS];
242 struct msm_ringbuffer *ring = gpu->rb[i]; in msm_gpu_active()
A Dmsm_gpu.c167 static void update_fences(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in update_fences()
335 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()
408 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
435 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker()
455 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in fault_worker()
507 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in hangcheck_handler()
636 static void retire_submit(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in retire_submit()
684 struct msm_ringbuffer *ring = gpu->rb[i]; in retire_submits()
733 struct msm_ringbuffer *ring = submit->ring; in msm_gpu_submit()
A Dmsm_submitqueue.c81 get_sched_entity(struct msm_file_private *ctx, struct msm_ringbuffer *ring, in get_sched_entity()
A DMakefile99 msm_ringbuffer.o \
A Dmsm_gem.h328 struct msm_ringbuffer *ring;
A Dmsm_gem_submit.c545 struct msm_ringbuffer *ring) in msm_parse_deps()
718 struct msm_ringbuffer *ring; in msm_ioctl_gem_submit()

Completed in 29 milliseconds