/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
D | adreno_gpu.h | 241 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg); 242 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring); 249 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords); 250 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu); 284 OUT_PKT0(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0() 292 OUT_PKT2(struct msm_ringbuffer *ring) in OUT_PKT2() 299 OUT_PKT3(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT3() 321 OUT_PKT4(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT4() 328 OUT_PKT7(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) in OUT_PKT7() 341 static inline uint32_t get_wptr(struct msm_ringbuffer *ring) in get_wptr()
|
D | a5xx_gpu.h | 30 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);
|
D | a5xx_preempt.c | 40 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() 96 struct msm_ringbuffer *ring; in a5xx_preempt_trigger() 224 struct msm_ringbuffer *ring) in preempt_init_ring()
|
D | adreno_gpu.c | 405 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_hw_init() 423 struct msm_ringbuffer *ring) in get_rptr() 430 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring() 453 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg) in adreno_flush() 473 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in adreno_idle() 734 struct msm_ringbuffer *ring = gpu->rb[i]; in adreno_dump_info() 768 static uint32_t ring_freewords(struct msm_ringbuffer *ring) in ring_freewords() 778 void adreno_wait_ring(struct msm_ringbuffer *ring, uint32_t ndwords) in adreno_wait_ring()
|
D | a6xx_gpu.c | 33 bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_idle() 52 static void a6xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_flush() 84 static void get_stats_counter(struct msm_ringbuffer *ring, u32 counter, in get_stats_counter() 96 struct msm_ringbuffer *ring, struct msm_file_private *ctx) in a6xx_set_pagetable() 144 struct msm_ringbuffer *ring = submit->ring; in a6xx_submit() 602 struct msm_ringbuffer *ring = gpu->rb[0]; in a6xx_cp_init() 1043 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a6xx_fault_detect_irq() 1157 static struct msm_ringbuffer *a6xx_active_ring(struct msm_gpu *gpu) in a6xx_active_ring() 1228 static uint32_t a6xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_get_rptr()
|
D | a5xx_gpu.c | 21 void a5xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in a5xx_flush() 60 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit_in_rb() 121 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit() 344 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_me_init() 386 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_preempt_start() 907 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_idle() 1058 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in a5xx_fault_detect_irq() 1464 static struct msm_ringbuffer *a5xx_active_ring(struct msm_gpu *gpu) in a5xx_active_ring() 1496 static uint32_t a5xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a5xx_get_rptr()
|
D | a6xx_gpu.h | 21 struct msm_ringbuffer *cur_ring;
|
D | a2xx_gpu.c | 16 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()
|
D | a3xx_gpu.c | 34 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()
|
D | a4xx_gpu.c | 28 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()
|
D | a5xx_power.c | 224 struct msm_ringbuffer *ring = gpu->rb[0]; in a5xx_gpmu_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.h | 37 struct msm_ringbuffer { struct 52 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, argument 54 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring); 59 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING()
|
D | msm_ringbuffer.c | 10 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new() 13 struct msm_ringbuffer *ring; in msm_ringbuffer_new() 62 void msm_ringbuffer_destroy(struct msm_ringbuffer *ring) in msm_ringbuffer_destroy()
|
D | msm_gpu.h | 50 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); 94 struct msm_ringbuffer *rb[MSM_GPU_MAX_RINGS]; 171 struct msm_ringbuffer *ring = gpu->rb[i]; in msm_gpu_active()
|
D | msm_gpu.c | 414 static void update_fences(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in update_fences() 429 find_submit(struct msm_ringbuffer *ring, uint32_t fence) in find_submit() 450 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker() 497 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker() 524 struct msm_ringbuffer *ring = gpu->rb[i]; in recover_worker() 548 struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); in hangcheck_handler() 677 static void retire_submit(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in retire_submit() 722 struct msm_ringbuffer *ring = gpu->rb[i]; in retire_submits() 758 struct msm_ringbuffer *ring = submit->ring; in msm_gpu_submit()
|
D | msm_gem.h | 151 struct msm_ringbuffer *ring;
|
D | Makefile | 94 msm_ringbuffer.o \
|
D | msm_gem_submit.c | 408 struct msm_ringbuffer *ring) in msm_wait_deps() 587 struct msm_ringbuffer *ring; in msm_ioctl_gem_submit()
|