Home
last modified time | relevance | path

Searched full:vbif (Results 1 – 25 of 100) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c24 * @vbif: Pointer to hardware vbif driver
28 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()
53 DPU_ERROR("VBIF %d client %d not halting. TIMEDOUT.\n", in _dpu_vbif_wait_for_xin_halt()
54 vbif->idx - VBIF_0, xin_id); in _dpu_vbif_wait_for_xin_halt()
57 DPU_DEBUG("VBIF %d client %d is halted\n", in _dpu_vbif_wait_for_xin_halt()
[all …]
Ddpu_hw_vbif.h15 * struct dpu_hw_vbif_ops : Interface to the VBIF hardware driver functions
21 * @vbif: vbif context driver
26 void (*set_limit_conf)(struct dpu_hw_vbif *vbif,
31 * @vbif: vbif context driver
36 u32 (*get_limit_conf)(struct dpu_hw_vbif *vbif,
41 * @vbif: vbif context driver
45 void (*set_halt_ctrl)(struct dpu_hw_vbif *vbif,
50 * @vbif: vbif context driver
54 bool (*get_halt_ctrl)(struct dpu_hw_vbif *vbif,
59 * @vbif: vbif context driver
[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_vbif.h31 * @vbif_idx: vbif identifier
46 * dpu_vbif_set_ot_limit - set OT limit for vbif client
62 * dpu_vbif_clear_errors - clear any vbif errors
68 * dpu_vbif_init_memtypes - initialize xin memory types for vbif
Ddpu_kms.c694 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
695 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
696 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
698 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
699 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
700 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
919 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif", "vbif"); in dpu_kms_hw_init()
920 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
921 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
922 DPU_ERROR("vbif register memory map failed: %d\n", rc); in dpu_kms_hw_init()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.c36 * @vbif: Pointer to hardware vbif driver
40 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()
78 * @vbif: Pointer to hardware vbif driver
[all …]
Ddpu_hw_vbif.h15 * struct dpu_hw_vbif_ops : Interface to the VBIF hardware driver functions
21 * @vbif: vbif context driver
26 void (*set_limit_conf)(struct dpu_hw_vbif *vbif,
31 * @vbif: vbif context driver
36 u32 (*get_limit_conf)(struct dpu_hw_vbif *vbif,
41 * @vbif: vbif context driver
45 void (*set_halt_ctrl)(struct dpu_hw_vbif *vbif,
50 * @vbif: vbif context driver
54 bool (*get_halt_ctrl)(struct dpu_hw_vbif *vbif,
59 * @vbif: vbif context driver
[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_vbif.h31 * @vbif_idx: vbif identifier
46 * dpu_vbif_set_ot_limit - set OT limit for vbif client
62 * dpu_vbif_clear_errors - clear any vbif errors
68 * dpu_vbif_init_memtypes - initialize xin memory types for vbif
Ddpu_kms.c832 if (dpu_kms->vbif[VBIF_NRT]) in _dpu_kms_hw_destroy()
833 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_NRT]); in _dpu_kms_hw_destroy()
834 dpu_kms->vbif[VBIF_NRT] = NULL; in _dpu_kms_hw_destroy()
836 if (dpu_kms->vbif[VBIF_RT]) in _dpu_kms_hw_destroy()
837 devm_iounmap(&dpu_kms->pdev->dev, dpu_kms->vbif[VBIF_RT]); in _dpu_kms_hw_destroy()
838 dpu_kms->vbif[VBIF_RT] = NULL; in _dpu_kms_hw_destroy()
1091 dpu_kms->vbif[VBIF_RT] = msm_ioremap(dpu_kms->pdev, "vbif"); in dpu_kms_hw_init()
1092 if (IS_ERR(dpu_kms->vbif[VBIF_RT])) { in dpu_kms_hw_init()
1093 rc = PTR_ERR(dpu_kms->vbif[VBIF_RT]); in dpu_kms_hw_init()
1094 DPU_ERROR("vbif register memory map failed: %d\n", rc); in dpu_kms_hw_init()
[all …]
Ddpu_hw_catalog.h214 * VBIF sub-blocks and features
215 * @DPU_VBIF_QOS_OTLIM VBIF supports OT Limit
216 * @DPU_VBIF_QOS_REMAP VBIF supports QoS priority remap
617 * @vbif_idx: vbif client index
668 * struct dpu_vbif_cfg - information of VBIF blocks
815 const struct dpu_vbif_cfg *vbif; member
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/msm/
Dqcom,msm8998-dpu.yaml22 - description: Address offset and size for vbif register set
23 - description: Address offset and size for non-realtime vbif register set
29 - const: vbif
68 reg-names = "mdp", "regdma", "vbif", "vbif_nrt";
Dqcom,qcm2290-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
63 reg-names = "mdp", "vbif";
Dqcom,sm6115-dpu.yaml21 - description: VBIF register set
26 - const: vbif
65 reg-names = "mdp", "vbif";
Dqcom,sdm845-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
63 reg-names = "mdp", "vbif";
Dqcom,sm8150-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
56 reg-names = "mdp", "vbif";
Dqcom,sc7280-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
66 reg-names = "mdp", "vbif";
Dqcom,sm8250-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
63 reg-names = "mdp", "vbif";
Dqcom,sc7180-dpu.yaml25 - description: Address offset and size for vbif register set
30 - const: vbif
90 reg-names = "mdp", "vbif";
Dqcom,sm8350-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
60 reg-names = "mdp", "vbif";
Dqcom,sm8550-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
66 reg-names = "mdp", "vbif";
Dqcom,sc8280xp-dpu.yaml24 - description: Address offset and size for vbif register set
29 - const: vbif
63 reg-names = "mdp", "vbif";
Dqcom,sm8450-dpu.yaml21 - description: Address offset and size for vbif register set
26 - const: vbif
67 reg-names = "mdp", "vbif";
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/
Ddpu.txt48 * "vbif"
108 reg-names = "mdp", "vbif";

1234