Lines Matching full:mdss

32 #define DEFAULT_REG_BW	153600 /* Used in mdss fbdev driver */
229 static const struct msm_mdss_data *msm_mdss_generate_mdp5_mdss_data(struct msm_mdss *mdss) in msm_mdss_generate_mdp5_mdss_data() argument
234 data = devm_kzalloc(mdss->dev, sizeof(*data), GFP_KERNEL); in msm_mdss_generate_mdp5_mdss_data()
238 hw_rev = readl_relaxed(mdss->mmio + HW_REV); in msm_mdss_generate_mdp5_mdss_data()
262 struct msm_mdss *mdss; in msm_mdss_get_mdss_data() local
267 mdss = dev_get_drvdata(dev); in msm_mdss_get_mdss_data()
273 if (!mdss->mdss_data && mdss->is_mdp5) in msm_mdss_get_mdss_data()
274 mdss->mdss_data = msm_mdss_generate_mdp5_mdss_data(mdss); in msm_mdss_get_mdss_data()
276 return mdss->mdss_data; in msm_mdss_get_mdss_data()
306 * mdss on mdp5 hardware. Skip it for now. in msm_mdss_enable()
312 * ubwc config is part of the "mdss" region which is not accessible in msm_mdss_enable()
384 "failed to acquire mdss reset\n"); in msm_mdss_reset()
401 * MDP5 MDSS uses at most three specified clocks.
446 msm_mdss->mmio = devm_platform_ioremap_resource_byname(pdev, is_mdp5 ? "mdss_phys" : "mdss"); in msm_mdss_init()
450 dev_dbg(&pdev->dev, "mapped mdss address space @%pK\n", msm_mdss->mmio); in msm_mdss_init()
487 struct msm_mdss *mdss = dev_get_drvdata(dev); in mdss_runtime_suspend() local
491 return msm_mdss_disable(mdss); in mdss_runtime_suspend()
496 struct msm_mdss *mdss = dev_get_drvdata(dev); in mdss_runtime_resume() local
500 return msm_mdss_enable(mdss); in mdss_runtime_resume()
527 struct msm_mdss *mdss; in mdss_probe() local
528 bool is_mdp5 = of_device_is_compatible(pdev->dev.of_node, "qcom,mdss"); in mdss_probe()
532 mdss = msm_mdss_init(pdev, is_mdp5); in mdss_probe()
533 if (IS_ERR(mdss)) in mdss_probe()
534 return PTR_ERR(mdss); in mdss_probe()
536 platform_set_drvdata(pdev, mdss); in mdss_probe()
540 * level parent: MDSS, and children: MDP5/DPU, DSI, HDMI, eDP etc. in mdss_probe()
547 msm_mdss_destroy(mdss); in mdss_probe()
556 struct msm_mdss *mdss = platform_get_drvdata(pdev); in mdss_remove() local
560 msm_mdss_destroy(mdss); in mdss_remove()
710 { .compatible = "qcom,mdss" },
711 { .compatible = "qcom,msm8998-mdss", .data = &msm8998_data },
712 { .compatible = "qcom,qcm2290-mdss", .data = &qcm2290_data },
713 { .compatible = "qcom,sdm670-mdss", .data = &sdm670_data },
714 { .compatible = "qcom,sdm845-mdss", .data = &sdm845_data },
715 { .compatible = "qcom,sc7180-mdss", .data = &sc7180_data },
716 { .compatible = "qcom,sc7280-mdss", .data = &sc7280_data },
717 { .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data },
718 { .compatible = "qcom,sc8280xp-mdss", .data = &sc8280xp_data },
719 { .compatible = "qcom,sm6115-mdss", .data = &sm6115_data },
720 { .compatible = "qcom,sm6125-mdss", .data = &sm6125_data },
721 { .compatible = "qcom,sm6350-mdss", .data = &sm6350_data },
722 { .compatible = "qcom,sm6375-mdss", .data = &sm6350_data },
723 { .compatible = "qcom,sm7150-mdss", .data = &sm7150_data },
724 { .compatible = "qcom,sm8150-mdss", .data = &sm8150_data },
725 { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data },
726 { .compatible = "qcom,sm8350-mdss", .data = &sm8350_data },
727 { .compatible = "qcom,sm8450-mdss", .data = &sm8350_data },
728 { .compatible = "qcom,sm8550-mdss", .data = &sm8550_data },
729 { .compatible = "qcom,sm8650-mdss", .data = &sm8550_data},
730 { .compatible = "qcom,x1e80100-mdss", .data = &x1e80100_data},
739 .name = "msm-mdss",