| /Linux-v5.10/drivers/gpu/drm/msm/ |
| D | msm_gpu.h | 45 int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value); 46 int (*hw_init)(struct msm_gpu *gpu); 47 int (*pm_suspend)(struct msm_gpu *gpu); 48 int (*pm_resume)(struct msm_gpu *gpu); 49 void (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit); 50 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring); 51 irqreturn_t (*irq)(struct msm_gpu *irq); 52 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu); 53 void (*recover)(struct msm_gpu *gpu); 54 void (*destroy)(struct msm_gpu *gpu); [all …]
|
| D | msm_gpu.c | 27 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_target() 50 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_get_dev_status() 69 struct msm_gpu *gpu = dev_to_gpu(dev); in msm_devfreq_get_cur_freq() 86 static void msm_devfreq_init(struct msm_gpu *gpu) in msm_devfreq_init() 115 static int enable_pwrrail(struct msm_gpu *gpu) in enable_pwrrail() 139 static int disable_pwrrail(struct msm_gpu *gpu) in disable_pwrrail() 148 static int enable_clk(struct msm_gpu *gpu) in enable_clk() 160 static int disable_clk(struct msm_gpu *gpu) in disable_clk() 178 static int enable_axi(struct msm_gpu *gpu) in enable_axi() 185 static int disable_axi(struct msm_gpu *gpu) in disable_axi() [all …]
|
| 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() 114 struct msm_gpu *gpu = priv->gpu; in msm_gem_show()
|
| D | msm_ringbuffer.h | 38 struct msm_gpu *gpu; 52 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
|
| D | msm_gem.h | 67 struct msm_gpu *gpu; /* non-null if active */ 140 struct msm_gpu *gpu;
|
| D | msm_gpummu.c | 13 struct msm_gpu *gpu; 88 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu) in msm_gpummu_new()
|
| D | msm_perf.c | 61 struct msm_gpu *gpu = priv->gpu; in refill_buf() 155 struct msm_gpu *gpu = priv->gpu; in perf_open()
|
| D | msm_mmu.h | 43 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
|
| D | msm_ringbuffer.c | 10 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, in msm_ringbuffer_new()
|
| D | msm_drv.h | 37 struct msm_gpu; 166 struct msm_gpu *gpu; 312 void msm_gem_active_get(struct drm_gem_object *obj, struct msm_gpu *gpu);
|
| /Linux-v5.10/drivers/gpu/drm/msm/adreno/ |
| 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 …]
|
| D | adreno_gpu.h | 49 int (*get_timestamp)(struct msm_gpu *gpu, uint64_t *value); 66 struct msm_gpu *(*init)(struct drm_device *dev); 75 struct msm_gpu base; 234 int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value); 237 struct drm_gem_object *adreno_fw_create_bo(struct msm_gpu *gpu, 239 int adreno_hw_init(struct msm_gpu *gpu); 240 void adreno_recover(struct msm_gpu *gpu); 241 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg); 242 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring); 244 void adreno_show(struct msm_gpu *gpu, struct msm_gpu_state *state, [all …]
|
| D | a2xx_gpu.c | 10 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() 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() [all …]
|
| D | a4xx_gpu.c | 22 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() 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() [all …]
|
| D | a5xx_gpu.c | 17 static void a5xx_dump(struct msm_gpu *gpu); 21 void a5xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in a5xx_flush() 57 static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a5xx_submit_in_rb() 116 static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a5xx_submit() 323 void a5xx_set_hwcg(struct msm_gpu *gpu, bool state) in a5xx_set_hwcg() 341 static int a5xx_me_init(struct msm_gpu *gpu) in a5xx_me_init() 382 static int a5xx_preempt_start(struct msm_gpu *gpu) in a5xx_preempt_start() 445 static int a5xx_ucode_init(struct msm_gpu *gpu) in a5xx_ucode_init() 494 static int a5xx_zap_shader_resume(struct msm_gpu *gpu) in a5xx_zap_shader_resume() 506 static int a5xx_zap_shader_init(struct msm_gpu *gpu) in a5xx_zap_shader_init() [all …]
|
| 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()
|
| D | a3xx_gpu.c | 28 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() 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() [all …]
|
| 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() 91 void a5xx_preempt_trigger(struct msm_gpu *gpu) in a5xx_preempt_trigger() 159 void a5xx_preempt_irq(struct msm_gpu *gpu) in a5xx_preempt_irq() 196 void a5xx_preempt_hw_init(struct msm_gpu *gpu) in a5xx_preempt_hw_init() 227 struct msm_gpu *gpu = &adreno_gpu->base; in preempt_init_ring() 270 void a5xx_preempt_fini(struct msm_gpu *gpu) in a5xx_preempt_fini() 283 void a5xx_preempt_init(struct msm_gpu *gpu) in a5xx_preempt_init()
|
| D | a6xx_gpu.c | 15 static inline bool _a6xx_check_idle(struct msm_gpu *gpu) in _a6xx_check_idle() 33 bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_idle() 52 static void a6xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in a6xx_flush() 138 static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in a6xx_submit() 427 static void a6xx_set_hwcg(struct msm_gpu *gpu, bool state) in a6xx_set_hwcg() 462 static void a6xx_set_ubwc_config(struct msm_gpu *gpu) in a6xx_set_ubwc_config() 493 static int a6xx_cp_init(struct msm_gpu *gpu) in a6xx_cp_init() 546 static int a6xx_ucode_init(struct msm_gpu *gpu) in a6xx_ucode_init() 575 static int a6xx_zap_shader_init(struct msm_gpu *gpu) in a6xx_zap_shader_init() 601 static int a6xx_hw_init(struct msm_gpu *gpu) in a6xx_hw_init() [all …]
|
| D | a6xx_gpu.h | 76 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp); 77 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu); 79 void a6xx_show(struct msm_gpu *gpu, struct msm_gpu_state *state, 82 struct msm_gpu_state *a6xx_gpu_state_get(struct msm_gpu *gpu);
|
| 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()
|
| D | adreno_gpu.c | 24 static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname, in zap_shader_load_mdt() 170 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid) in adreno_zap_shader_load() 189 adreno_iommu_create_address_space(struct msm_gpu *gpu, in adreno_iommu_create_address_space() 220 int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value) in adreno_get_param() 374 struct drm_gem_object *adreno_fw_create_bo(struct msm_gpu *gpu, in adreno_fw_create_bo() 393 int adreno_hw_init(struct msm_gpu *gpu) in adreno_hw_init() 425 struct msm_gpu *gpu = &adreno_gpu->base; in get_rptr() 430 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu) in adreno_active_ring() 435 void adreno_recover(struct msm_gpu *gpu) in adreno_recover() 453 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg) in adreno_flush() [all …]
|
| 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() 156 static int debugbus_read(struct msm_gpu *gpu, u32 block, u32 offset, in debugbus_read() 204 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read() 228 static void a6xx_get_vbif_debugbus_block(struct msm_gpu *gpu, in a6xx_get_vbif_debugbus_block() 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() 446 static void a6xx_get_dbgahb_cluster(struct msm_gpu *gpu, in a6xx_get_dbgahb_cluster() 492 static void a6xx_get_dbgahb_clusters(struct msm_gpu *gpu, in a6xx_get_dbgahb_clusters() 514 static void a6xx_get_cluster(struct msm_gpu *gpu, in a6xx_get_cluster() [all …]
|
| D | adreno_device.c | 276 struct msm_gpu *adreno_load_gpu(struct drm_device *dev) in adreno_load_gpu() 280 struct msm_gpu *gpu = NULL; in adreno_load_gpu() 390 struct msm_gpu *gpu; in adreno_bind() 426 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_unbind() 491 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_resume() 498 struct msm_gpu *gpu = dev_to_gpu(dev); in adreno_suspend()
|
| D | a6xx_gmu.c | 21 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault() 107 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp) in a6xx_gmu_set_freq() 167 unsigned long a6xx_gmu_get_freq(struct msm_gpu *gpu) in a6xx_gmu_get_freq() 848 static void a6xx_gmu_set_initial_freq(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_freq() 862 static void a6xx_gmu_set_initial_bw(struct msm_gpu *gpu, struct a6xx_gmu *gmu) in a6xx_gmu_set_initial_bw() 878 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_resume() 977 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_bus_clear_pending_transactions() 1062 struct msm_gpu *gpu = &a6xx_gpu->base.base; in a6xx_gmu_stop() 1268 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_rpmh_votes_init() 1318 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_pwrlevels_probe()
|