Home
last modified time | relevance | path

Searched refs:etnaviv_gpu (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.h85 void (*sync_point)(struct etnaviv_gpu *gpu, struct etnaviv_event *event);
94 struct etnaviv_gpu { struct
150 static inline void gpu_write(struct etnaviv_gpu *gpu, u32 reg, u32 data) in gpu_write() argument
155 static inline u32 gpu_read(struct etnaviv_gpu *gpu, u32 reg) in gpu_read()
160 int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value);
162 int etnaviv_gpu_init(struct etnaviv_gpu *gpu);
163 bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu);
166 int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m);
169 void etnaviv_gpu_recover_hang(struct etnaviv_gpu *gpu);
170 void etnaviv_gpu_retire(struct etnaviv_gpu *gpu);
[all …]
Detnaviv_drv.h21 struct etnaviv_gpu;
37 struct etnaviv_gpu *gpu[ETNA_MAX_PIPES];
71 u16 etnaviv_buffer_init(struct etnaviv_gpu *gpu);
72 u16 etnaviv_buffer_config_mmuv2(struct etnaviv_gpu *gpu, u32 mtlb_addr, u32 safe_addr);
73 u16 etnaviv_buffer_config_pta(struct etnaviv_gpu *gpu, unsigned short id);
74 void etnaviv_buffer_end(struct etnaviv_gpu *gpu);
75 void etnaviv_sync_point_queue(struct etnaviv_gpu *gpu, unsigned int event);
76 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state,
80 bool etnaviv_cmd_validate_one(struct etnaviv_gpu *gpu,
Detnaviv_perfmon.h10 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,
Detnaviv_gpu.c43 int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value) in etnaviv_gpu_get_param()
174 static void etnaviv_hw_specs(struct etnaviv_gpu *gpu) in etnaviv_hw_specs()
324 static void etnaviv_hw_identify(struct etnaviv_gpu *gpu) in etnaviv_hw_identify()
442 static void etnaviv_gpu_load_clock(struct etnaviv_gpu *gpu, u32 clock) in etnaviv_gpu_load_clock()
449 static void etnaviv_gpu_update_clock(struct etnaviv_gpu *gpu) in etnaviv_gpu_update_clock()
467 static int etnaviv_hw_reset(struct etnaviv_gpu *gpu) in etnaviv_hw_reset()
551 static void etnaviv_gpu_enable_mlcg(struct etnaviv_gpu *gpu) in etnaviv_gpu_enable_mlcg()
598 void etnaviv_gpu_start_fe(struct etnaviv_gpu *gpu, u32 address, u16 prefetch) in etnaviv_gpu_start_fe()
612 static void etnaviv_gpu_start_fe_idleloop(struct etnaviv_gpu *gpu) in etnaviv_gpu_start_fe_idleloop()
627 static void etnaviv_gpu_setup_pulse_eater(struct etnaviv_gpu *gpu) in etnaviv_gpu_setup_pulse_eater()
[all …]
Detnaviv_mmu.h17 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);
113 void etnaviv_iommu_restore(struct etnaviv_gpu *gpu,
Detnaviv_sched.h11 struct etnaviv_gpu;
19 int etnaviv_sched_init(struct etnaviv_gpu *gpu);
20 void etnaviv_sched_fini(struct etnaviv_gpu *gpu);
Detnaviv_perfmon.c18 u32 (*sample)(struct etnaviv_gpu *gpu,
39 static u32 perf_reg_read(struct etnaviv_gpu *gpu, in perf_reg_read()
48 static u32 pipe_reg_read(struct etnaviv_gpu *gpu, in pipe_reg_read()
72 static u32 hi_total_cycle_read(struct etnaviv_gpu *gpu, in hi_total_cycle_read()
86 static u32 hi_total_idle_cycle_read(struct etnaviv_gpu *gpu, in hi_total_idle_cycle_read()
426 int etnaviv_pm_query_dom(struct etnaviv_gpu *gpu, in etnaviv_pm_query_dom()
448 int etnaviv_pm_query_sig(struct etnaviv_gpu *gpu, in etnaviv_pm_query_sig()
492 void etnaviv_perfmon_process(struct etnaviv_gpu *gpu, in etnaviv_perfmon_process()
Detnaviv_drv.c37 struct etnaviv_gpu *g = priv->gpu[i]; in load_gpu()
67 struct etnaviv_gpu *gpu = priv->gpu[i]; in etnaviv_open()
93 struct etnaviv_gpu *gpu = priv->gpu[i]; in etnaviv_postclose()
129 static int etnaviv_mmu_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_mmu_show()
159 static void etnaviv_buffer_dump(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_buffer_dump()
180 static int etnaviv_ring_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_ring_show()
206 struct etnaviv_gpu *gpu; in show_each_gpu()
207 int (*show)(struct etnaviv_gpu *gpu, struct seq_file *m) = in show_each_gpu()
260 struct etnaviv_gpu *gpu; in etnaviv_ioctl_get_param()
358 struct etnaviv_gpu *gpu; in etnaviv_ioctl_wait_fence()
[all …]
Detnaviv_buffer.c88 static void etnaviv_cmd_select_pipe(struct etnaviv_gpu *gpu, in etnaviv_cmd_select_pipe()
114 static void etnaviv_buffer_dump(struct etnaviv_gpu *gpu, in etnaviv_buffer_dump()
150 static u32 etnaviv_buffer_reserve(struct etnaviv_gpu *gpu, in etnaviv_buffer_reserve()
161 u16 etnaviv_buffer_init(struct etnaviv_gpu *gpu) in etnaviv_buffer_init()
178 u16 etnaviv_buffer_config_mmuv2(struct etnaviv_gpu *gpu, u32 mtlb_addr, u32 safe_addr) in etnaviv_buffer_config_mmuv2()
213 u16 etnaviv_buffer_config_pta(struct etnaviv_gpu *gpu, unsigned short id) in etnaviv_buffer_config_pta()
231 void etnaviv_buffer_end(struct etnaviv_gpu *gpu) in etnaviv_buffer_end()
275 void etnaviv_sync_point_queue(struct etnaviv_gpu *gpu, unsigned int event) in etnaviv_sync_point_queue()
314 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, in etnaviv_buffer_queue()
Detnaviv_gem.h42 struct etnaviv_gpu *gpu; /* non-null if active */
96 struct etnaviv_gpu *gpu;
114 int etnaviv_gem_wait_bo(struct etnaviv_gpu *gpu, struct drm_gem_object *obj,
Detnaviv_sched.c88 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_sched_timedout_job()
181 int etnaviv_sched_init(struct etnaviv_gpu *gpu) in etnaviv_sched_init()
194 void etnaviv_sched_fini(struct etnaviv_gpu *gpu) in etnaviv_sched_fini()
Detnaviv_iommu_v2.c165 static void etnaviv_iommuv2_restore_nonsec(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore_nonsec()
185 static void etnaviv_iommuv2_restore_sec(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore_sec()
236 static void etnaviv_iommuv2_restore(struct etnaviv_gpu *gpu, in etnaviv_iommuv2_restore()
Detnaviv_cmd_parser.c16 struct etnaviv_gpu *gpu;
147 bool etnaviv_cmd_validate_one(struct etnaviv_gpu *gpu, u32 *stream, in etnaviv_cmd_validate_one()
DMakefile11 etnaviv_gpu.o \
Detnaviv_hwdb.c39 bool etnaviv_fill_identity_from_hwdb(struct etnaviv_gpu *gpu) in etnaviv_fill_identity_from_hwdb()
Detnaviv_dump.c82 struct etnaviv_gpu *gpu) in etnaviv_core_dump_registers()
115 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_core_dump()
Detnaviv_mmu.c350 void etnaviv_iommu_restore(struct etnaviv_gpu *gpu, in etnaviv_iommu_restore()
435 int etnaviv_iommu_global_init(struct etnaviv_gpu *gpu) in etnaviv_iommu_global_init()
496 void etnaviv_iommu_global_fini(struct etnaviv_gpu *gpu) in etnaviv_iommu_global_fini()
Detnaviv_iommu.c89 static void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu, in etnaviv_iommuv1_restore()
Detnaviv_gem_submit.c32 struct etnaviv_gpu *gpu, size_t nr_bos, size_t nr_pmrs) in submit_create()
434 struct etnaviv_gpu *gpu; in etnaviv_ioctl_gem_submit()
Detnaviv_gem.c433 int etnaviv_gem_wait_bo(struct etnaviv_gpu *gpu, struct drm_gem_object *obj, in etnaviv_gem_wait_bo()