Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c40 static int _dpu_vbif_wait_for_xin_halt(struct dpu_hw_vbif *vbif, u32 xin_id) in _dpu_vbif_wait_for_xin_halt() argument
46 if (!vbif || !vbif->cap || !vbif->ops.get_halt_ctrl) { in _dpu_vbif_wait_for_xin_halt()
47 DPU_ERROR("invalid arguments vbif %d\n", vbif != NULL); in _dpu_vbif_wait_for_xin_halt()
51 timeout = ktime_add_us(ktime_get(), vbif->cap->xin_halt_timeout); in _dpu_vbif_wait_for_xin_halt()
53 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
57 status = vbif->ops.get_halt_ctrl(vbif, xin_id); in _dpu_vbif_wait_for_xin_halt()
66 dpu_vbif_name(vbif->idx), xin_id); in _dpu_vbif_wait_for_xin_halt()
70 dpu_vbif_name(vbif->idx), xin_id); in _dpu_vbif_wait_for_xin_halt()
82 static void _dpu_vbif_apply_dynamic_ot_limit(struct dpu_hw_vbif *vbif, in _dpu_vbif_apply_dynamic_ot_limit() argument
89 if (!vbif || !(vbif->cap->features & BIT(DPU_VBIF_QOS_OTLIM))) in _dpu_vbif_apply_dynamic_ot_limit()
[all …]
Ddpu_hw_vbif.c33 #define VBIF_XINL_QOS_LVL_REMAP_000(vbif) (VBIF_XINL_QOS_RP_REMAP_000 + (vbif)->cap->qos_rp_remap_s… argument
35 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
[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.c840 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
841 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
842 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
844 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
845 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
846 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
1045 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif"); in dpu_kms_hw_init()
1046 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
1047 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
1049 dpu_kms->vbif[VBIF_RT] = NULL; in dpu_kms_hw_init()
[all …]
Ddpu_hw_catalog.c1754 .vbif = msm8998_vbif,
1777 .vbif = sdm845_vbif,
1803 .vbif = sdm845_vbif,
1829 .vbif = sdm845_vbif,
1853 .vbif = sdm845_vbif,
1879 .vbif = sdm845_vbif,
1905 .vbif = sdm845_vbif,
1927 .vbif = sdm845_vbif,
Ddpu_kms.h76 void __iomem *mmio, *vbif[VBIF_MAX], *reg_dma; member
Ddpu_hw_catalog.h858 const struct dpu_vbif_cfg *vbif; member