/linux/drivers/gpu/drm/msm/ |
A D | msm_gpu.h | 46 int (*hw_init)(struct msm_gpu *gpu); 47 int (*pm_suspend)(struct msm_gpu *gpu); 48 int (*pm_resume)(struct msm_gpu *gpu); 51 irqreturn_t (*irq)(struct msm_gpu *irq); 53 void (*recover)(struct msm_gpu *gpu); 54 void (*destroy)(struct msm_gpu *gpu); 70 (struct msm_gpu *gpu); 124 struct msm_gpu { struct 507 int msm_gpu_hw_init(struct msm_gpu *gpu); 514 void msm_gpu_retire(struct msm_gpu *gpu); [all …]
|
A D | msm_gpu.c | 23 static int enable_pwrrail(struct msm_gpu *gpu) in enable_pwrrail() 56 static int enable_clk(struct msm_gpu *gpu) in enable_clk() 68 static int disable_clk(struct msm_gpu *gpu) in disable_clk() 86 static int enable_axi(struct msm_gpu *gpu) in enable_axi() 149 int msm_gpu_hw_init(struct msm_gpu *gpu) in msm_gpu_hw_init() 189 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_read() 224 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_free() 356 struct msm_gpu *gpu = container_of(work, struct msm_gpu, recover_work); in recover_worker() 452 struct msm_gpu *gpu = container_of(work, struct msm_gpu, fault_work); in fault_worker() 711 struct msm_gpu *gpu = container_of(work, struct msm_gpu, retire_work); in retire_worker() [all …]
|
A D | msm_gpu_devfreq.c | 20 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_target() 54 static unsigned long get_freq(struct msm_gpu *gpu) in get_freq() 68 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_get_dev_status() 98 void msm_devfreq_init(struct msm_gpu *gpu) in msm_devfreq_init() 140 void msm_devfreq_cleanup(struct msm_gpu *gpu) in msm_devfreq_cleanup() 145 void msm_devfreq_resume(struct msm_gpu *gpu) in msm_devfreq_resume() 153 void msm_devfreq_suspend(struct msm_gpu *gpu) in msm_devfreq_suspend() 158 void msm_devfreq_active(struct msm_gpu *gpu) in msm_devfreq_active() 208 struct msm_gpu *gpu = container_of(df, struct msm_gpu, devfreq); in msm_devfreq_idle_work() 228 void msm_devfreq_idle(struct msm_gpu *gpu) in msm_devfreq_idle()
|
A D | msm_ringbuffer.h | 39 struct msm_gpu *gpu; 75 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
|
A D | msm_debugfs.c | 29 struct msm_gpu *gpu = priv->gpu; in msm_gpu_show() 49 struct msm_gpu *gpu = priv->gpu; in msm_gpu_release() 64 struct msm_gpu *gpu = priv->gpu; in msm_gpu_open()
|
A D | msm_gpummu.c | 13 struct msm_gpu *gpu; 93 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu) in msm_gpummu_new()
|
A D | msm_ringbuffer.c | 17 struct msm_gpu *gpu = submit->gpu; in msm_job_run() 48 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
|
A D | msm_perf.c | 61 struct msm_gpu *gpu = priv->gpu; in refill_buf() 155 struct msm_gpu *gpu = priv->gpu; in perf_open()
|
A D | msm_mmu.h | 44 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
|
A D | msm_gem.h | 137 void msm_gem_active_get(struct drm_gem_object *obj, struct msm_gpu *gpu); 306 struct msm_gpu *gpu;
|
/linux/drivers/gpu/drm/msm/adreno/ |
A D | a5xx_gpu.h | 52 void a5xx_debugfs_init(struct msm_gpu *gpu, struct drm_minor *minor); 135 int a5xx_power_init(struct msm_gpu *gpu); 136 void a5xx_gpmu_ucode_init(struct msm_gpu *gpu); 138 static inline int spin_usecs(struct msm_gpu *gpu, uint32_t usecs, in spin_usecs() 154 bool a5xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring); 155 void a5xx_set_hwcg(struct msm_gpu *gpu, bool state); 157 void a5xx_preempt_init(struct msm_gpu *gpu); 158 void a5xx_preempt_hw_init(struct msm_gpu *gpu); 159 void a5xx_preempt_trigger(struct msm_gpu *gpu); 160 void a5xx_preempt_irq(struct msm_gpu *gpu); [all …]
|
A D | adreno_gpu.h | 69 struct msm_gpu *(*init)(struct drm_device *dev); 78 struct msm_gpu base; 282 int adreno_hw_init(struct msm_gpu *gpu); 283 void adreno_recover(struct msm_gpu *gpu); 290 void adreno_dump_info(struct msm_gpu *gpu); 291 void adreno_dump(struct msm_gpu *gpu); 315 adreno_iommu_create_address_space(struct msm_gpu *gpu, 380 struct msm_gpu *a2xx_gpu_init(struct drm_device *dev); 381 struct msm_gpu *a3xx_gpu_init(struct drm_device *dev); 382 struct msm_gpu *a4xx_gpu_init(struct drm_device *dev); [all …]
|
A D | a4xx_gpu.c | 22 static void a4xx_dump(struct msm_gpu *gpu); 23 static bool a4xx_idle(struct msm_gpu *gpu); 77 static void a4xx_enable_hwcg(struct msm_gpu *gpu) in a4xx_enable_hwcg() 157 static bool a4xx_me_init(struct msm_gpu *gpu) in a4xx_me_init() 184 static int a4xx_hw_init(struct msm_gpu *gpu) in a4xx_hw_init() 351 static void a4xx_recover(struct msm_gpu *gpu) in a4xx_recover() 372 static void a4xx_destroy(struct msm_gpu *gpu) in a4xx_destroy() 386 static bool a4xx_idle(struct msm_gpu *gpu) in a4xx_idle() 403 static irqreturn_t a4xx_irq(struct msm_gpu *gpu) in a4xx_irq() 566 static void a4xx_dump(struct msm_gpu *gpu) in a4xx_dump() [all …]
|
A D | a2xx_gpu.c | 10 static void a2xx_dump(struct msm_gpu *gpu); 11 static bool a2xx_idle(struct msm_gpu *gpu); 55 static bool a2xx_me_init(struct msm_gpu *gpu) in a2xx_me_init() 102 static int a2xx_hw_init(struct msm_gpu *gpu) in a2xx_hw_init() 248 static void a2xx_recover(struct msm_gpu *gpu) in a2xx_recover() 269 static void a2xx_destroy(struct msm_gpu *gpu) in a2xx_destroy() 281 static bool a2xx_idle(struct msm_gpu *gpu) in a2xx_idle() 299 static irqreturn_t a2xx_irq(struct msm_gpu *gpu) in a2xx_irq() 430 static void a2xx_dump(struct msm_gpu *gpu) in a2xx_dump() 497 struct msm_gpu *a2xx_gpu_init(struct drm_device *dev) in a2xx_gpu_init() [all …]
|
A D | a5xx_gpu.c | 17 static void a5xx_dump(struct msm_gpu *gpu); 468 static int a5xx_me_init(struct msm_gpu *gpu) in a5xx_me_init() 572 static int a5xx_ucode_init(struct msm_gpu *gpu) in a5xx_ucode_init() 664 static int a5xx_hw_init(struct msm_gpu *gpu) in a5xx_hw_init() 1004 static void a5xx_recover(struct msm_gpu *gpu) in a5xx_recover() 1024 static void a5xx_destroy(struct msm_gpu *gpu) in a5xx_destroy() 1099 struct msm_gpu *gpu = arg; in a5xx_fault_handler() 1324 static void a5xx_dump(struct msm_gpu *gpu) in a5xx_dump() 1331 static int a5xx_pm_resume(struct msm_gpu *gpu) in a5xx_pm_resume() 1377 static int a5xx_pm_suspend(struct msm_gpu *gpu) in a5xx_pm_suspend() [all …]
|
A D | a5xx_debugfs.c | 14 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 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() 79 struct msm_gpu *gpu = &a5xx_gpu->base.base; in a5xx_preempt_timer() 90 void a5xx_preempt_trigger(struct msm_gpu *gpu) in a5xx_preempt_trigger() 158 void a5xx_preempt_irq(struct msm_gpu *gpu) in a5xx_preempt_irq() 194 void a5xx_preempt_hw_init(struct msm_gpu *gpu) in a5xx_preempt_hw_init() 225 struct msm_gpu *gpu = &adreno_gpu->base; in preempt_init_ring() 268 void a5xx_preempt_fini(struct msm_gpu *gpu) in a5xx_preempt_fini() 280 void a5xx_preempt_init(struct msm_gpu *gpu) in a5xx_preempt_init()
|
A D | a3xx_gpu.c | 28 static void a3xx_dump(struct msm_gpu *gpu); 29 static bool a3xx_idle(struct msm_gpu *gpu); 86 static bool a3xx_me_init(struct msm_gpu *gpu) in a3xx_me_init() 113 static int a3xx_hw_init(struct msm_gpu *gpu) in a3xx_hw_init() 352 static void a3xx_recover(struct msm_gpu *gpu) in a3xx_recover() 373 static void a3xx_destroy(struct msm_gpu *gpu) in a3xx_destroy() 387 static bool a3xx_idle(struct msm_gpu *gpu) in a3xx_idle() 405 static irqreturn_t a3xx_irq(struct msm_gpu *gpu) in a3xx_irq() 460 static void a3xx_dump(struct msm_gpu *gpu) in a3xx_dump() 515 struct msm_gpu *a3xx_gpu_init(struct drm_device *dev) in a3xx_gpu_init() [all …]
|
A D | a6xx_gpu.c | 18 static inline bool _a6xx_check_idle(struct msm_gpu *gpu) in _a6xx_check_idle() 727 static int a6xx_cp_init(struct msm_gpu *gpu) in a6xx_cp_init() 764 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_ucode_check_version() 884 static int hw_init(struct msm_gpu *gpu) in hw_init() 1138 static int a6xx_hw_init(struct msm_gpu *gpu) in a6xx_hw_init() 1151 static void a6xx_dump(struct msm_gpu *gpu) in a6xx_dump() 1161 static void a6xx_recover(struct msm_gpu *gpu) in a6xx_recover() 1234 struct msm_gpu *gpu = arg; in a6xx_fault_handler() 1426 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_llc_activate() 1591 static void a6xx_destroy(struct msm_gpu *gpu) in a6xx_destroy() [all …]
|
A D | a5xx_power.c | 103 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 D | adreno_gpu.c | 171 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid) in adreno_zap_shader_load() 195 adreno_iommu_create_address_space(struct msm_gpu *gpu, in adreno_iommu_create_address_space() 406 int adreno_hw_init(struct msm_gpu *gpu) in adreno_hw_init() 438 struct msm_gpu *gpu = &adreno_gpu->base; in get_rptr() 443 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring() 448 void adreno_recover(struct msm_gpu *gpu) in adreno_recover() 751 void adreno_dump_info(struct msm_gpu *gpu) in adreno_dump_info() 774 void adreno_dump(struct msm_gpu *gpu) in adreno_dump() 847 struct msm_gpu *gpu) in adreno_get_pwrlevels() 929 struct msm_gpu *gpu = &adreno_gpu->base; in adreno_gpu_init() [all …]
|
A D | a6xx_gpu.h | 90 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp); 91 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu); 93 void a6xx_show(struct msm_gpu *gpu, struct msm_gpu_state *state, 96 struct msm_gpu_state *a6xx_gpu_state_get(struct msm_gpu *gpu);
|
A D | a6xx_gpu_state.c | 112 static int a6xx_crashdumper_init(struct msm_gpu *gpu, in a6xx_crashdumper_init() 125 static int a6xx_crashdumper_run(struct msm_gpu *gpu, in a6xx_crashdumper_run() 282 static void a6xx_get_debugbus_block(struct msm_gpu *gpu, in a6xx_get_debugbus_block() 318 static void a6xx_get_debugbus(struct msm_gpu *gpu, in a6xx_get_debugbus() 514 static void a6xx_get_cluster(struct msm_gpu *gpu, in a6xx_get_cluster() 563 static void a6xx_get_clusters(struct msm_gpu *gpu, in a6xx_get_clusters() 583 static void a6xx_get_shader_block(struct msm_gpu *gpu, in a6xx_get_shader_block() 614 static void a6xx_get_shaders(struct msm_gpu *gpu, in a6xx_get_shaders() 773 static void a6xx_get_gmu_registers(struct msm_gpu *gpu, in a6xx_get_gmu_registers() 804 static void a6xx_get_registers(struct msm_gpu *gpu, in a6xx_get_registers() [all …]
|
A D | adreno_device.c | 373 struct msm_gpu *adreno_load_gpu(struct drm_device *dev) in adreno_load_gpu() 377 struct msm_gpu *gpu = NULL; in adreno_load_gpu() 487 struct msm_gpu *gpu; in adreno_bind() 524 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_unbind() 594 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_resume() 601 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_suspend()
|
A D | a6xx_gmu.c | 21 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault() 105 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp) in a6xx_gmu_set_freq() 165 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu) in a6xx_gmu_get_freq() 888 static void a6xx_gmu_set_initial_freq(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_freq() 902 static void a6xx_gmu_set_initial_bw(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_bw() 918 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_resume() 1018 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_bus_clear_pending_transactions() 1103 struct msm_gpu *gpu = &a6xx_gpu->base.base; in a6xx_gmu_stop() 1309 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_rpmh_votes_init() 1359 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_pwrlevels_probe()
|