Home
last modified time | relevance | path

Searched refs:dsi_encs (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c261 struct drm_encoder *dsi_encs[MSM_DSI_ENCODER_NUM]; in mdp4_modeset_init_intf() local
324 dsi_encs[i] = mdp4_dsi_encoder_init(dev); in mdp4_modeset_init_intf()
325 if (IS_ERR(dsi_encs[i])) { in mdp4_modeset_init_intf()
326 ret = PTR_ERR(dsi_encs[i]); in mdp4_modeset_init_intf()
334 dsi_encs[i]->possible_crtcs = 1 << DMA_P; in mdp4_modeset_init_intf()
335 priv->encoders[priv->num_encoders++] = dsi_encs[i]; in mdp4_modeset_init_intf()
338 ret = msm_dsi_modeset_init(priv->dsi[dsi_id], dev, dsi_encs); in mdp4_modeset_init_intf()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c278 struct drm_encoder *dsi_encs[MSM_DSI_ENCODER_NUM]; in modeset_init_intf() local
302 dsi_encs[i] = construct_encoder(mdp5_kms, INTF_DSI, in modeset_init_intf()
304 if (IS_ERR(dsi_encs[i])) { in modeset_init_intf()
305 ret = PTR_ERR(dsi_encs[i]); in modeset_init_intf()
310 ret = msm_dsi_modeset_init(priv->dsi[dsi_id], dev, dsi_encs); in modeset_init_intf()