Lines Matching defs:connector
260 * drm_atomic_set_crtc_for_connector - set CRTC for connector
261 * @conn_state: atomic state object for the connector
262 * @crtc: CRTC to use for the connector
264 * Changing the assigned CRTC for a connector requires us to grab the lock and
277 struct drm_connector *connector = conn_state->connector;
288 ~drm_connector_mask(conn_state->connector);
290 drm_connector_put(conn_state->connector);
300 drm_connector_mask(conn_state->connector);
302 drm_connector_get(conn_state->connector);
305 drm_dbg_atomic(connector->dev,
307 connector->base.id, connector->name,
310 drm_dbg_atomic(connector->dev,
312 connector->base.id, connector->name,
338 struct drm_connector *connector,
341 unsigned int index = drm_connector_index(connector);
355 struct drm_connector *connector)
357 unsigned int index = drm_connector_index(connector);
673 struct drm_connector *conn = conn_state->connector;
681 "Set [FB:%d] for connector state %p\n",
685 "Set [NOFB] for connector state %p\n",
691 static int drm_atomic_connector_set_property(struct drm_connector *connector,
695 struct drm_device *dev = connector->dev;
772 } else if (property == connector->scaling_mode_property) {
782 } else if (property == connector->colorspace_property) {
796 return set_out_fence_for_connector(state->state, connector,
798 } else if (property == connector->max_bpc_property) {
800 } else if (property == connector->privacy_screen_sw_state_property) {
802 } else if (connector->funcs->atomic_set_property) {
803 return connector->funcs->atomic_set_property(connector,
806 drm_dbg_atomic(connector->dev,
808 connector->base.id, connector->name,
817 drm_atomic_connector_get_property(struct drm_connector *connector,
821 struct drm_device *dev = connector->dev;
830 *val = connector->dpms;
865 } else if (property == connector->colorspace_property) {
867 } else if (property == connector->scaling_mode_property) {
881 } else if (property == connector->max_bpc_property) {
883 } else if (property == connector->privacy_screen_sw_state_property) {
885 } else if (connector->funcs->atomic_get_property) {
886 return connector->funcs->atomic_get_property(connector,
891 connector->base.id, connector->name,
907 struct drm_connector *connector = obj_to_connector(obj);
910 ret = drm_atomic_connector_get_property(connector,
911 connector->state, property, val);
961 struct drm_connector *connector,
968 int i, ret, old_mode = connector->dpms;
978 connector->dpms = mode;
980 crtc = connector->state->crtc;
1006 connector->dpms = old_mode;
1024 struct drm_connector *connector = obj_to_connector(obj);
1027 connector_state = drm_atomic_get_connector_state(state, connector);
1033 ret = drm_atomic_connector_set_property(connector,