Lines Matching refs:connectors

59 		modeset->connectors = kcalloc(max_connector_count,  in drm_client_modeset_create()
60 sizeof(*modeset->connectors), GFP_KERNEL); in drm_client_modeset_create()
61 if (!modeset->connectors) in drm_client_modeset_create()
84 drm_connector_put(modeset->connectors[i]); in drm_client_modeset_release()
85 modeset->connectors[i] = NULL; in drm_client_modeset_release()
100 kfree(modeset->connectors); in drm_client_modeset_free()
234 static void drm_client_connectors_enabled(struct drm_connector **connectors, in drm_client_connectors_enabled() argument
243 connector = connectors[i]; in drm_client_connectors_enabled()
257 enabled[i] = drm_connector_enabled(connectors[i], false); in drm_client_connectors_enabled()
261 struct drm_connector **connectors, in drm_client_target_cloned() argument
290 modes[i] = drm_connector_pick_cmdline_mode(connectors[i]); in drm_client_target_cloned()
323 list_for_each_entry(mode, &connectors[i]->modes, head) { in drm_client_target_cloned()
346 struct drm_connector **connectors, in drm_client_get_tile_offsets() argument
358 connector = connectors[i]; in drm_client_get_tile_offsets()
381 struct drm_connector **connectors, in drm_client_target_preferred() argument
395 if (connectors[i]->has_tile && in drm_client_target_preferred()
396 connectors[i]->status == connector_status_connected) in drm_client_target_preferred()
402 connector = connectors[i]; in drm_client_target_preferred()
431 drm_client_get_tile_offsets(dev, connectors, connector_count, in drm_client_target_preferred()
501 struct drm_connector **connectors, in drm_client_pick_crtcs() argument
517 connector = connectors[n]; in drm_client_pick_crtcs()
520 best_score = drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_pick_crtcs()
562 score = my_score + drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_pick_crtcs()
576 struct drm_connector **connectors, in drm_client_firmware_config() argument
613 if (connectors[i]->has_tile && in drm_client_firmware_config()
614 connectors[i]->status == connector_status_connected) in drm_client_firmware_config()
624 connector = connectors[i]; in drm_client_firmware_config()
785 struct drm_connector *connector, **connectors = NULL; in drm_client_modeset_probe() local
808 tmp = krealloc(connectors, (connector_count + 1) * sizeof(*connectors), GFP_KERNEL); in drm_client_modeset_probe()
814 connectors = tmp; in drm_client_modeset_probe()
816 connectors[connector_count++] = connector; in drm_client_modeset_probe()
836 total_modes_count += connectors[i]->funcs->fill_modes(connectors[i], width, height); in drm_client_modeset_probe()
839 drm_client_connectors_enabled(connectors, connector_count, enabled); in drm_client_modeset_probe()
841 if (!drm_client_firmware_config(client, connectors, connector_count, crtcs, in drm_client_modeset_probe()
847 if (!drm_client_target_cloned(dev, connectors, connector_count, modes, in drm_client_modeset_probe()
849 !drm_client_target_preferred(dev, connectors, connector_count, modes, in drm_client_modeset_probe()
856 drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_modeset_probe()
869 struct drm_connector *connector = connectors[i]; in drm_client_modeset_probe()
889 modeset->connectors[modeset->num_connectors++] = connector; in drm_client_modeset_probe()
904 drm_connector_put(connectors[i]); in drm_client_modeset_probe()
905 kfree(connectors); in drm_client_modeset_probe()
926 struct drm_connector *connector = modeset->connectors[0]; in drm_client_rotation()
1220 connector = modeset->connectors[j]; in drm_client_modeset_dpms_legacy()