Lines Matching +full:mali +full:- +full:d71
1 // SPDX-License-Identifier: GPL-2.0
27 return mdrv ? mdrv->mdev : NULL; in dev_to_mdev()
32 struct device *dev = &pdev->dev; in komeda_platform_remove()
35 komeda_kms_detach(mdrv->kms); in komeda_platform_remove()
40 komeda_dev_suspend(mdrv->mdev); in komeda_platform_remove()
42 komeda_dev_destroy(mdrv->mdev); in komeda_platform_remove()
50 struct device *dev = &pdev->dev; in komeda_platform_shutdown()
53 komeda_kms_shutdown(mdrv->kms); in komeda_platform_shutdown()
58 struct device *dev = &pdev->dev; in komeda_platform_probe()
68 return -ENOMEM; in komeda_platform_probe()
70 mdrv->mdev = komeda_dev_create(dev); in komeda_platform_probe()
71 if (IS_ERR(mdrv->mdev)) { in komeda_platform_probe()
72 err = PTR_ERR(mdrv->mdev); in komeda_platform_probe()
78 komeda_dev_resume(mdrv->mdev); in komeda_platform_probe()
80 mdrv->kms = komeda_kms_attach(mdrv->mdev); in komeda_platform_probe()
81 if (IS_ERR(mdrv->kms)) { in komeda_platform_probe()
82 err = PTR_ERR(mdrv->kms); in komeda_platform_probe()
87 drm_fbdev_dma_setup(&mdrv->kms->base, 32); in komeda_platform_probe()
95 komeda_dev_suspend(mdrv->mdev); in komeda_platform_probe()
97 komeda_dev_destroy(mdrv->mdev); in komeda_platform_probe()
105 { .compatible = "arm,mali-d71", .data = d71_identify, },
106 { .compatible = "arm,mali-d32", .data = d71_identify, },
116 return komeda_dev_suspend(mdrv->mdev); in komeda_rt_pm_suspend()
123 return komeda_dev_resume(mdrv->mdev); in komeda_rt_pm_resume()
131 res = drm_mode_config_helper_suspend(&mdrv->kms->base); in komeda_pm_suspend()
134 komeda_dev_suspend(mdrv->mdev); in komeda_pm_suspend()
144 komeda_dev_resume(mdrv->mdev); in komeda_pm_resume()
146 return drm_mode_config_helper_resume(&mdrv->kms->base); in komeda_pm_resume()