/linux-5.19.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gpu.h | 85 void (*sync_point)(struct etnaviv_gpu *gpu, struct etnaviv_event *event); 94 struct etnaviv_gpu { struct 152 static inline void gpu_write(struct etnaviv_gpu *gpu, u32 reg, u32 data) in gpu_write() argument 157 static inline u32 gpu_read(struct etnaviv_gpu *gpu, u32 reg) in gpu_read() 162 int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value); 164 int etnaviv_gpu_init(struct etnaviv_gpu *gpu); 165 bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu); 168 int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m); 171 void etnaviv_gpu_recover_hang(struct etnaviv_gpu *gpu); 172 void etnaviv_gpu_retire(struct etnaviv_gpu *gpu); [all …]
|
D | etnaviv_drv.h | 21 struct etnaviv_gpu; 36 struct etnaviv_gpu *gpu[ETNA_MAX_PIPES]; 66 u16 etnaviv_buffer_init(struct etnaviv_gpu *gpu); 67 u16 etnaviv_buffer_config_mmuv2(struct etnaviv_gpu *gpu, u32 mtlb_addr, u32 safe_addr); 68 u16 etnaviv_buffer_config_pta(struct etnaviv_gpu *gpu, unsigned short id); 69 void etnaviv_buffer_end(struct etnaviv_gpu *gpu); 70 void etnaviv_sync_point_queue(struct etnaviv_gpu *gpu, unsigned int event); 71 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, 75 bool etnaviv_cmd_validate_one(struct etnaviv_gpu *gpu,
|
D | etnaviv_perfmon.h | 10 struct etnaviv_gpu; 26 int etnaviv_pm_query_dom(struct etnaviv_gpu *gpu, 29 int etnaviv_pm_query_sig(struct etnaviv_gpu *gpu, 35 void etnaviv_perfmon_process(struct etnaviv_gpu *gpu,
|
D | etnaviv_perfmon.c | 18 u32 (*sample)(struct etnaviv_gpu *gpu, 40 static u32 perf_reg_read(struct etnaviv_gpu *gpu, in perf_reg_read() 49 static inline void pipe_select(struct etnaviv_gpu *gpu, u32 clock, unsigned pipe) in pipe_select() 57 static u32 pipe_perf_reg_read(struct etnaviv_gpu *gpu, in pipe_perf_reg_read() 76 static u32 pipe_reg_read(struct etnaviv_gpu *gpu, in pipe_reg_read() 95 static u32 hi_total_cycle_read(struct etnaviv_gpu *gpu, in hi_total_cycle_read() 109 static u32 hi_total_idle_cycle_read(struct etnaviv_gpu *gpu, in hi_total_idle_cycle_read() 462 static unsigned int num_pm_domains(const struct etnaviv_gpu *gpu) in num_pm_domains() 476 static const struct etnaviv_pm_domain *pm_domain(const struct etnaviv_gpu *gpu, in pm_domain() 499 int etnaviv_pm_query_dom(struct etnaviv_gpu *gpu, in etnaviv_pm_query_dom() [all …]
|
D | etnaviv_gpu.c | 39 int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value) in etnaviv_gpu_get_param() 182 static void etnaviv_hw_specs(struct etnaviv_gpu *gpu) in etnaviv_hw_specs() 332 static void etnaviv_hw_identify(struct etnaviv_gpu *gpu) in etnaviv_hw_identify() 466 static void etnaviv_gpu_load_clock(struct etnaviv_gpu *gpu, u32 clock) in etnaviv_gpu_load_clock() 473 static void etnaviv_gpu_update_clock(struct etnaviv_gpu *gpu) in etnaviv_gpu_update_clock() 491 static int etnaviv_hw_reset(struct etnaviv_gpu *gpu) in etnaviv_hw_reset() 581 static void etnaviv_gpu_enable_mlcg(struct etnaviv_gpu *gpu) in etnaviv_gpu_enable_mlcg() 634 void etnaviv_gpu_start_fe(struct etnaviv_gpu *gpu, u32 address, u16 prefetch) in etnaviv_gpu_start_fe() 650 static void etnaviv_gpu_start_fe_idleloop(struct etnaviv_gpu *gpu, in etnaviv_gpu_start_fe_idleloop() 667 static void etnaviv_gpu_setup_pulse_eater(struct etnaviv_gpu *gpu) in etnaviv_gpu_setup_pulse_eater() [all …]
|
D | etnaviv_mmu.h | 17 struct etnaviv_gpu; 31 void (*restore)(struct etnaviv_gpu *, struct etnaviv_iommu_context *); 84 int etnaviv_iommu_global_init(struct etnaviv_gpu *gpu); 85 void etnaviv_iommu_global_fini(struct etnaviv_gpu *gpu); 115 void etnaviv_iommu_restore(struct etnaviv_gpu *gpu,
|
D | etnaviv_sched.h | 11 struct etnaviv_gpu; 19 int etnaviv_sched_init(struct etnaviv_gpu *gpu); 20 void etnaviv_sched_fini(struct etnaviv_gpu *gpu);
|
D | etnaviv_drv.c | 37 struct etnaviv_gpu *g = priv->gpu[i]; in load_gpu() 67 struct etnaviv_gpu *gpu = priv->gpu[i]; in etnaviv_open() 94 struct etnaviv_gpu *gpu = priv->gpu[i]; in etnaviv_postclose() 130 static int etnaviv_mmu_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_mmu_show() 160 static void etnaviv_buffer_dump(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_buffer_dump() 181 static int etnaviv_ring_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_ring_show() 207 struct etnaviv_gpu *gpu; in show_each_gpu() 208 int (*show)(struct etnaviv_gpu *gpu, struct seq_file *m) = in show_each_gpu() 251 struct etnaviv_gpu *gpu; in etnaviv_ioctl_get_param() 344 struct etnaviv_gpu *gpu; in etnaviv_ioctl_wait_fence() [all …]
|
D | etnaviv_buffer.c | 89 static void etnaviv_cmd_select_pipe(struct etnaviv_gpu *gpu, in etnaviv_cmd_select_pipe() 115 static void etnaviv_buffer_dump(struct etnaviv_gpu *gpu, in etnaviv_buffer_dump() 151 static u32 etnaviv_buffer_reserve(struct etnaviv_gpu *gpu, in etnaviv_buffer_reserve() 162 u16 etnaviv_buffer_init(struct etnaviv_gpu *gpu) in etnaviv_buffer_init() 179 u16 etnaviv_buffer_config_mmuv2(struct etnaviv_gpu *gpu, u32 mtlb_addr, u32 safe_addr) in etnaviv_buffer_config_mmuv2() 214 u16 etnaviv_buffer_config_pta(struct etnaviv_gpu *gpu, unsigned short id) in etnaviv_buffer_config_pta() 232 void etnaviv_buffer_end(struct etnaviv_gpu *gpu) in etnaviv_buffer_end() 300 void etnaviv_sync_point_queue(struct etnaviv_gpu *gpu, unsigned int event) in etnaviv_sync_point_queue() 339 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, in etnaviv_buffer_queue()
|
D | etnaviv_gem.h | 42 struct etnaviv_gpu *gpu; /* non-null if active */ 93 struct etnaviv_gpu *gpu; 111 int etnaviv_gem_wait_bo(struct etnaviv_gpu *gpu, struct drm_gem_object *obj,
|
D | etnaviv_sched.c | 37 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_sched_timedout_job() 132 int etnaviv_sched_init(struct etnaviv_gpu *gpu) in etnaviv_sched_init() 146 void etnaviv_sched_fini(struct etnaviv_gpu *gpu) in etnaviv_sched_fini()
|
D | etnaviv_cmd_parser.c | 16 struct etnaviv_gpu *gpu; 147 bool etnaviv_cmd_validate_one(struct etnaviv_gpu *gpu, u32 *stream, in etnaviv_cmd_validate_one()
|
D | etnaviv_iommu_v2.c | 165 static void etnaviv_iommuv2_restore_nonsec(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore_nonsec() 189 static void etnaviv_iommuv2_restore_sec(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore_sec() 244 static void etnaviv_iommuv2_restore(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore()
|
D | Makefile | 11 etnaviv_gpu.o \
|
D | etnaviv_dump.c | 82 struct etnaviv_gpu *gpu) in etnaviv_core_dump_registers() 115 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_core_dump()
|
D | etnaviv_mmu.c | 398 void etnaviv_iommu_restore(struct etnaviv_gpu *gpu, in etnaviv_iommu_restore() 483 int etnaviv_iommu_global_init(struct etnaviv_gpu *gpu) in etnaviv_iommu_global_init() 544 void etnaviv_iommu_global_fini(struct etnaviv_gpu *gpu) in etnaviv_iommu_global_fini()
|
D | etnaviv_hwdb.c | 135 bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu) in etnaviv_fill_identity_from_hwdb()
|
D | etnaviv_iommu.c | 89 static void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu, in etnaviv_iommuv1_restore()
|
D | etnaviv_gem_submit.c | 32 struct etnaviv_gpu *gpu, size_t nr_bos, size_t nr_pmrs) in submit_create() 421 struct etnaviv_gpu *gpu; in etnaviv_ioctl_gem_submit()
|
D | etnaviv_gem.c | 417 int etnaviv_gem_wait_bo(struct etnaviv_gpu *gpu, struct drm_gem_object *obj, in etnaviv_gem_wait_bo()
|