Home
last modified time | relevance | path

Searched refs:msm_gpu (Results 1 – 25 of 38) sorted by relevance

12

/drivers/gpu/drm/msm/
A Dmsm_gpu.h52 int (*hw_init)(struct msm_gpu *gpu);
57 int (*ucode_load)(struct msm_gpu *gpu);
59 int (*pm_suspend)(struct msm_gpu *gpu);
60 int (*pm_resume)(struct msm_gpu *gpu);
63 irqreturn_t (*irq)(struct msm_gpu *irq);
65 void (*recover)(struct msm_gpu *gpu);
66 void (*destroy)(struct msm_gpu *gpu);
173 struct msm_gpu { struct
702 int msm_gpu_hw_init(struct msm_gpu *gpu);
709 void msm_gpu_retire(struct msm_gpu *gpu);
[all …]
A Dmsm_gpu.c25 static int enable_pwrrail(struct msm_gpu *gpu) in enable_pwrrail()
58 static int enable_clk(struct msm_gpu *gpu) in enable_clk()
70 static int disable_clk(struct msm_gpu *gpu) in disable_clk()
88 static int enable_axi(struct msm_gpu *gpu) in enable_axi()
99 int msm_gpu_pm_resume(struct msm_gpu *gpu) in msm_gpu_pm_resume()
159 int msm_gpu_hw_init(struct msm_gpu *gpu) in msm_gpu_hw_init()
181 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_read()
216 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_free()
462 struct msm_gpu *gpu = container_of(work, struct msm_gpu, recover_work); in recover_worker()
846 struct msm_gpu *gpu = container_of(work, struct msm_gpu, retire_work); in retire_worker()
[all …]
A Dmsm_gpu_devfreq.c22 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_target()
59 static unsigned long get_freq(struct msm_gpu *gpu) in get_freq()
80 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_get_dev_status()
133 static bool has_devfreq(struct msm_gpu *gpu) in has_devfreq()
139 void msm_devfreq_init(struct msm_gpu *gpu) in msm_devfreq_init()
217 void msm_devfreq_cleanup(struct msm_gpu *gpu) in msm_devfreq_cleanup()
228 void msm_devfreq_resume(struct msm_gpu *gpu) in msm_devfreq_resume()
245 void msm_devfreq_suspend(struct msm_gpu *gpu) in msm_devfreq_suspend()
294 void msm_devfreq_active(struct msm_gpu *gpu) in msm_devfreq_active()
345 struct msm_gpu *gpu = container_of(df, struct msm_gpu, devfreq); in msm_devfreq_idle_work()
[all …]
A Dmsm_ringbuffer.h48 struct msm_gpu *gpu;
122 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
A Dmsm_mmu.h14 struct msm_gpu;
78 struct msm_mmu *msm_iommu_gpu_new(struct device *dev, struct msm_gpu *gpu, unsigned long quirks);
A Dmsm_ringbuffer.c18 struct msm_gpu *gpu = submit->gpu; in msm_job_run()
65 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
A Dmsm_debugfs.c37 struct msm_gpu *gpu = priv->gpu; in msm_gpu_show()
57 struct msm_gpu *gpu = priv->gpu; in msm_gpu_release()
72 struct msm_gpu *gpu = priv->gpu; in msm_gpu_open()
A Dmsm_perf.c61 struct msm_gpu *gpu = priv->gpu; in refill_buf()
155 struct msm_gpu *gpu = priv->gpu; in perf_open()
/drivers/gpu/drm/msm/adreno/
A Da5xx_gpu.h54 void a5xx_debugfs_init(struct msm_gpu *gpu, struct drm_minor *minor);
137 int a5xx_power_init(struct msm_gpu *gpu);
138 void a5xx_gpmu_ucode_init(struct msm_gpu *gpu);
140 static inline int spin_usecs(struct msm_gpu *gpu, uint32_t usecs, in spin_usecs()
156 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
157 void a5xx_set_hwcg(struct msm_gpu *gpu, bool state);
159 void a5xx_preempt_init(struct msm_gpu *gpu);
160 void a5xx_preempt_hw_init(struct msm_gpu *gpu);
161 void a5xx_preempt_trigger(struct msm_gpu *gpu);
162 void a5xx_preempt_irq(struct msm_gpu *gpu);
[all …]
A Dadreno_gpu.h103 struct msm_gpu *(*init)(struct drm_device *dev);
176 struct msm_gpu base;
552 u64 adreno_private_vm_size(struct msm_gpu *gpu);
561 int adreno_hw_init(struct msm_gpu *gpu);
562 void adreno_recover(struct msm_gpu *gpu);
569 void adreno_dump_info(struct msm_gpu *gpu);
570 void adreno_dump(struct msm_gpu *gpu);
596 adreno_create_vm(struct msm_gpu *gpu,
600 adreno_iommu_create_vm(struct msm_gpu *gpu,
675 struct msm_gpu *a2xx_gpu_init(struct drm_device *dev);
[all …]
A Da6xx_gpu.h258 void a6xx_preempt_init(struct msm_gpu *gpu);
259 void a6xx_preempt_hw_init(struct msm_gpu *gpu);
260 void a6xx_preempt_trigger(struct msm_gpu *gpu);
261 void a6xx_preempt_irq(struct msm_gpu *gpu);
262 void a6xx_preempt_fini(struct msm_gpu *gpu);
263 int a6xx_preempt_submitqueue_setup(struct msm_gpu *gpu,
265 void a6xx_preempt_submitqueue_close(struct msm_gpu *gpu,
288 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu);
290 void a6xx_show(struct msm_gpu *gpu, struct msm_gpu_state *state,
293 struct msm_gpu_state *a6xx_gpu_state_get(struct msm_gpu *gpu);
[all …]
A Da4xx_gpu.c22 static void a4xx_dump(struct msm_gpu *gpu);
23 static bool a4xx_idle(struct msm_gpu *gpu);
76 static void a4xx_enable_hwcg(struct msm_gpu *gpu) in a4xx_enable_hwcg()
156 static bool a4xx_me_init(struct msm_gpu *gpu) in a4xx_me_init()
183 static int a4xx_hw_init(struct msm_gpu *gpu) in a4xx_hw_init()
350 static void a4xx_recover(struct msm_gpu *gpu) in a4xx_recover()
371 static void a4xx_destroy(struct msm_gpu *gpu) in a4xx_destroy()
385 static bool a4xx_idle(struct msm_gpu *gpu) in a4xx_idle()
402 static irqreturn_t a4xx_irq(struct msm_gpu *gpu) in a4xx_irq()
565 static void a4xx_dump(struct msm_gpu *gpu) in a4xx_dump()
[all …]
A Da2xx_gpu.c10 static void a2xx_dump(struct msm_gpu *gpu);
11 static bool a2xx_idle(struct msm_gpu *gpu);
54 static bool a2xx_me_init(struct msm_gpu *gpu) in a2xx_me_init()
108 static int a2xx_hw_init(struct msm_gpu *gpu) in a2xx_hw_init()
266 static void a2xx_recover(struct msm_gpu *gpu) in a2xx_recover()
287 static void a2xx_destroy(struct msm_gpu *gpu) in a2xx_destroy()
299 static bool a2xx_idle(struct msm_gpu *gpu) in a2xx_idle()
317 static irqreturn_t a2xx_irq(struct msm_gpu *gpu) in a2xx_irq()
448 static void a2xx_dump(struct msm_gpu *gpu) in a2xx_dump()
515 struct msm_gpu *a2xx_gpu_init(struct drm_device *dev) in a2xx_gpu_init()
[all …]
A Da5xx_gpu.c17 static void a5xx_dump(struct msm_gpu *gpu);
477 static int a5xx_me_init(struct msm_gpu *gpu) in a5xx_me_init()
582 static int a5xx_ucode_load(struct msm_gpu *gpu) in a5xx_ucode_load()
695 static int a5xx_hw_init(struct msm_gpu *gpu) in a5xx_hw_init()
1015 static void a5xx_recover(struct msm_gpu *gpu) in a5xx_recover()
1035 static void a5xx_destroy(struct msm_gpu *gpu) in a5xx_destroy()
1110 struct msm_gpu *gpu = arg; in a5xx_fault_handler()
1346 static void a5xx_dump(struct msm_gpu *gpu) in a5xx_dump()
1353 static int a5xx_pm_resume(struct msm_gpu *gpu) in a5xx_pm_resume()
1399 static int a5xx_pm_suspend(struct msm_gpu *gpu) in a5xx_pm_suspend()
[all …]
A Da3xx_gpu.c28 static void a3xx_dump(struct msm_gpu *gpu);
29 static bool a3xx_idle(struct msm_gpu *gpu);
85 static bool a3xx_me_init(struct msm_gpu *gpu) in a3xx_me_init()
112 static int a3xx_hw_init(struct msm_gpu *gpu) in a3xx_hw_init()
366 static void a3xx_recover(struct msm_gpu *gpu) in a3xx_recover()
387 static void a3xx_destroy(struct msm_gpu *gpu) in a3xx_destroy()
401 static bool a3xx_idle(struct msm_gpu *gpu) in a3xx_idle()
419 static irqreturn_t a3xx_irq(struct msm_gpu *gpu) in a3xx_irq()
474 static void a3xx_dump(struct msm_gpu *gpu) in a3xx_dump()
541 struct msm_gpu *a3xx_gpu_init(struct drm_device *dev) in a3xx_gpu_init()
[all …]
A Da5xx_debugfs.c14 static void pfp_print(struct msm_gpu *gpu, struct drm_printer *p) in pfp_print()
27 static void me_print(struct msm_gpu *gpu, struct drm_printer *p) in me_print()
40 static void meq_print(struct msm_gpu *gpu, struct drm_printer *p) in meq_print()
53 static void roq_print(struct msm_gpu *gpu, struct drm_printer *p) in roq_print()
76 void (*show)(struct msm_gpu *gpu, struct drm_printer *p) = in show()
97 struct msm_gpu *gpu = priv->gpu; in reset_set()
144 void a5xx_debugfs_init(struct msm_gpu *gpu, struct drm_minor *minor) in a5xx_debugfs_init()
A Dadreno_device.c62 struct msm_gpu *adreno_load_gpu(struct drm_device *dev) in adreno_load_gpu()
66 struct msm_gpu *gpu = NULL; in adreno_load_gpu()
207 struct msm_gpu *gpu; in adreno_bind()
249 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_unbind()
299 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_runtime_resume()
306 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_runtime_suspend()
318 static void suspend_scheduler(struct msm_gpu *gpu) in suspend_scheduler()
340 static void resume_scheduler(struct msm_gpu *gpu) in resume_scheduler()
353 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_system_suspend()
380 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_system_resume()
A Da6xx_gpu.c803 static int a6xx_cp_init(struct msm_gpu *gpu) in a6xx_cp_init()
832 static int a7xx_cp_init(struct msm_gpu *gpu) in a7xx_cp_init()
891 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_ucode_check_version()
1064 static int hw_init(struct msm_gpu *gpu) in hw_init()
1435 static void a6xx_dump(struct msm_gpu *gpu) in a6xx_dump()
1635 struct msm_gpu *gpu = arg; in a6xx_fault_handler()
1805 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_llc_activate()
1865 struct msm_gpu *gpu = &adreno_gpu->base; in a7xx_llc_activate()
1934 struct msm_gpu *gpu = &adreno_gpu->base; in a7xx_cx_mem_init()
1989 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_bus_clear_pending_transactions()
[all …]
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()
84 struct msm_gpu *gpu = &a5xx_gpu->base.base; in a5xx_preempt_timer()
95 void a5xx_preempt_trigger(struct msm_gpu *gpu) in a5xx_preempt_trigger()
175 void a5xx_preempt_irq(struct msm_gpu *gpu) in a5xx_preempt_irq()
217 void a5xx_preempt_hw_init(struct msm_gpu *gpu) in a5xx_preempt_hw_init()
250 struct msm_gpu *gpu = &adreno_gpu->base; in preempt_init_ring()
292 void a5xx_preempt_fini(struct msm_gpu *gpu) in a5xx_preempt_fini()
304 void a5xx_preempt_init(struct msm_gpu *gpu) in a5xx_preempt_init()
A Dadreno_gpu.c195 adreno_create_vm(struct msm_gpu *gpu, in adreno_create_vm()
202 adreno_iommu_create_vm(struct msm_gpu *gpu, in adreno_iommu_create_vm()
266 struct msm_gpu *gpu = &adreno_gpu->base; in adreno_check_and_reenable_stall()
361 adreno_smmu_has_prr(struct msm_gpu *gpu) in adreno_smmu_has_prr()
655 int adreno_hw_init(struct msm_gpu *gpu) in adreno_hw_init()
697 struct msm_gpu *gpu = &adreno_gpu->base; in get_rptr()
707 void adreno_recover(struct msm_gpu *gpu) in adreno_recover()
1059 void adreno_dump(struct msm_gpu *gpu) in adreno_dump()
1100 struct msm_gpu *gpu) in adreno_get_pwrlevels()
1194 struct msm_gpu *gpu = &adreno_gpu->base; in adreno_gpu_init()
[all …]
A Da6xx_gpu_state.c131 static int a6xx_crashdumper_init(struct msm_gpu *gpu, in a6xx_crashdumper_init()
144 static int a6xx_crashdumper_run(struct msm_gpu *gpu, in a6xx_crashdumper_run()
430 static void a6xx_get_debugbus(struct msm_gpu *gpu, in a6xx_get_debugbus()
691 static void a6xx_get_cluster(struct msm_gpu *gpu, in a6xx_get_cluster()
751 static void a7xx_get_cluster(struct msm_gpu *gpu, in a7xx_get_cluster()
796 static void a6xx_get_clusters(struct msm_gpu *gpu, in a6xx_get_clusters()
815 static void a7xx_get_clusters(struct msm_gpu *gpu, in a7xx_get_clusters()
934 static void a6xx_get_shaders(struct msm_gpu *gpu, in a6xx_get_shaders()
953 static void a7xx_get_shaders(struct msm_gpu *gpu, in a7xx_get_shaders()
1291 static void a6xx_get_registers(struct msm_gpu *gpu, in a6xx_get_registers()
[all …]
A Da5xx_power.c103 static inline uint32_t _get_mvolts(struct msm_gpu *gpu, uint32_t freq) in _get_mvolts()
122 static void a530_lm_setup(struct msm_gpu *gpu) in a530_lm_setup()
175 static void a540_lm_setup(struct msm_gpu *gpu) in a540_lm_setup()
211 static void a5xx_pc_init(struct msm_gpu *gpu) in a5xx_pc_init()
220 static int a5xx_gpmu_init(struct msm_gpu *gpu) in a5xx_gpmu_init()
278 static void a5xx_lm_enable(struct msm_gpu *gpu) in a5xx_lm_enable()
295 int a5xx_power_init(struct msm_gpu *gpu) in a5xx_power_init()
324 void a5xx_gpmu_ucode_init(struct msm_gpu *gpu) in a5xx_gpmu_ucode_init()
A Da6xx_preempt.c44 static inline void update_wptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in update_wptr()
63 static struct msm_ringbuffer *get_next_ring(struct msm_gpu *gpu) in get_next_ring()
92 struct msm_gpu *gpu = &a6xx_gpu->base.base; in a6xx_preempt_timer()
139 void a6xx_preempt_irq(struct msm_gpu *gpu) in a6xx_preempt_irq()
188 void a6xx_preempt_hw_init(struct msm_gpu *gpu) in a6xx_preempt_hw_init()
224 void a6xx_preempt_trigger(struct msm_gpu *gpu) in a6xx_preempt_trigger()
338 struct msm_gpu *gpu = &adreno_gpu->base; in preempt_init_ring()
401 void a6xx_preempt_fini(struct msm_gpu *gpu) in a6xx_preempt_fini()
411 void a6xx_preempt_init(struct msm_gpu *gpu) in a6xx_preempt_init()
A Da2xx_gpummu.c16 struct msm_gpu *gpu;
94 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu) in a2xx_gpummu_new()
A Da6xx_gmu.c25 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault()
109 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp, in a6xx_gmu_set_freq()
205 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu) in a6xx_gmu_get_freq()
990 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_force_off()
1028 static void a6xx_gmu_set_initial_freq(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_freq()
1042 static void a6xx_gmu_set_initial_bw(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_bw()
1058 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_resume()
1228 struct msm_gpu *gpu = &a6xx_gpu->base.base; in a6xx_gmu_stop()
1543 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_rpmh_votes_init()
1630 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_pwrlevels_probe()
[all …]

Completed in 54 milliseconds

12