Lines Matching refs:mode_set

222 		remove_from_modeset(&fb_helper->crtc_info[i].mode_set, connector);  in drm_fb_helper_remove_one_connector()
270 struct drm_mode_set *mode_set = in drm_fb_helper_debug_enter() local
271 &helper->crtc_info[i].mode_set; in drm_fb_helper_debug_enter()
273 if (!mode_set->crtc->enabled) in drm_fb_helper_debug_enter()
276 funcs = mode_set->crtc->helper_private; in drm_fb_helper_debug_enter()
277 drm_fb_helper_save_lut_atomic(mode_set->crtc, helper); in drm_fb_helper_debug_enter()
278 funcs->mode_set_base_atomic(mode_set->crtc, in drm_fb_helper_debug_enter()
279 mode_set->fb, in drm_fb_helper_debug_enter()
280 mode_set->x, in drm_fb_helper_debug_enter()
281 mode_set->y, in drm_fb_helper_debug_enter()
317 struct drm_mode_set *mode_set = &helper->crtc_info[i].mode_set; in drm_fb_helper_debug_leave() local
318 crtc = mode_set->crtc; in drm_fb_helper_debug_leave()
330 drm_fb_helper_restore_lut_atomic(mode_set->crtc); in drm_fb_helper_debug_leave()
331 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x, in drm_fb_helper_debug_leave()
378 struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; in restore_fbdev_mode_atomic() local
380 ret = __drm_atomic_helper_set_config(mode_set, state); in restore_fbdev_mode_atomic()
428 struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; in restore_fbdev_mode() local
429 struct drm_crtc *crtc = mode_set->crtc; in restore_fbdev_mode()
442 ret = drm_mode_set_config_internal(mode_set); in restore_fbdev_mode()
577 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_dpms()
637 kfree(helper->crtc_info[i].mode_set.connectors); in drm_fb_helper_crtc_free()
638 if (helper->crtc_info[i].mode_set.mode) in drm_fb_helper_crtc_free()
639 drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode); in drm_fb_helper_crtc_free()
706 fb_helper->crtc_info[i].mode_set.connectors = in drm_fb_helper_init()
711 if (!fb_helper->crtc_info[i].mode_set.connectors) in drm_fb_helper_init()
713 fb_helper->crtc_info[i].mode_set.num_connectors = 0; in drm_fb_helper_init()
718 fb_helper->crtc_info[i].mode_set.crtc = crtc; in drm_fb_helper_init()
1068 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_setcmap()
1242 struct drm_mode_set *mode_set; in pan_display_atomic() local
1244 mode_set = &fb_helper->crtc_info[i].mode_set; in pan_display_atomic()
1246 mode_set->x = var->xoffset; in pan_display_atomic()
1247 mode_set->y = var->yoffset; in pan_display_atomic()
1249 ret = __drm_atomic_helper_set_config(mode_set, state); in pan_display_atomic()
1253 plane = mode_set->crtc->primary; in pan_display_atomic()
1313 modeset = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_pan_display()
1392 struct drm_mode_set *mode_set; in drm_fb_helper_single_fb_probe() local
1401 mode_set = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_single_fb_probe()
1412 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
1417 for (j = 0; j < mode_set->num_connectors; j++) { in drm_fb_helper_single_fb_probe()
1418 struct drm_connector *connector = mode_set->connectors[j]; in drm_fb_helper_single_fb_probe()
1456 if (fb_helper->crtc_info[i].mode_set.num_connectors) in drm_fb_helper_single_fb_probe()
1457 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
2030 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()
2039 modeset = &fb_crtc->mode_set; in drm_setup_crtcs()
2043 mode->name, fb_crtc->mode_set.crtc->base.id, offset->x, offset->y); in drm_setup_crtcs()
2060 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()