| /linux/drivers/gpu/drm/vc4/ |
| A D | vc4_irq.c | 64 struct vc4_dev *vc4 = in vc4_overflow_mem_work() local 73 if (!vc4->bin_bo) in vc4_overflow_mem_work() 76 bo = vc4->bin_bo; in vc4_overflow_mem_work() 102 vc4->bin_alloc_used &= ~vc4->bin_alloc_overflow; in vc4_overflow_mem_work() 164 vc4->finished_seqno++; in vc4_irq_finish_render_job() 225 spin_lock(&vc4->job_lock); in vc4_irq() 246 if (!vc4->v3d) in vc4_irq_prepare() 263 if (!vc4->v3d) in vc4_irq_enable() 277 if (!vc4->v3d) in vc4_irq_disable() 287 disable_irq(vc4->irq); in vc4_irq_disable() [all …]
|
| A D | vc4_bo.c | 51 vc4->bo_labels[i].name, in vc4_bo_stats_print() 57 if (vc4->purgeable.num) in vc4_bo_stats_print() 59 vc4->purgeable.size / 1024, vc4->purgeable.num); in vc4_bo_stats_print() 253 vc4->purgeable.num++; in vc4_bo_add_to_purgeable_pool() 275 vc4->purgeable.num--; in vc4_bo_remove_from_purgeable_pool_locked() 595 struct vc4_dev *vc4 = in vc4_bo_cache_time_work() local 657 struct vc4_dev *vc4 = from_timer(vc4, t, bo_cache.time_timer); in vc4_bo_cache_time_timer() local 745 if (!vc4->v3d) in vc4_grab_bin_bo() 963 vc4->bo_labels = kcalloc(VC4_BO_TYPE_COUNT, sizeof(*vc4->bo_labels), in vc4_bo_cache_init() 965 if (!vc4->bo_labels) in vc4_bo_cache_init() [all …]
|
| A D | vc4_v3d.c | 117 vc4_v3d_pm_put(vc4); in vc4_v3d_debugfs_ident() 264 vc4->bin_bo = bo; in bin_bo_alloc() 324 if (vc4->bin_bo) in vc4_v3d_bin_bo_get() 346 vc4->bin_bo = NULL; in bin_bo_release() 360 struct vc4_dev *vc4 = v3d->vc4; in vc4_v3d_runtime_suspend() local 372 struct vc4_dev *vc4 = v3d->vc4; in vc4_v3d_runtime_resume() local 382 enable_irq(vc4->irq); in vc4_v3d_runtime_resume() 412 vc4->v3d = v3d; in vc4_v3d_bind() 413 v3d->vc4 = vc4; in vc4_v3d_bind() 452 vc4->irq = ret; in vc4_v3d_bind() [all …]
|
| A D | vc4_gem.c | 79 if (!vc4->v3d) { in vc4_get_hang_state_ioctl() 101 vc4->hang_state = NULL; in vc4_get_hang_state_ioctl() 276 if (vc4->hang_state) { in vc4_save_hang_state() 314 struct vc4_dev *vc4 = in vc4_reset_work() local 325 struct vc4_dev *vc4 = from_timer(vc4, t, hangcheck.timer); in vc4_hangcheck_elapsed() local 984 vc4_v3d_pm_put(vc4); in vc4_complete_exec() 1138 if (!vc4->v3d) { in vc4_submit_cl_ioctl() 1298 WARN_ON(vc4->emit_seqno != vc4->finished_seqno); in vc4_gem_destroy() 1303 if (vc4->bin_bo) { in vc4_gem_destroy() 1305 vc4->bin_bo = NULL; in vc4_gem_destroy() [all …]
|
| A D | vc4_kms.c | 130 drm_atomic_private_obj_init(&vc4->base, &vc4->ctm_manager, &ctm_state->base, in vc4_ctm_obj_init() 339 struct vc4_hvs *hvs = vc4->hvs; in vc4_atomic_commit_tail() 379 if (vc4->hvs->hvs5) in vc4_atomic_commit_tail() 384 vc4_ctm_commit(vc4, state); in vc4_atomic_commit_tail() 386 if (vc4->hvs->hvs5) in vc4_atomic_commit_tail() 403 if (vc4->hvs->hvs5) in vc4_atomic_commit_tail() 560 &vc4->load_tracker); in vc4_load_tracker_atomic_check() 583 if (!vc4->load_tracker_enabled) in vc4_load_tracker_atomic_check() 650 drm_atomic_private_obj_init(&vc4->base, &vc4->load_tracker, in vc4_load_tracker_obj_init() 714 drm_atomic_private_obj_init(&vc4->base, &vc4->hvs_channels, in vc4_hvs_channels_obj_init() [all …]
|
| A D | vc4_hvs.c | 69 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_dump_state() local 90 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_debugfs_underrun() local 163 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_lut_load() local 202 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_get_fifo_from_output() local 206 if (!vc4->hvs->hvs5) in vc4_hvs_get_fifo_from_output() 273 if (!vc4->hvs->hvs5) in vc4_hvs_init_channel() 528 atomic_inc(&vc4->underrun); in vc4_hvs_report_underrun() 640 vc4->hvs = hvs; in vc4_hvs_bind() 687 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_unbind() 693 drm_mm_takedown(&vc4->hvs->lbm_mm); in vc4_hvs_unbind() [all …]
|
| A D | vc4_drv.c | 74 if (!vc4->v3d) in vc4_get_param_ioctl() 79 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl() 83 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl() 86 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl() 90 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl() 97 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl() 134 vc4_v3d_bin_bo_put(vc4); in vc4_close() 219 struct vc4_dev *vc4; in vc4_drm_bind() local 233 if (IS_ERR(vc4)) in vc4_drm_bind() 234 return PTR_ERR(vc4); in vc4_drm_bind() [all …]
|
| A D | vc4_perfmon.c | 35 if (WARN_ON_ONCE(!perfmon || vc4->active_perfmon)) in vc4_perfmon_start() 44 vc4->active_perfmon = perfmon; in vc4_perfmon_start() 52 if (WARN_ON_ONCE(!vc4->active_perfmon || in vc4_perfmon_stop() 53 perfmon != vc4->active_perfmon)) in vc4_perfmon_stop() 62 vc4->active_perfmon = NULL; in vc4_perfmon_stop() 103 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_perfmon_create_ioctl() local 110 if (!vc4->v3d) { in vc4_perfmon_create_ioctl() 155 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_perfmon_destroy_ioctl() local 160 if (!vc4->v3d) { in vc4_perfmon_destroy_ioctl() 179 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_perfmon_get_values_ioctl() local [all …]
|
| A D | vc4_drv.h | 314 struct vc4_dev *vc4; member 685 vc4_first_bin_job(struct vc4_dev *vc4) in vc4_first_bin_job() argument 692 vc4_first_render_job(struct vc4_dev *vc4) in vc4_first_render_job() argument 699 vc4_last_render_job(struct vc4_dev *vc4) in vc4_last_render_job() argument 701 if (list_empty(&vc4->render_job_list)) in vc4_last_render_job() 703 return list_last_entry(&vc4->render_job_list, in vc4_last_render_job() 883 void vc4_job_handle_completed(struct vc4_dev *vc4); 933 int vc4_v3d_get_bin_slot(struct vc4_dev *vc4); 935 void vc4_v3d_bin_bo_put(struct vc4_dev *vc4); 936 int vc4_v3d_pm_get(struct vc4_dev *vc4); [all …]
|
| A D | vc4_debugfs.c | 26 struct vc4_dev *vc4 = to_vc4_dev(minor->dev); in vc4_debugfs_init() local 30 minor->debugfs_root, &vc4->load_tracker_enabled); in vc4_debugfs_init() 32 list_for_each_entry(entry, &vc4->debugfs_list, link) { in vc4_debugfs_init() 63 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_debugfs_add_file() local 75 list_add(&entry->link, &vc4->debugfs_list); in vc4_debugfs_add_file()
|
| A D | Makefile | 5 vc4-y := \ 28 vc4-$(CONFIG_DEBUG_FS) += vc4_debugfs.o 30 obj-$(CONFIG_DRM_VC4) += vc4.o
|
| A D | vc4_plane.c | 193 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_destroy_state() local 199 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state() 485 lbm = roundup(lbm, vc4->hvs->hvs5 ? 128 : 64); in vc4_lbm_size() 488 lbm /= vc4->hvs->hvs5 ? 4 : 2; in vc4_lbm_size() 532 struct vc4_dev *vc4; in vc4_plane_calc_load() local 534 vc4 = to_vc4_dev(state->plane->dev); in vc4_plane_calc_load() 535 if (!vc4->load_tracker_available) in vc4_plane_calc_load() 605 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm() 609 vc4->hvs->hvs5 ? 64 : 32, in vc4_plane_allocate_lbm() 630 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_mode_set() local [all …]
|
| A D | vc4_crtc.c | 89 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local 213 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() local 255 if (!vc4->hvs->hvs5) in vc4_get_fifo_full_level() 319 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_config_pv() local 401 if (vc4->hvs->hvs5) in vc4_crtc_config_pv() 426 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local 693 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local 890 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local 896 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state() 1097 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_init() local [all …]
|
| A D | vc4_fence.c | 39 struct vc4_dev *vc4 = to_vc4_dev(f->dev); in vc4_fence_signaled() local 41 return vc4->finished_seqno >= f->seqno; in vc4_fence_signaled()
|
| A D | vc4_trace.h | 14 #define TRACE_SYSTEM vc4 59 #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/vc4
|
| A D | vc4_dpi.c | 252 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_dpi_bind() local 311 vc4->dpi = dpi; in vc4_dpi_bind() 327 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_dpi_unbind() local 336 vc4->dpi = NULL; in vc4_dpi_unbind()
|
| A D | vc4_txp.c | 466 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_txp_bind() local 518 vc4->txp = txp; in vc4_txp_bind() 529 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_txp_unbind() local 534 vc4->txp = NULL; in vc4_txp_unbind()
|
| A D | vc4_vec.c | 535 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_vec_bind() local 588 vc4->vec = vec; in vc4_vec_bind() 605 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_vec_unbind() local 612 vc4->vec = NULL; in vc4_vec_unbind()
|
| A D | vc4_validate.c | 352 struct vc4_dev *vc4 = to_vc4_dev(dev); in validate_tile_binning_config() local 382 bin_slot = vc4_v3d_get_bin_slot(vc4); in validate_tile_binning_config() 395 bin_addr = vc4->bin_bo->base.paddr + bin_slot * vc4->bin_alloc_size; in validate_tile_binning_config() 417 *(uint32_t *)(validated + 4) = (bin_addr + vc4->bin_alloc_size - in validate_tile_binning_config()
|
| /linux/Documentation/gpu/ |
| A D | vc4.rst | 2 drm/vc4 Broadcom VC4 Graphics Driver 5 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_drv.c 18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c 24 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hvs.c 30 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_plane.c 36 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hdmi.c 42 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_dsi.c 48 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_dpi.c 54 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_vec.c 65 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_bo.c [all …]
|
| A D | drivers.rst | 16 vc4
|
| /linux/Documentation/devicetree/bindings/display/ |
| A D | brcm,bcm2835-vc4.yaml | 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml# 21 - brcm,bcm2835-vc4 22 - brcm,cygnus-vc4 31 vc4: gpu { 32 compatible = "brcm,bcm2835-vc4";
|
| /linux/drivers/net/dsa/b53/ |
| A D | b53_common.c | 355 u8 mgmt, vc0, vc1, vc4 = 0, vc5; in b53_enable_vlan() local 368 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4, &vc4); in b53_enable_vlan() 375 vc4 &= ~VC4_ING_VID_CHECK_MASK; in b53_enable_vlan() 377 vc4 |= VC4_ING_VID_VIO_DROP << VC4_ING_VID_CHECK_S; in b53_enable_vlan() 380 vc4 |= VC4_ING_VID_VIO_FWD << VC4_ING_VID_CHECK_S; in b53_enable_vlan() 393 vc4 &= ~VC4_ING_VID_CHECK_MASK; in b53_enable_vlan() 397 vc4 |= VC4_ING_VID_VIO_FWD << VC4_ING_VID_CHECK_S; in b53_enable_vlan() 399 vc4 |= VC4_ING_VID_VIO_TO_IMP << VC4_ING_VID_CHECK_S; in b53_enable_vlan() 427 b53_write8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4, vc4); in b53_enable_vlan() 2598 u8 vc4; in b53_switch_init() local [all …]
|
| /linux/arch/arm/boot/dts/ |
| A D | bcm2835-common.dtsi | 143 vc4: gpu { label 144 compatible = "brcm,bcm2835-vc4";
|
| /linux/drivers/staging/vc04_services/bcm2835-camera/ |
| A D | TODO | 5 vc4 driver can import them. This may involve bringing in the VCSM
|