Home
last modified time | relevance | path

Searched full:vbif (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c16 * @vbif: Pointer to hardware vbif driver
20 static int _dpu_vbif_wait_for_xin_halt(struct dpu_hw_vbif *vbif, u32 xin_id) in _dpu_vbif_wait_for_xin_halt() argument
26 if (!vbif || !vbif->cap || !vbif->ops.get_halt_ctrl) { in _dpu_vbif_wait_for_xin_halt()
27 DPU_ERROR("invalid arguments vbif %d\n", vbif != NULL); in _dpu_vbif_wait_for_xin_halt()
31 timeout = ktime_add_us(ktime_get(), vbif->cap->xin_halt_timeout); in _dpu_vbif_wait_for_xin_halt()
33 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
37 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
45 DPU_ERROR("VBIF %d client %d not halting. TIMEDOUT.\n", in _dpu_vbif_wait_for_xin_halt()
46 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
49 DRM_DEBUG_ATOMIC("VBIF %d client %d is halted\n", in _dpu_vbif_wait_for_xin_halt()
[all …]
Ddpu_hw_vbif.h15 * struct dpu_hw_vbif_ops : Interface to the VBIF hardware driver functions
21 * @vbif: vbif context driver
26 void (*set_limit_conf)(struct dpu_hw_vbif *vbif,
31 * @vbif: vbif context driver
36 u32 (*get_limit_conf)(struct dpu_hw_vbif *vbif,
41 * @vbif: vbif context driver
45 void (*set_halt_ctrl)(struct dpu_hw_vbif *vbif,
50 * @vbif: vbif context driver
54 bool (*get_halt_ctrl)(struct dpu_hw_vbif *vbif,
59 * @vbif: vbif context driver
[all …]
Ddpu_hw_vbif.c35 static void dpu_hw_clear_errors(struct dpu_hw_vbif *vbif, in dpu_hw_clear_errors() argument
41 if (!vbif) in dpu_hw_clear_errors()
43 c = &vbif->hw; in dpu_hw_clear_errors()
55 static void dpu_hw_set_mem_type(struct dpu_hw_vbif *vbif, in dpu_hw_set_mem_type() argument
67 if (!vbif || xin_id >= MAX_XIN_COUNT || xin_id >= 16) in dpu_hw_set_mem_type()
70 c = &vbif->hw; in dpu_hw_set_mem_type()
85 static void dpu_hw_set_limit_conf(struct dpu_hw_vbif *vbif, in dpu_hw_set_limit_conf() argument
88 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_set_limit_conf()
106 static u32 dpu_hw_get_limit_conf(struct dpu_hw_vbif *vbif, in dpu_hw_get_limit_conf() argument
109 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_get_limit_conf()
[all …]
Ddpu_vbif.h31 * @vbif_idx: vbif identifier
46 * dpu_vbif_set_ot_limit - set OT limit for vbif client
62 * dpu_vbif_clear_errors - clear any vbif errors
68 * dpu_vbif_init_memtypes - initialize xin memory types for vbif
Ddpu_kms.c729 u32 vbif_idx = dpu_kms->catalog->vbif[i].id; in _dpu_kms_hw_destroy()
744 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
745 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
746 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
748 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
749 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
750 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
977 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif", "vbif"); in dpu_kms_hw_init()
978 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
979 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
[all …]
Ddpu_hw_catalog.h209 * VBIF sub-blocks and features
210 * @DPU_VBIF_QOS_OTLIM VBIF supports OT Limit
211 * @DPU_VBIF_QOS_REMAP VBIF supports QoS priority remap
608 * struct dpu_vbif_cfg - information of VBIF blocks
764 const struct dpu_vbif_cfg *vbif; member
Ddpu_hw_catalog.c865 * VBIF sub blocks config
867 /* VBIF QOS remap */
1136 .vbif = sdm845_vbif, in sdm845_cfg_init()
1167 .vbif = sdm845_vbif, in sc7180_cfg_init()
1200 .vbif = sdm845_vbif, in sm8150_cfg_init()
1233 .vbif = sdm845_vbif, in sm8250_cfg_init()
1258 .vbif = sdm845_vbif, in sc7280_cfg_init()
Ddpu_kms.h100 void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma; member
Ddpu_hw_sspp.h172 * @creq_vblank: creq value generated to vbif during vertical blanking
Ddpu_plane.c491 * _dpu_plane_set_qos_remap - set vbif QoS for the given plane
507 DPU_DEBUG_PLANE(pdpu, "pipe:%d vbif:%d xin:%d rt:%d, clk_ctrl:%d\n", in _dpu_plane_set_qos_remap()
Ddpu_trace.h89 TP_printk("pnum:%d xin_id:%d ot:%d vbif:%d",
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c17 void __iomem *mmio, *vbif; member
229 mdp5_mdss->vbif = msm_ioremap(pdev, "vbif_phys", "VBIF"); in mdp5_mdss_init()
230 if (IS_ERR(mdp5_mdss->vbif)) { in mdp5_mdss_init()
231 ret = PTR_ERR(mdp5_mdss->vbif); in mdp5_mdss_init()
Dmdp5_kms.c32 * W VBIF:0x004 00000001 (mdss_mdp.c:839) in mdp5_hw_init()
/Linux-v5.15/Documentation/devicetree/bindings/display/msm/
Ddpu-sdm845.yaml75 - description: Address offset and size for vbif register set
80 - const: vbif
179 reg-names = "mdp", "vbif";
Ddpu-sc7180.yaml81 - description: Address offset and size for vbif register set
86 - const: vbif
192 reg-names = "mdp", "vbif";
/Linux-v5.15/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c203 /* Read a chunk of data from the VBIF debug bus */
252 /* Enable the VBIF bus for reading */ in a6xx_get_vbif_debugbus_block()
278 /* Restore the VBIF clock setting */ in a6xx_get_vbif_debugbus_block()
398 * ID as of VBIF. in a6xx_get_debugbus()
409 /* Dump the VBIF debugbus on applicable targets */ in a6xx_get_debugbus()
1171 /* vbif debugbus data is in dwords. Confusing, huh? */ in a6xx_show_debugbus()
Da3xx_gpu.c164 * Most of the VBIF registers on 8974v2 have the correct in a3xx_hw_init()
198 /* Disable VBIF clock gating. This is to enable AXI running in a3xx_hw_init()
300 /* VBIF registers */ in a3xx_hw_init()
Da4xx_gpu.c468 /* VBIF */
540 /* VBIF version 0x20050000*/
Da5xx_gpu.c1384 /* A508, A510 have 3 XIN ports in VBIF */ in a5xx_pm_suspend()
1388 /* Clear the VBIF pipe before shutting down */ in a5xx_pm_suspend()
1396 * Reset the VBIF before power collapse to avoid issue with FIFO in a5xx_pm_suspend()
Da6xx_gpu.c921 /* VBIF/GBIF start*/ in hw_init()
/Linux-v5.15/drivers/media/platform/qcom/venus/
Dcore.h93 * @vbif_base: IO memory vbif base address
Dhfi_venus.c598 /* Halt AXI and AXI IMEM VBIF Access */ in venus_halt_axi()
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dsc7180.dtsi2924 reg-names = "mdp", "vbif";
Dsm8250.dtsi2617 reg-names = "mdp", "vbif";
Dsdm845.dtsi4178 reg-names = "mdp", "vbif";