Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c28 static int _dpu_vbif_wait_for_xin_halt(struct dpu_hw_vbif *vbif, u32 xin_id) in _dpu_vbif_wait_for_xin_halt() argument
34 if (!vbif || !vbif->cap || !vbif->ops.get_halt_ctrl) { in _dpu_vbif_wait_for_xin_halt()
35 DPU_ERROR("invalid arguments vbif %d\n", vbif != NULL); in _dpu_vbif_wait_for_xin_halt()
39 timeout = ktime_add_us(ktime_get(), vbif->cap->xin_halt_timeout); in _dpu_vbif_wait_for_xin_halt()
41 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
45 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
54 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
58 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
70 static void _dpu_vbif_apply_dynamic_ot_limit(struct dpu_hw_vbif *vbif, in _dpu_vbif_apply_dynamic_ot_limit() argument
77 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.c744 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()
981 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif", "vbif"); in dpu_kms_hw_init()
982 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
983 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
985 dpu_kms->vbif[VBIF_RT] = NULL; in dpu_kms_hw_init()
[all …]
Ddpu_hw_catalog.c1140 .vbif = sdm845_vbif, in sdm845_cfg_init()
1171 .vbif = sdm845_vbif, in sc7180_cfg_init()
1204 .vbif = sdm845_vbif, in sm8150_cfg_init()
1237 .vbif = sdm845_vbif, in sm8250_cfg_init()
1262 .vbif = sdm845_vbif, in sc7280_cfg_init()
Ddpu_kms.h101 void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma; member
Ddpu_hw_catalog.h766 const struct dpu_vbif_cfg *vbif; member
/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()