Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_gpu.h47 int (*get_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
49 int (*set_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
51 int (*hw_init)(struct msm_gpu *gpu);
56 int (*ucode_load)(struct msm_gpu *gpu);
58 int (*pm_suspend)(struct msm_gpu *gpu);
59 int (*pm_resume)(struct msm_gpu *gpu);
60 void (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit);
61 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
62 irqreturn_t (*irq)(struct msm_gpu *irq);
63 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
[all …]
Dmsm_gpu.c25 static int enable_pwrrail(struct msm_gpu *gpu) in enable_pwrrail()
49 static int disable_pwrrail(struct msm_gpu *gpu) in disable_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()
93 static int disable_axi(struct msm_gpu *gpu) in disable_axi()
99 int msm_gpu_pm_resume(struct msm_gpu *gpu) in msm_gpu_pm_resume()
125 int msm_gpu_pm_suspend(struct msm_gpu *gpu) in msm_gpu_pm_suspend()
151 void msm_gpu_show_fdinfo(struct msm_gpu *gpu, struct msm_file_private *ctx, in msm_gpu_show_fdinfo()
159 int msm_gpu_hw_init(struct msm_gpu *gpu) in msm_gpu_hw_init()
[all …]
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()
211 void msm_devfreq_cleanup(struct msm_gpu *gpu) in msm_devfreq_cleanup()
222 void msm_devfreq_resume(struct msm_gpu *gpu) in msm_devfreq_resume()
239 void msm_devfreq_suspend(struct msm_gpu *gpu) in msm_devfreq_suspend()
264 void msm_devfreq_boost(struct msm_gpu *gpu, unsigned factor) in msm_devfreq_boost()
288 void msm_devfreq_active(struct msm_gpu *gpu) in msm_devfreq_active()
[all …]
Dmsm_ringbuffer.h46 struct msm_gpu *gpu;
104 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
Dmsm_ringbuffer.c18 struct msm_gpu *gpu = submit->gpu; in msm_job_run()
59 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
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()
Dmsm_perf.c61 struct msm_gpu *gpu = priv->gpu; in refill_buf()
155 struct msm_gpu *gpu = priv->gpu; in perf_open()
Dmsm_mmu.h44 struct msm_mmu *msm_iommu_gpu_new(struct device *dev, struct msm_gpu *gpu, unsigned long quirks);
/linux-6.12.1/drivers/gpu/drm/msm/adreno/
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 …]
Dadreno_gpu.h72 int (*get_timestamp)(struct msm_gpu *gpu, uint64_t *value);
100 struct msm_gpu *(*init)(struct drm_device *dev);
160 struct msm_gpu base;
549 u64 adreno_private_address_space_size(struct msm_gpu *gpu);
550 int adreno_get_param(struct msm_gpu *gpu, struct msm_file_private *ctx,
552 int adreno_set_param(struct msm_gpu *gpu, struct msm_file_private *ctx,
556 struct drm_gem_object *adreno_fw_create_bo(struct msm_gpu *gpu,
558 int adreno_hw_init(struct msm_gpu *gpu);
559 void adreno_recover(struct msm_gpu *gpu);
560 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg);
[all …]
Da4xx_gpu.c22 static void a4xx_dump(struct msm_gpu *gpu);
23 static bool a4xx_idle(struct msm_gpu *gpu);
25 static void a4xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a4xx_submit()
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()
[all …]
Da2xx_gpu.c10 static void a2xx_dump(struct msm_gpu *gpu);
11 static bool a2xx_idle(struct msm_gpu *gpu);
13 static void a2xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a2xx_submit()
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()
[all …]
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()
Da5xx_gpu.c17 static void a5xx_dump(struct msm_gpu *gpu);
21 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()
66 static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a5xx_submit_in_rb()
127 static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a5xx_submit()
444 void a5xx_set_hwcg(struct msm_gpu *gpu, bool state) in a5xx_set_hwcg()
475 static int a5xx_me_init(struct msm_gpu *gpu) in a5xx_me_init()
517 static int a5xx_preempt_start(struct msm_gpu *gpu) in a5xx_preempt_start()
580 static int a5xx_ucode_load(struct msm_gpu *gpu) in a5xx_ucode_load()
642 static int a5xx_zap_shader_resume(struct msm_gpu *gpu) in a5xx_zap_shader_resume()
[all …]
Da3xx_gpu.c28 static void a3xx_dump(struct msm_gpu *gpu);
29 static bool a3xx_idle(struct msm_gpu *gpu);
31 static void a3xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a3xx_submit()
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()
[all …]
Dadreno_device.c58 struct msm_gpu *adreno_load_gpu(struct drm_device *dev) in adreno_load_gpu()
62 struct msm_gpu *gpu = NULL; in adreno_load_gpu()
183 struct msm_gpu *gpu; in adreno_bind()
226 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_unbind()
295 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_runtime_resume()
302 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_runtime_suspend()
314 static void suspend_scheduler(struct msm_gpu *gpu) in suspend_scheduler()
336 static void resume_scheduler(struct msm_gpu *gpu) in resume_scheduler()
349 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_system_suspend()
376 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_system_resume()
Da6xx_gpu.h111 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp,
113 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu);
115 void a6xx_show(struct msm_gpu *gpu, struct msm_gpu_state *state,
118 struct msm_gpu_state *a6xx_gpu_state_get(struct msm_gpu *gpu);
122 void a6xx_gpu_sw_reset(struct msm_gpu *gpu, bool assert);
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()
83 struct msm_gpu *gpu = &a5xx_gpu->base.base; in a5xx_preempt_timer()
94 void a5xx_preempt_trigger(struct msm_gpu *gpu) in a5xx_preempt_trigger()
174 void a5xx_preempt_irq(struct msm_gpu *gpu) in a5xx_preempt_irq()
216 void a5xx_preempt_hw_init(struct msm_gpu *gpu) in a5xx_preempt_hw_init()
249 struct msm_gpu *gpu = &adreno_gpu->base; in preempt_init_ring()
291 void a5xx_preempt_fini(struct msm_gpu *gpu) in a5xx_preempt_fini()
303 void a5xx_preempt_init(struct msm_gpu *gpu) in a5xx_preempt_init()
Da6xx_gpu.c19 static inline bool _a6xx_check_idle(struct msm_gpu *gpu) in _a6xx_check_idle()
37 static bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_idle()
56 static void update_shadow_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in update_shadow_rptr()
69 static void a6xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_flush()
198 static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a6xx_submit()
281 static void a7xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a7xx_submit()
408 static void a6xx_set_hwcg(struct msm_gpu *gpu, bool state) in a6xx_set_hwcg()
479 static void a6xx_set_cp_protect(struct msm_gpu *gpu) in a6xx_set_cp_protect()
568 static void a6xx_set_ubwc_config(struct msm_gpu *gpu) in a6xx_set_ubwc_config()
612 static int a6xx_cp_init(struct msm_gpu *gpu) in a6xx_cp_init()
[all …]
Dadreno_gpu.c30 static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname, in zap_shader_load_mdt()
176 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid) in adreno_zap_shader_load()
195 adreno_create_address_space(struct msm_gpu *gpu, in adreno_create_address_space()
202 adreno_iommu_create_address_space(struct msm_gpu *gpu, in adreno_iommu_create_address_space()
236 u64 adreno_private_address_space_size(struct msm_gpu *gpu) in adreno_private_address_space_size()
253 int adreno_fault_handler(struct msm_gpu *gpu, unsigned long iova, int flags, in adreno_fault_handler()
309 int adreno_get_param(struct msm_gpu *gpu, struct msm_file_private *ctx, in adreno_get_param()
394 int adreno_set_param(struct msm_gpu *gpu, struct msm_file_private *ctx, in adreno_set_param()
554 struct drm_gem_object *adreno_fw_create_bo(struct msm_gpu *gpu, in adreno_fw_create_bo()
573 int adreno_hw_init(struct msm_gpu *gpu) in adreno_hw_init()
[all …]
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()
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()
174 static int debugbus_read(struct msm_gpu *gpu, u32 block, u32 offset, in debugbus_read()
222 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read()
246 static void a6xx_get_vbif_debugbus_block(struct msm_gpu *gpu, in a6xx_get_vbif_debugbus_block()
300 static void a6xx_get_debugbus_block(struct msm_gpu *gpu, in a6xx_get_debugbus_block()
336 static void a6xx_get_debugbus_blocks(struct msm_gpu *gpu, in a6xx_get_debugbus_blocks()
383 static void a7xx_get_debugbus_blocks(struct msm_gpu *gpu, in a7xx_get_debugbus_blocks()
430 static void a6xx_get_debugbus(struct msm_gpu *gpu, in a6xx_get_debugbus()
545 static void a6xx_get_dbgahb_cluster(struct msm_gpu *gpu, in a6xx_get_dbgahb_cluster()
[all …]
Da2xx_gpummu.c16 struct msm_gpu *gpu;
96 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu) in a2xx_gpummu_new()
Da2xx_gpu.h22 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu);
Da6xx_gmu.c24 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault()
108 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp, in a6xx_gmu_set_freq()
169 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu) in a6xx_gmu_get_freq()
947 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_force_off()
985 static void a6xx_gmu_set_initial_freq(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_freq()
999 static void a6xx_gmu_set_initial_bw(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_bw()
1015 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_resume()
1187 struct msm_gpu *gpu = &a6xx_gpu->base.base; in a6xx_gmu_stop()
1399 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_rpmh_votes_init()
1449 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_pwrlevels_probe()

12