Lines Matching refs:mode_config
101 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in drm_fb_helper_single_add_all_connectors()
127 WARN_ON(!mutex_is_locked(&fb_helper->dev->mode_config.mutex)); in drm_fb_helper_add_one_connector()
179 WARN_ON(!mutex_is_locked(&fb_helper->dev->mode_config.mutex)); in drm_fb_helper_remove_one_connector()
272 list_for_each_entry(c, &dev->mode_config.crtc_list, head) { in drm_mode_config_fb()
324 list_for_each_entry(plane, &dev->mode_config.plane_list, head) { in restore_fbdev_mode()
328 if (dev->mode_config.rotation_property) { in restore_fbdev_mode()
330 dev->mode_config.rotation_property, in restore_fbdev_mode()
461 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_is_bound()
534 dev->mode_config.dpms_property, dpms_mode); in drm_fb_helper_dpms()
638 …fb_helper->connector_info = kcalloc(dev->mode_config.num_connector, sizeof(struct drm_fb_helper_co… in drm_fb_helper_init()
643 fb_helper->connector_info_alloc_count = dev->mode_config.num_connector; in drm_fb_helper_init()
658 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_init()
1541 width = dev->mode_config.max_width; in drm_setup_crtcs()
1542 height = dev->mode_config.max_height; in drm_setup_crtcs()
1544 crtcs = kcalloc(dev->mode_config.num_connector, in drm_setup_crtcs()
1546 modes = kcalloc(dev->mode_config.num_connector, in drm_setup_crtcs()
1548 enabled = kcalloc(dev->mode_config.num_connector, in drm_setup_crtcs()
1561 memset(modes, 0, dev->mode_config.num_connector*sizeof(modes[0])); in drm_setup_crtcs()
1562 memset(crtcs, 0, dev->mode_config.num_connector*sizeof(crtcs[0])); in drm_setup_crtcs()
1645 mutex_lock(&dev->mode_config.mutex); in drm_fb_helper_initial_config()
1647 dev->mode_config.max_width, in drm_fb_helper_initial_config()
1648 dev->mode_config.max_height); in drm_fb_helper_initial_config()
1649 mutex_unlock(&dev->mode_config.mutex); in drm_fb_helper_initial_config()
1688 mutex_lock(&fb_helper->dev->mode_config.mutex); in drm_fb_helper_hotplug_event()
1691 mutex_unlock(&fb_helper->dev->mode_config.mutex); in drm_fb_helper_hotplug_event()
1700 mutex_unlock(&fb_helper->dev->mode_config.mutex); in drm_fb_helper_hotplug_event()