Lines Matching refs:fsl_dev
21 int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev) in fsl_dcu_drm_modeset_init() argument
25 drm_mode_config_init(fsl_dev->drm); in fsl_dcu_drm_modeset_init()
27 fsl_dev->drm->mode_config.min_width = 0; in fsl_dcu_drm_modeset_init()
28 fsl_dev->drm->mode_config.min_height = 0; in fsl_dcu_drm_modeset_init()
29 fsl_dev->drm->mode_config.max_width = 2031; in fsl_dcu_drm_modeset_init()
30 fsl_dev->drm->mode_config.max_height = 2047; in fsl_dcu_drm_modeset_init()
31 fsl_dev->drm->mode_config.funcs = &fsl_dcu_drm_mode_config_funcs; in fsl_dcu_drm_modeset_init()
33 ret = fsl_dcu_drm_crtc_create(fsl_dev); in fsl_dcu_drm_modeset_init()
37 ret = fsl_dcu_drm_encoder_create(fsl_dev, &fsl_dev->crtc); in fsl_dcu_drm_modeset_init()
41 ret = fsl_dcu_create_outputs(fsl_dev); in fsl_dcu_drm_modeset_init()
45 drm_mode_config_reset(fsl_dev->drm); in fsl_dcu_drm_modeset_init()
46 drm_kms_helper_poll_init(fsl_dev->drm); in fsl_dcu_drm_modeset_init()
51 drm_mode_config_cleanup(fsl_dev->drm); in fsl_dcu_drm_modeset_init()