Lines Matching refs:ddev
27 struct drm_device *ddev = old_state->dev; in tidss_atomic_commit_tail() local
28 struct tidss_device *tidss = to_tidss(ddev); in tidss_atomic_commit_tail()
30 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_atomic_commit_tail()
34 drm_atomic_helper_commit_modeset_disables(ddev, old_state); in tidss_atomic_commit_tail()
35 drm_atomic_helper_commit_planes(ddev, old_state, 0); in tidss_atomic_commit_tail()
36 drm_atomic_helper_commit_modeset_enables(ddev, old_state); in tidss_atomic_commit_tail()
39 drm_atomic_helper_wait_for_flip_done(ddev, old_state); in tidss_atomic_commit_tail()
41 drm_atomic_helper_cleanup_planes(ddev, old_state); in tidss_atomic_commit_tail()
50 static int tidss_atomic_check(struct drm_device *ddev, in tidss_atomic_check() argument
60 ret = drm_atomic_helper_check(ddev, state); in tidss_atomic_check()
253 struct drm_device *ddev = &tidss->ddev; in tidss_modeset_init() local
258 ret = drmm_mode_config_init(ddev); in tidss_modeset_init()
262 ddev->mode_config.min_width = 8; in tidss_modeset_init()
263 ddev->mode_config.min_height = 8; in tidss_modeset_init()
264 ddev->mode_config.max_width = 8096; in tidss_modeset_init()
265 ddev->mode_config.max_height = 8096; in tidss_modeset_init()
266 ddev->mode_config.normalize_zpos = true; in tidss_modeset_init()
267 ddev->mode_config.funcs = &mode_config_funcs; in tidss_modeset_init()
268 ddev->mode_config.helper_private = &mode_config_helper_funcs; in tidss_modeset_init()
274 ret = drm_vblank_init(ddev, tidss->num_crtcs); in tidss_modeset_init()
278 drm_mode_config_reset(ddev); in tidss_modeset_init()