Loading drivers/gpu/drm/msm/sde/sde_kms.c +6 −1 Original line number Diff line number Diff line Loading @@ -1683,6 +1683,11 @@ static int _sde_kms_drm_obj_init(struct sde_kms *sde_kms) if (!_sde_kms_get_displays(sde_kms)) (void)_sde_kms_setup_displays(dev, priv, sde_kms); /* Follow user setting if preferred crtc number is set */ if (!of_property_read_u32(dev->dev->of_node, "qcom,sde-crtc-num-pref", &max_crtc_count)) max_crtc_count = min(max_crtc_count, MAX_CRTCS); else max_crtc_count = min(catalog->mixer_count, priv->num_encoders); /* Create the planes */ Loading Loading
drivers/gpu/drm/msm/sde/sde_kms.c +6 −1 Original line number Diff line number Diff line Loading @@ -1683,6 +1683,11 @@ static int _sde_kms_drm_obj_init(struct sde_kms *sde_kms) if (!_sde_kms_get_displays(sde_kms)) (void)_sde_kms_setup_displays(dev, priv, sde_kms); /* Follow user setting if preferred crtc number is set */ if (!of_property_read_u32(dev->dev->of_node, "qcom,sde-crtc-num-pref", &max_crtc_count)) max_crtc_count = min(max_crtc_count, MAX_CRTCS); else max_crtc_count = min(catalog->mixer_count, priv->num_encoders); /* Create the planes */ Loading