Home
last modified time | relevance | path

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

/Linux-v5.10/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 != 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()
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.c677 u32 vbif_idx = dpu_kms->catalog->vbif[i].id; in _dpu_kms_hw_destroy()
692 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
693 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
694 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
696 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
697 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
698 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
913 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif", "vbif"); in dpu_kms_hw_init()
914 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
915 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
[all …]
Ddpu_hw_catalog.c784 .vbif = sdm845_vbif, in sdm845_cfg_init()
815 .vbif = sdm845_vbif, in sc7180_cfg_init()
844 .vbif = sdm845_vbif, in sm8150_cfg_init()
874 .vbif = sdm845_vbif, in sm8250_cfg_init()
Ddpu_kms.h104 void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma; member
Ddpu_hw_catalog.h731 const struct dpu_vbif_cfg *vbif; member
/Linux-v5.10/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.10/Documentation/devicetree/bindings/display/msm/
Ddpu.txt48 * "vbif"
108 reg-names = "mdp", "vbif";
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dsc7180.dtsi2829 reg-names = "mdp", "vbif";
Dsdm845.dtsi3838 reg-names = "mdp", "vbif";