Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c35 #define VBIF_XINL_QOS_LVL_REMAP_000(vbif) (VBIF_XINL_QOS_RP_REMAP_000 + (vbif)->cap->qos_rp_remap_s… argument
37 static void dpu_hw_clear_errors(struct dpu_hw_vbif *vbif, in dpu_hw_clear_errors() argument
43 if (!vbif) in dpu_hw_clear_errors()
45 c = &vbif->hw; in dpu_hw_clear_errors()
57 static void dpu_hw_set_mem_type(struct dpu_hw_vbif *vbif, in dpu_hw_set_mem_type() argument
69 if (!vbif || xin_id >= MAX_XIN_COUNT || xin_id >= 16) in dpu_hw_set_mem_type()
72 c = &vbif->hw; in dpu_hw_set_mem_type()
87 static void dpu_hw_set_limit_conf(struct dpu_hw_vbif *vbif, in dpu_hw_set_limit_conf() argument
90 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_set_limit_conf()
108 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);
Ddpu_kms.c1159 const struct dpu_vbif_cfg *vbif = &dpu_kms->catalog->vbif[i]; in dpu_kms_hw_init() local
1161 hw = dpu_hw_vbif_init(dev, vbif, dpu_kms->vbif[vbif->id]); in dpu_kms_hw_init()
1164 DPU_ERROR("failed to init vbif %d: %d\n", vbif->id, rc); in dpu_kms_hw_init()
1168 dpu_kms->hw_vbif[vbif->id] = hw; in dpu_kms_hw_init()
1290 dpu_kms->vbif[VBIF_RT] = msm_ioremap_mdss(mdss_dev, in dpu_kms_mmap_mdp5()
1293 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_mmap_mdp5()
1294 ret = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_mmap_mdp5()
1296 dpu_kms->vbif[VBIF_RT] = NULL; in dpu_kms_mmap_mdp5()
1300 dpu_kms->vbif[VBIF_NRT] = msm_ioremap_mdss(mdss_dev, in dpu_kms_mmap_mdp5()
1303 if (IS_ERR(dpu_kms->vbif[VBIF_NRT])) { in dpu_kms_mmap_mdp5()
[all …]
Ddpu_kms.h64 void __iomem *mmio, *vbif[VBIF_MAX]; member
Ddpu_hw_catalog.h814 const struct dpu_vbif_cfg *vbif; member
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/catalog/
Ddpu_4_1_sdm670.h100 .vbif = sdm845_vbif,
Ddpu_6_3_sm6115.h153 .vbif = sdm845_vbif,
Ddpu_6_5_qcm2290.h146 .vbif = sdm845_vbif,
Ddpu_6_9_sm6375.h165 .vbif = sdm845_vbif,
Ddpu_3_3_sdm630.h221 .vbif = msm8998_vbif,
Ddpu_6_2_sc7180.h222 .vbif = sdm845_vbif,
Ddpu_5_4_sm6125.h234 .vbif = sdm845_vbif,
Ddpu_6_4_sm6350.h242 .vbif = sdm845_vbif,
Ddpu_7_2_sc7280.h269 .vbif = sdm845_vbif,
Ddpu_3_2_sdm660.h287 .vbif = msm8998_vbif,
Ddpu_4_0_sdm845.h349 .vbif = sdm845_vbif,
Ddpu_3_0_msm8998.h332 .vbif = msm8998_vbif,
Ddpu_5_2_sm7150.h331 .vbif = sdm845_vbif,
Ddpu_7_0_sm8350.h416 .vbif = sdm845_vbif,
Ddpu_5_0_sm8150.h408 .vbif = sdm845_vbif,
Ddpu_9_0_sm8550.h427 .vbif = sm8550_vbif,
Ddpu_6_0_sm8250.h405 .vbif = sdm845_vbif,
Ddpu_5_1_sc8180x.h434 .vbif = sdm845_vbif,
Ddpu_10_0_sm8650.h453 .vbif = sm8650_vbif,

12