Home
last modified time | relevance | path

Searched refs:vbif (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c20 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 != 0); 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()
46 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
50 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
62 static void _dpu_vbif_apply_dynamic_ot_limit(struct dpu_hw_vbif *vbif, in _dpu_vbif_apply_dynamic_ot_limit() argument
69 if (!vbif || !(vbif->cap->features & BIT(DPU_VBIF_QOS_OTLIM))) in _dpu_vbif_apply_dynamic_ot_limit()
[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_hw_vbif.h26 void (*set_limit_conf)(struct dpu_hw_vbif *vbif,
36 u32 (*get_limit_conf)(struct dpu_hw_vbif *vbif,
45 void (*set_halt_ctrl)(struct dpu_hw_vbif *vbif,
54 bool (*get_halt_ctrl)(struct dpu_hw_vbif *vbif,
64 void (*set_qos_remap)(struct dpu_hw_vbif *vbif,
73 void (*set_mem_type)(struct dpu_hw_vbif *vbif,
85 void (*clear_errors)(struct dpu_hw_vbif *vbif,
93 void (*set_write_gather_en)(struct dpu_hw_vbif *vbif, u32 xin_id);
118 void dpu_hw_vbif_destroy(struct dpu_hw_vbif *vbif);
Ddpu_kms.c600 u32 vbif_idx = dpu_kms->catalog->vbif[i].id; in _dpu_kms_hw_destroy()
615 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
616 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
617 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
619 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
620 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
621 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
829 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif", "vbif"); in dpu_kms_hw_init()
830 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
831 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
[all …]
Ddpu_kms.h102 void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma; member
Ddpu_hw_catalog.h674 struct dpu_vbif_cfg *vbif; member
Ddpu_hw_catalog.c420 .vbif = sdm845_vbif, in sdm845_cfg_init()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c17 void __iomem *mmio, *vbif; member
230 mdp5_mdss->vbif = msm_ioremap(pdev, "vbif_phys", "VBIF"); in mdp5_mdss_init()
231 if (IS_ERR(mdp5_mdss->vbif)) { in mdp5_mdss_init()
232 ret = PTR_ERR(mdp5_mdss->vbif); in mdp5_mdss_init()
/Linux-v5.4/Documentation/devicetree/bindings/display/msm/
Ddpu.txt48 * "vbif"
108 reg-names = "mdp", "vbif";
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dsdm845.dtsi2640 reg-names = "mdp", "vbif";