/drivers/gpu/drm/panfrost/ |
D | panfrost_gpu.h | 8 struct panfrost_device; 10 int panfrost_gpu_init(struct panfrost_device *pfdev); 11 void panfrost_gpu_fini(struct panfrost_device *pfdev); 13 u32 panfrost_gpu_get_latest_flush_id(struct panfrost_device *pfdev); 15 int panfrost_gpu_soft_reset(struct panfrost_device *pfdev); 16 void panfrost_gpu_power_on(struct panfrost_device *pfdev); 17 void panfrost_gpu_power_off(struct panfrost_device *pfdev); 19 void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev);
|
D | panfrost_device.h | 19 struct panfrost_device; 77 void (*vendor_quirk)(struct panfrost_device *pfdev); 80 struct panfrost_device { struct 127 struct panfrost_device *pfdev; argument 139 struct panfrost_device *pfdev; 146 static inline struct panfrost_device *to_panfrost_device(struct drm_device *ddev) in to_panfrost_device() 151 static inline int panfrost_model_cmp(struct panfrost_device *pfdev, s32 id) in panfrost_model_cmp() 160 static inline bool panfrost_model_is_bifrost(struct panfrost_device *pfdev) in panfrost_model_is_bifrost() 165 static inline bool panfrost_model_eq(struct panfrost_device *pfdev, s32 id) in panfrost_model_eq() 172 int panfrost_device_init(struct panfrost_device *pfdev); [all …]
|
D | panfrost_mmu.h | 14 int panfrost_mmu_init(struct panfrost_device *pfdev); 15 void panfrost_mmu_fini(struct panfrost_device *pfdev); 16 void panfrost_mmu_reset(struct panfrost_device *pfdev); 18 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu); 19 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu); 23 struct panfrost_mmu *panfrost_mmu_ctx_create(struct panfrost_device *pfdev);
|
D | panfrost_job.h | 10 struct panfrost_device; 19 struct panfrost_device *pfdev; 37 int panfrost_job_init(struct panfrost_device *pfdev); 38 void panfrost_job_fini(struct panfrost_device *pfdev); 44 void panfrost_job_enable_interrupts(struct panfrost_device *pfdev); 45 int panfrost_job_is_idle(struct panfrost_device *pfdev);
|
D | panfrost_device.c | 21 static int panfrost_reset_init(struct panfrost_device *pfdev) in panfrost_reset_init() 32 static void panfrost_reset_fini(struct panfrost_device *pfdev) in panfrost_reset_fini() 37 static int panfrost_clk_init(struct panfrost_device *pfdev) in panfrost_clk_init() 80 static void panfrost_clk_fini(struct panfrost_device *pfdev) in panfrost_clk_fini() 86 static int panfrost_regulator_init(struct panfrost_device *pfdev) in panfrost_regulator_init() 119 static void panfrost_regulator_fini(struct panfrost_device *pfdev) in panfrost_regulator_fini() 127 static void panfrost_pm_domain_fini(struct panfrost_device *pfdev) in panfrost_pm_domain_fini() 142 static int panfrost_pm_domain_init(struct panfrost_device *pfdev) in panfrost_pm_domain_init() 200 int panfrost_device_init(struct panfrost_device *pfdev) in panfrost_device_init() 282 void panfrost_device_fini(struct panfrost_device *pfdev) in panfrost_device_fini() [all …]
|
D | panfrost_devfreq.h | 14 struct panfrost_device; 33 int panfrost_devfreq_init(struct panfrost_device *pfdev); 34 void panfrost_devfreq_fini(struct panfrost_device *pfdev); 36 void panfrost_devfreq_resume(struct panfrost_device *pfdev); 37 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
|
D | panfrost_mmu.c | 29 static int wait_ready(struct panfrost_device *pfdev, u32 as_nr) in wait_ready() 48 static int write_cmd(struct panfrost_device *pfdev, u32 as_nr, u32 cmd) in write_cmd() 60 static void lock_region(struct panfrost_device *pfdev, u32 as_nr, in lock_region() 96 static int mmu_hw_do_operation_locked(struct panfrost_device *pfdev, int as_nr, in mmu_hw_do_operation_locked() 112 static int mmu_hw_do_operation(struct panfrost_device *pfdev, in mmu_hw_do_operation() 124 static void panfrost_mmu_enable(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_enable() 145 static void panfrost_mmu_disable(struct panfrost_device *pfdev, u32 as_nr) in panfrost_mmu_disable() 158 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_get() 224 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_put() 230 void panfrost_mmu_reset(struct panfrost_device *pfdev) in panfrost_mmu_reset() [all …]
|
D | panfrost_job.c | 88 static struct dma_fence *panfrost_fence_create(struct panfrost_device *pfdev, int js_num) in panfrost_fence_create() 128 static void panfrost_job_write_affinity(struct panfrost_device *pfdev, in panfrost_job_write_affinity() 157 panfrost_dequeue_job(struct panfrost_device *pfdev, int slot) in panfrost_dequeue_job() 169 panfrost_enqueue_job(struct panfrost_device *pfdev, int slot, in panfrost_enqueue_job() 189 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_hw_submit() 277 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_push() 360 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_run() 386 void panfrost_job_enable_interrupts(struct panfrost_device *pfdev) in panfrost_job_enable_interrupts() 399 static void panfrost_job_handle_err(struct panfrost_device *pfdev, in panfrost_job_handle_err() 453 static void panfrost_job_handle_done(struct panfrost_device *pfdev, in panfrost_job_handle_done() [all …]
|
D | panfrost_gem_shrinker.c | 21 struct panfrost_device *pfdev = in panfrost_gem_shrinker_count() 22 container_of(shrinker, struct panfrost_device, shrinker); in panfrost_gem_shrinker_count() 68 struct panfrost_device *pfdev = in panfrost_gem_shrinker_scan() 69 container_of(shrinker, struct panfrost_device, shrinker); in panfrost_gem_shrinker_scan() 102 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_shrinker_init() 117 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_shrinker_cleanup()
|
D | panfrost_perfcnt.h | 8 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev); 9 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev); 10 int panfrost_perfcnt_init(struct panfrost_device *pfdev); 11 void panfrost_perfcnt_fini(struct panfrost_device *pfdev);
|
D | panfrost_perfcnt.c | 38 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev) in panfrost_perfcnt_clean_cache_done() 43 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev) in panfrost_perfcnt_sample_done() 48 static int panfrost_perfcnt_dump_locked(struct panfrost_device *pfdev) in panfrost_perfcnt_dump_locked() 71 static int panfrost_perfcnt_enable_locked(struct panfrost_device *pfdev, in panfrost_perfcnt_enable_locked() 180 static int panfrost_perfcnt_disable_locked(struct panfrost_device *pfdev, in panfrost_perfcnt_disable_locked() 213 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_perfcnt_enable() 240 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_perfcnt_dump() 272 struct panfrost_device *pfdev = pfile->pfdev; in panfrost_perfcnt_close() 284 int panfrost_perfcnt_init(struct panfrost_device *pfdev) in panfrost_perfcnt_init() 340 void panfrost_perfcnt_fini(struct panfrost_device *pfdev) in panfrost_perfcnt_fini()
|
D | panfrost_gpu.c | 24 struct panfrost_device *pfdev = data; in panfrost_gpu_irq_handler() 56 int panfrost_gpu_soft_reset(struct panfrost_device *pfdev) in panfrost_gpu_soft_reset() 84 void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev) in panfrost_gpu_amlogic_quirk() 95 static void panfrost_gpu_init_quirks(struct panfrost_device *pfdev) in panfrost_gpu_init_quirks() 222 static void panfrost_gpu_init_features(struct panfrost_device *pfdev) in panfrost_gpu_init_features() 329 static u64 panfrost_get_core_mask(struct panfrost_device *pfdev) in panfrost_get_core_mask() 352 void panfrost_gpu_power_on(struct panfrost_device *pfdev) in panfrost_gpu_power_on() 383 void panfrost_gpu_power_off(struct panfrost_device *pfdev) in panfrost_gpu_power_off() 407 int panfrost_gpu_init(struct panfrost_device *pfdev) in panfrost_gpu_init() 440 void panfrost_gpu_fini(struct panfrost_device *pfdev) in panfrost_gpu_fini() [all …]
|
D | panfrost_devfreq.c | 52 struct panfrost_device *pfdev = dev_get_drvdata(dev); in panfrost_devfreq_get_dev_status() 111 int panfrost_devfreq_init(struct panfrost_device *pfdev) in panfrost_devfreq_init() 202 void panfrost_devfreq_fini(struct panfrost_device *pfdev) in panfrost_devfreq_fini() 212 void panfrost_devfreq_resume(struct panfrost_device *pfdev) in panfrost_devfreq_resume() 224 void panfrost_devfreq_suspend(struct panfrost_device *pfdev) in panfrost_devfreq_suspend()
|
D | panfrost_drv.c | 30 struct panfrost_device *pfdev = ddev->dev_private; in panfrost_ioctl_get_param() 238 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_submit() 398 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_madvise() 470 struct panfrost_device *pfdev = dev->dev_private; in panfrost_open() 553 struct panfrost_device *pfdev; in panfrost_probe() 619 struct panfrost_device *pfdev = platform_get_drvdata(pdev); in panfrost_remove()
|
D | Makefile | 5 panfrost_device.o \
|
D | panfrost_dump.c | 77 struct panfrost_device *pfdev, in panfrost_core_dump_registers() 105 struct panfrost_device *pfdev = job->pfdev; in panfrost_core_dump()
|
D | panfrost_gem.c | 20 struct panfrost_device *pfdev = obj->dev->dev_private; in panfrost_gem_free_object() 222 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_create_object()
|
D | panfrost_features.h | 121 static inline bool panfrost_has_hw_feature(struct panfrost_device *pfdev, in panfrost_has_hw_feature()
|
D | panfrost_issues.h | 268 static inline bool panfrost_has_hw_issue(const struct panfrost_device *pfdev, in panfrost_has_hw_issue()
|