Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_fbdev.c164 struct hibmc_fbdev *hifbdev; in hibmc_fbdev_init() local
166 hifbdev = devm_kzalloc(priv->dev->dev, sizeof(*hifbdev), GFP_KERNEL); in hibmc_fbdev_init()
167 if (!hifbdev) { in hibmc_fbdev_init()
172 priv->fbdev = hifbdev; in hibmc_fbdev_init()
173 drm_fb_helper_prepare(priv->dev, &hifbdev->helper, in hibmc_fbdev_init()
177 ret = drm_fb_helper_init(priv->dev, &hifbdev->helper, 1); in hibmc_fbdev_init()
183 ret = drm_fb_helper_single_add_all_connectors(&hifbdev->helper); in hibmc_fbdev_init()
189 ret = drm_fb_helper_initial_config(&hifbdev->helper, 16); in hibmc_fbdev_init()
195 var = &hifbdev->helper.fbdev->var; in hibmc_fbdev_init()
196 fix = &hifbdev->helper.fbdev->fix; in hibmc_fbdev_init()
[all …]