| /linux/drivers/gpu/drm/v3d/ |
| A D | v3d_gem.c | 28 if (v3d->ver < 40) in v3d_init_core() 61 if (v3d->ver >= 41) in v3d_idle_gca() 99 if (v3d->reset) in v3d_reset_v3d() 121 v3d_idle_gca(v3d); in v3d_reset() 122 v3d_reset_v3d(v3d); in v3d_reset() 127 v3d_perfmon_stop(v3d, v3d->active_perfmon, false); in v3d_reset() 154 if (v3d->ver > 32) in v3d_invalidate_l2c() 278 v3d->pt = dma_alloc_wc(v3d->drm.dev, pt_size, in v3d_gem_init() 281 if (!v3d->pt) { in v3d_gem_init() 294 dma_free_coherent(v3d->drm.dev, 4096 * 1024, (void *)v3d->pt, in v3d_gem_init() [all …]
|
| A D | v3d_irq.c | 41 struct v3d_dev *v3d = in v3d_overflow_mem_work() local 64 if (!v3d->bin_job) { in v3d_overflow_mem_work() 83 struct v3d_dev *v3d = arg; in v3d_irq() local 150 struct v3d_dev *v3d = arg; in v3d_hub_irq() local 174 (v3d->va_width - 32)); in v3d_hub_irq() 189 if (v3d->ver >= 41) { in v3d_hub_irq() 234 "v3d_core0", v3d); in v3d_irq_init() 240 "v3d_hub", v3d); in v3d_irq_init() 249 "v3d", v3d); in v3d_irq_init() 254 v3d_irq_enable(v3d); in v3d_irq_init() [all …]
|
| A D | v3d_sched.c | 133 struct v3d_dev *v3d = job->v3d; in v3d_job_start_stats() local 165 struct v3d_dev *v3d = job->v3d; in v3d_job_update_stats() local 180 struct v3d_dev *v3d = job->base.v3d; in v3d_bin_job_run() local 236 struct v3d_dev *v3d = job->base.v3d; in v3d_render_job_run() local 282 struct v3d_dev *v3d = job->base.v3d; in v3d_tfu_job_run() local 323 struct v3d_dev *v3d = job->base.v3d; in v3d_csd_job_run() local 503 struct v3d_dev *v3d = job->base.v3d; in v3d_reset_performance_queries() local 535 struct v3d_dev *v3d = job->base.v3d; in v3d_write_performance_query_result() local 613 struct v3d_dev *v3d = job->base.v3d; in v3d_cpu_job_run() local 637 struct v3d_dev *v3d = job->v3d; in v3d_cache_clean_job_run() local [all …]
|
| A D | v3d_drv.c | 118 v3d_priv->v3d = v3d; in v3d_open() 274 if (IS_ERR(v3d)) in v3d_platform_drm_probe() 277 drm = &v3d->drm; in v3d_platform_drm_probe() 281 ret = map_regs(v3d, &v3d->hub_regs, "hub"); in v3d_platform_drm_probe() 285 ret = map_regs(v3d, &v3d->core_regs[0], "core0"); in v3d_platform_drm_probe() 315 v3d->reset = NULL; in v3d_platform_drm_probe() 316 ret = map_regs(v3d, &v3d->bridge_regs, "bridge"); in v3d_platform_drm_probe() 325 ret = map_regs(v3d, &v3d->gca_regs, "gca"); in v3d_platform_drm_probe() 330 v3d->mmu_scratch = dma_alloc_wc(dev, 4096, &v3d->mmu_scratch_paddr, in v3d_platform_drm_probe() 362 dma_free_wc(dev, 4096, v3d->mmu_scratch, v3d->mmu_scratch_paddr); in v3d_platform_drm_probe() [all …]
|
| A D | v3d_mmu.c | 31 static int v3d_mmu_flush_all(struct v3d_dev *v3d) in v3d_mmu_flush_all() argument 65 int v3d_mmu_set_page_table(struct v3d_dev *v3d) in v3d_mmu_set_page_table() argument 78 (v3d->mmu_scratch_paddr >> V3D_MMU_PAGE_SHIFT) | in v3d_mmu_set_page_table() 82 return v3d_mmu_flush_all(v3d); in v3d_mmu_set_page_table() 102 v3d->pt[page++] = pte + i; in v3d_mmu_insert_ptes() 108 if (v3d_mmu_flush_all(v3d)) in v3d_mmu_insert_ptes() 109 dev_err(v3d->drm.dev, "MMU flush timeout\n"); in v3d_mmu_insert_ptes() 114 struct v3d_dev *v3d = to_v3d_dev(bo->base.base.dev); in v3d_mmu_remove_ptes() local 119 v3d->pt[page] = 0; in v3d_mmu_remove_ptes() 121 if (v3d_mmu_flush_all(v3d)) in v3d_mmu_remove_ptes() [all …]
|
| A D | v3d_perfmon.c | 203 if (v3d->ver >= 71) { in v3d_perfmon_init() 206 } else if (v3d->ver >= 42) { in v3d_perfmon_init() 211 v3d->perfmon_info.max_counters = max; in v3d_perfmon_init() 261 v3d->active_perfmon = perfmon; in v3d_perfmon_start() 269 if (!perfmon || !v3d->active_perfmon) in v3d_perfmon_stop() 273 if (perfmon != v3d->active_perfmon) { in v3d_perfmon_stop() 284 v3d->active_perfmon = NULL; in v3d_perfmon_stop() 312 if (perfmon == v3d->active_perfmon) in v3d_perfmon_idr_del() 322 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_perfmon_close_file() local 336 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_perfmon_create_ioctl() local [all …]
|
| A D | v3d_debugfs.c | 104 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs() 113 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs() 123 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs() 133 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs() 167 if (v3d->ver <= 42) { in v3d_v3d_debugfs_ident() 199 if (v3d->ver <= 42) { in v3d_v3d_debugfs_ident() 203 if (v3d->ver < 40) { in v3d_v3d_debugfs_ident() 218 mutex_lock(&v3d->bo_lock); in v3d_debugfs_bo_stats() 237 if (v3d->ver >= 40) { in v3d_measure_clock() 270 spin_lock(&v3d->mm_lock); in v3d_debugfs_mm() [all …]
|
| A D | v3d_drv.h | 191 v3d_has_csd(struct v3d_dev *v3d) in v3d_has_csd() argument 193 return v3d->ver >= 41; in v3d_has_csd() 196 #define v3d_to_pdev(v3d) to_platform_device((v3d)->drm.dev) argument 200 struct v3d_dev *v3d; member 263 struct v3d_dev *v3d; member 533 void v3d_reset(struct v3d_dev *v3d); 550 int v3d_irq_init(struct v3d_dev *v3d); 551 void v3d_irq_enable(struct v3d_dev *v3d); 553 void v3d_irq_reset(struct v3d_dev *v3d); 566 int v3d_sched_init(struct v3d_dev *v3d); [all …]
|
| A D | v3d_bo.c | 45 struct v3d_dev *v3d = to_v3d_dev(obj->dev); in v3d_free_object() local 53 mutex_lock(&v3d->bo_lock); in v3d_free_object() 54 v3d->bo_stats.num_allocated--; in v3d_free_object() 56 mutex_unlock(&v3d->bo_lock); in v3d_free_object() 58 spin_lock(&v3d->mm_lock); in v3d_free_object() 60 spin_unlock(&v3d->mm_lock); in v3d_free_object() 119 spin_lock(&v3d->mm_lock); in v3d_bo_create_finish() 127 spin_unlock(&v3d->mm_lock); in v3d_bo_create_finish() 132 mutex_lock(&v3d->bo_lock); in v3d_bo_create_finish() 133 v3d->bo_stats.num_allocated++; in v3d_bo_create_finish() [all …]
|
| A D | v3d_fence.c | 6 struct dma_fence *v3d_fence_create(struct v3d_dev *v3d, enum v3d_queue queue) in v3d_fence_create() argument 14 fence->dev = &v3d->drm; in v3d_fence_create() 16 fence->seqno = ++v3d->queue[queue].emit_seqno; in v3d_fence_create() 17 dma_fence_init(&fence->base, &v3d_fence_ops, &v3d->job_lock, in v3d_fence_create() 18 v3d->queue[queue].fence_context, fence->seqno); in v3d_fence_create()
|
| A D | v3d_submit.c | 166 job->v3d = v3d; in v3d_job_init() 268 struct v3d_dev *v3d, in v3d_setup_csd_jobs_and_bos() argument 412 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_get_cpu_indirect_csd_params() local 429 if (!v3d_has_csd(v3d)) { in v3d_get_cpu_indirect_csd_params() 993 mutex_lock(&v3d->sched_lock); in v3d_submit_cl_ioctl() 1019 mutex_unlock(&v3d->sched_lock); in v3d_submit_cl_ioctl() 1035 mutex_unlock(&v3d->sched_lock); in v3d_submit_cl_ioctl() 1126 mutex_lock(&v3d->sched_lock); in v3d_submit_tfu_ioctl() 1174 if (!v3d_has_csd(v3d)) { in v3d_submit_csd_ioctl() 1207 mutex_lock(&v3d->sched_lock); in v3d_submit_csd_ioctl() [all …]
|
| A D | Makefile | 5 v3d-y := \ 18 v3d-$(CONFIG_DEBUG_FS) += v3d_debugfs.o 20 obj-$(CONFIG_DRM_V3D) += v3d.o
|
| A D | v3d_sysfs.c | 15 struct v3d_dev *v3d = to_v3d_dev(drm); in gpu_stats_show() local 23 struct v3d_stats *stats = &v3d->queue[queue].stats; in gpu_stats_show()
|
| /linux/drivers/gpu/drm/vc4/ |
| A D | vc4_v3d.c | 239 struct vc4_v3d *v3d = vc4->v3d; in bin_bo_alloc() local 244 if (!v3d) in bin_bo_alloc() 406 struct vc4_v3d *v3d = vc4->v3d; in vc4_v3d_debugfs_init() local 408 if (!vc4->v3d) in vc4_v3d_debugfs_init() 426 v3d = devm_kzalloc(&pdev->dev, sizeof(*v3d), GFP_KERNEL); in vc4_v3d_bind() 427 if (!v3d) in vc4_v3d_bind() 432 v3d->pdev = pdev; in vc4_v3d_bind() 437 v3d->regset.base = v3d->regs; in vc4_v3d_bind() 441 vc4->v3d = v3d; in vc4_v3d_bind() 442 v3d->vc4 = vc4; in vc4_v3d_bind() [all …]
|
| A D | vc4_irq.c | 249 if (!vc4->v3d) in vc4_irq_prepare() 269 if (!vc4->v3d) in vc4_irq_enable() 286 if (!vc4->v3d) in vc4_irq_disable()
|
| A D | vc4_perfmon.c | 157 if (!vc4->v3d) { in vc4_perfmon_create_ioctl() 211 if (!vc4->v3d) { in vc4_perfmon_destroy_ioctl() 239 if (!vc4->v3d) { in vc4_perfmon_get_values_ioctl()
|
| /linux/Documentation/devicetree/bindings/display/ |
| A D | brcm,bcm2835-v3d.yaml | 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-v3d.yaml# 15 - brcm,bcm2835-v3d 16 - brcm,cygnus-v3d 39 v3d: v3d@7ec00000 { 40 compatible = "brcm,bcm2835-v3d";
|
| /linux/Documentation/gpu/ |
| A D | v3d.rst | 2 drm/v3d Broadcom V3D Graphics Driver 5 .. kernel-doc:: drivers/gpu/drm/v3d/v3d_drv.c 11 .. kernel-doc:: drivers/gpu/drm/v3d/v3d_bo.c 16 .. kernel-doc:: drivers/gpu/drm/v3d/v3d_mmu.c 21 .. kernel-doc:: drivers/gpu/drm/v3d/v3d_sched.c 27 .. kernel-doc:: drivers/gpu/drm/v3d/v3d_irq.c
|
| /linux/Documentation/devicetree/bindings/gpu/ |
| A D | brcm,bcm-v3d.yaml | 4 $id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml# 19 - brcm,2711-v3d 20 - brcm,2712-v3d 21 - brcm,7268-v3d 22 - brcm,7278-v3d 66 compatible = "brcm,7268-v3d";
|
| /linux/arch/arm/boot/dts/broadcom/ |
| A D | bcm2835-common.dtsi | 70 clock-names = "v3d", "peri_image", "h264", "isp"; 138 v3d: v3d@7ec00000 { label 139 compatible = "brcm,bcm2835-v3d";
|
| /linux/Documentation/devicetree/bindings/soc/bcm/ |
| A D | brcm,bcm2835-pm.yaml | 50 - const: v3d 84 clock-names = "v3d", "peri_image", "h264", "isp";
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| A D | msm-apq8016-skips.txt | 5 ^v3d.*
|
| A D | mediatek-mt8173-skips.txt | 6 ^v3d.*
|
| A D | mediatek-mt8183-skips.txt | 6 ^v3d.*
|
| A D | meson-g12b-skips.txt | 6 ^v3d.*
|