Home
last modified time | relevance | path

Searched full:connector (Results 1 – 25 of 1631) sorted by relevance

12345678910>>...66

/linux/drivers/gpu/drm/
H A Ddrm_probe_helper.c57 * track of a per-connector hpd interrupt.
91 struct drm_connector *connector, in drm_mode_validate_pipeline() argument
95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline()
99 /* Step 1: Validate against connector */ in drm_mode_validate_pipeline()
100 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline()
105 drm_connector_for_each_possible_encoder(connector, encoder) { in drm_mode_validate_pipeline()
120 &connector->display_info, in drm_mode_validate_pipeline()
145 static int drm_helper_probe_add_cmdline_mode(struct drm_connector *connector) in drm_helper_probe_add_cmdline_mode() argument
150 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()
155 list_for_each_entry(mode, &connector->probed_modes, head) { in drm_helper_probe_add_cmdline_mode()
[all …]
H A Ddrm_connector.c56 * objects and initialized by setting the following fields. The connector is
58 * &struct drm_connector_funcs and a connector type, and then exposed to
62 * connectors to encoders 1:1, the connector should be attached at
75 * Global connector list for drm_connector_find_by_fwnode().
76 * Note drm_connector_[un]register() first take connector->lock and then
89 * Connector and encoder types.
132 * drm_get_connector_type_name - return a string for connector type
133 * @type: The connector type (DRM_MODE_CONNECTOR_*)
135 * Returns: the name of the connector type, or NULL if the type is not valid.
148 * @connector: connector to query
[all …]
H A Ddrm_sysfs.c71 struct drm_connector *connector = to_drm_connector(dev); in drm_connector_acpi_find_companion() local
73 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion()
183 * Connector properties
189 struct drm_connector *connector = to_drm_connector(device); in status_store() local
190 struct drm_device *dev = connector->dev; in status_store()
198 old_force = connector->force; in status_store()
201 connector->force = 0; in status_store()
203 connector->force = DRM_FORCE_ON; in status_store()
205 connector->force = DRM_FORCE_ON_DIGITAL; in status_store()
207 connector->force = DRM_FORCE_OFF; in status_store()
[all …]
H A Ddrm_client_modeset.c121 drm_connector_get_tiled_mode(struct drm_connector *connector) in drm_connector_get_tiled_mode() argument
125 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_get_tiled_mode()
126 if (mode->hdisplay == connector->tile_h_size && in drm_connector_get_tiled_mode()
127 mode->vdisplay == connector->tile_v_size) in drm_connector_get_tiled_mode()
134 drm_connector_fallback_non_tiled_mode(struct drm_connector *connector) in drm_connector_fallback_non_tiled_mode() argument
138 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_fallback_non_tiled_mode()
139 if (mode->hdisplay == connector->tile_h_size && in drm_connector_fallback_non_tiled_mode()
140 mode->vdisplay == connector->tile_v_size) in drm_connector_fallback_non_tiled_mode()
148 drm_connector_has_preferred_mode(struct drm_connector *connector, int width, int height) in drm_connector_has_preferred_mode() argument
152 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_has_preferred_mode()
[all …]
H A Ddrm_atomic_state_helper.c422 * __drm_atomic_helper_connector_state_reset - reset the connector state
423 * @conn_state: atomic connector state, must not be NULL
424 * @connector: connectotr object, must not be NULL
427 * values. This is useful for drivers that subclass the connector state.
431 struct drm_connector *connector) in __drm_atomic_helper_connector_state_reset() argument
433 conn_state->connector = connector; in __drm_atomic_helper_connector_state_reset()
438 * __drm_atomic_helper_connector_reset - reset state on connector
439 * @connector: drm connector
440 * @conn_state: connector state to assign
443 * the &drm_connector->state pointer of @connector, usually required when
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_backlight.c62 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw() argument
65 struct intel_panel *panel = &connector->panel; in clamp_user_to_hw()
75 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user() argument
78 struct intel_panel *panel = &connector->panel; in scale_hw_to_user()
84 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_backlight_invert_pwm_level() argument
86 struct intel_display *display = to_intel_display(connector); in intel_backlight_invert_pwm_level()
87 struct intel_panel *panel = &connector->panel; in intel_backlight_invert_pwm_level()
104 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level() local
105 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_set_pwm_level()
106 struct intel_panel *panel = &connector->panel; in intel_backlight_set_pwm_level()
[all …]
H A Dintel_connector.c40 int intel_connector_init(struct intel_connector *connector) in intel_connector_init() argument
54 __drm_atomic_helper_connector_reset(&connector->base, in intel_connector_init()
57 intel_panel_init_alloc(connector); in intel_connector_init()
64 struct intel_connector *connector; in intel_connector_alloc() local
66 connector = kzalloc(sizeof(*connector), GFP_KERNEL); in intel_connector_alloc()
67 if (!connector) in intel_connector_alloc()
70 if (intel_connector_init(connector) < 0) { in intel_connector_alloc()
71 kfree(connector); in intel_connector_alloc()
75 return connector; in intel_connector_alloc()
82 * Otherwise the destroy callbacks for the connector and the state should
[all …]
H A Dintel_dp_aux_backlight.c110 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight() argument
112 struct intel_display *display = to_intel_display(connector); in intel_dp_aux_supports_hdr_backlight()
113 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight()
115 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight()
126 "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n", in intel_dp_aux_supports_hdr_backlight()
127 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight()
146 !(connector->base.hdr_sink_metadata.hdmi_type1.metadata_type & in intel_dp_aux_supports_hdr_backlight()
149 …"[CONNECTOR:%d:%s] Panel is missing HDR static metadata. Possible support for Intel HDR backlight … in intel_dp_aux_supports_hdr_backlight()
150 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight()
172 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight() argument
[all …]
H A Dintel_panel.c59 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode() argument
61 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode()
65 static bool is_best_fixed_mode(struct intel_connector *connector, in is_best_fixed_mode() argument
78 if (intel_vrr_is_in_range(connector, vrefresh) && in is_best_fixed_mode()
79 intel_vrr_is_in_range(connector, fixed_mode_vrefresh) && in is_best_fixed_mode()
89 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode() argument
95 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode()
98 if (is_best_fixed_mode(connector, vrefresh, in intel_panel_fixed_mode()
128 intel_panel_downclock_mode(struct intel_connector *connector, in intel_panel_downclock_mode() argument
132 int min_vrefresh = connector->panel.vbt.seamless_drrs_min_refresh_rate; in intel_panel_downclock_mode()
[all …]
H A Dintel_hdcp.c57 struct intel_connector *connector) in intel_conn_to_vcpi() argument
65 if (!connector->port) in intel_conn_to_vcpi()
67 mgr = connector->port->mgr; in intel_conn_to_vcpi()
71 payload = drm_atomic_get_mst_payload_state(mst_state, connector->port); in intel_conn_to_vcpi()
100 struct intel_connector *connector; in intel_hdcp_required_content_stream() local
115 for_each_intel_connector_iter(connector, &conn_iter) { in intel_hdcp_required_content_stream()
116 if (connector->base.status == connector_status_disconnected) in intel_hdcp_required_content_stream()
119 if (!intel_encoder_is_mst(intel_attached_encoder(connector))) in intel_hdcp_required_content_stream()
122 conn_dig_port = intel_attached_dig_port(connector); in intel_hdcp_required_content_stream()
127 intel_conn_to_vcpi(state, connector); in intel_hdcp_required_content_stream()
[all …]
H A Dintel_dp_mst.c91 const struct intel_connector *connector, in intel_dp_mst_bw_overhead() argument
120 const struct intel_connector *connector, in intel_dp_mst_compute_m_n() argument
150 static int intel_dp_mst_dsc_get_slice_count(const struct intel_connector *connector, in intel_dp_mst_dsc_get_slice_count() argument
157 return intel_dp_dsc_get_slice_count(connector, in intel_dp_mst_dsc_get_slice_count()
176 struct intel_connector *connector = in intel_dp_mst_find_vcpi_slots_for_bpp() local
177 to_intel_connector(conn_state->connector); in intel_dp_mst_find_vcpi_slots_for_bpp()
178 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_mst_find_vcpi_slots_for_bpp()
194 if (!intel_dp_supports_fec(intel_dp, connector, crtc_state)) in intel_dp_mst_find_vcpi_slots_for_bpp()
215 dsc_slice_count = intel_dp_mst_dsc_get_slice_count(connector, crtc_state); in intel_dp_mst_find_vcpi_slots_for_bpp()
235 local_bw_overhead = intel_dp_mst_bw_overhead(crtc_state, connector, in intel_dp_mst_find_vcpi_slots_for_bpp()
[all …]
H A Dintel_display_debugfs.c161 struct drm_connector *connector; in intel_encoder_info() local
167 drm_for_each_connector_iter(connector, &conn_iter) { in intel_encoder_info()
169 connector->state; in intel_encoder_info()
174 seq_printf(m, "\t\t[CONNECTOR:%d:%s]\n", in intel_encoder_info()
175 connector->base.id, connector->name); in intel_encoder_info()
181 struct intel_connector *connector) in intel_panel_info() argument
185 if (list_empty(&connector->panel.fixed_modes)) in intel_panel_info()
190 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) in intel_panel_info()
201 seq_puts(m, "No Connector Support"); in intel_hdcp_info()
226 static void intel_dp_info(struct seq_file *m, struct intel_connector *connector) in intel_dp_info() argument
[all …]
/linux/Documentation/gpu/
H A Dkms-properties.csv2 ,DVI-I,“subconnector”,ENUM,"{ “Unknown”, “DVI-D”, “DVI-A” }",Connector,TBD
3 ,,“select subconnector”,ENUM,"{ “Automatic”, “DVI-D”, “DVI-A” }",Connector,TBD
4 …onnector”,ENUM,"{ ""Unknown"", ""Composite"", ""SVIDEO"", ""Component"", ""SCART"" }",Connector,TBD
5 …nector”,ENUM,"{ ""Automatic"", ""Composite"", ""SVIDEO"", ""Component"", ""SCART"" }",Connector,TBD
6 ,,“mode”,ENUM,"{ ""NTSC_M"", ""NTSC_J"", ""NTSC_443"", ""PAL_B"" } etc.",Connector,TBD
7 ,,“left margin”,RANGE,"Min=0, Max=100",Connector,TBD
8 ,,“right margin”,RANGE,"Min=0, Max=100",Connector,TBD
9 ,,“top margin”,RANGE,"Min=0, Max=100",Connector,TBD
10 ,,“bottom margin”,RANGE,"Min=0, Max=100",Connector,TBD
11 ,,“brightness”,RANGE,"Min=0, Max=100",Connector,TBD
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.c43 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument
45 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug()
47 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug()
49 /* bail if the connector does not have hpd pin, e.g., in amdgpu_connector_hotplug()
57 /* if the connector is already off, don't turn it back on */ in amdgpu_connector_hotplug()
58 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug()
62 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug()
82 /* Turn the connector off and back on immediately, which in amdgpu_connector_hotplug()
85 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); in amdgpu_connector_hotplug()
86 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); in amdgpu_connector_hotplug()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_connectors.c40 void radeon_connector_hotplug(struct drm_connector *connector) in radeon_connector_hotplug() argument
42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug()
44 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug()
46 /* bail if the connector does not have hpd pin, e.g., in radeon_connector_hotplug()
54 /* if the connector is already off, don't turn it back on */ in radeon_connector_hotplug()
56 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug()
60 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug()
80 /* Turn the connector off and back on immediately, which in radeon_connector_hotplug()
83 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); in radeon_connector_hotplug()
84 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); in radeon_connector_hotplug()
[all …]
/linux/drivers/gpu/drm/display/
H A Ddrm_bridge_connector.c26 * The DRM bridge connector helper object provides a DRM connector
27 * implementation that wraps a chain of &struct drm_bridge. The connector
32 * To use the helper, display controller drivers create a bridge connector with
34 * connector with the chain of bridges passed to the function and registers it
35 * with the DRM device. At that point the connector becomes fully usable, no
38 * The DRM bridge connector operations are implemented based on the operations
39 * provided by the bridges in the chain. Each connector operation is delegated
40 * to the bridge closest to the connector (at the end of the chain) that
46 * flag (none of the bridges shall create a DRM connector directly).
50 * struct drm_bridge_connector - A connector backed by a chain of bridges
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c53 nouveau_conn_native_mode(struct drm_connector *connector) in nouveau_conn_native_mode() argument
55 const struct drm_connector_helper_funcs *helper = connector->helper_private; in nouveau_conn_native_mode()
56 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_conn_native_mode()
57 struct drm_device *dev = connector->dev; in nouveau_conn_native_mode()
61 list_for_each_entry(mode, &connector->probed_modes, head) { in nouveau_conn_native_mode()
62 if (helper->mode_valid(connector, mode) != MODE_OK || in nouveau_conn_native_mode()
97 nouveau_conn_atomic_get_property(struct drm_connector *connector, in nouveau_conn_atomic_get_property() argument
102 struct nouveau_display *disp = nouveau_display(connector->dev); in nouveau_conn_atomic_get_property()
103 struct drm_device *dev = connector->dev; in nouveau_conn_atomic_get_property()
128 nouveau_conn_atomic_set_property(struct drm_connector *connector, in nouveau_conn_atomic_set_property() argument
[all …]
/linux/drivers/gpu/drm/gud/
H A Dgud_connector.c25 struct drm_connector connector; member
44 static inline struct gud_connector *to_gud_connector(struct drm_connector *connector) in to_gud_connector() argument
46 return container_of(connector, struct gud_connector, connector); in to_gud_connector()
49 static void gud_conn_err(struct drm_connector *connector, const char *msg, int ret) in gud_conn_err() argument
51 dev_err(connector->dev->dev, "%s: %s (ret=%d)\n", connector->name, msg, ret); in gud_conn_err()
62 struct drm_connector *connector = &gconn->connector; in gud_connector_backlight_update_status_work() local
64 struct drm_device *drm = connector->dev; in gud_connector_backlight_update_status_work()
81 connector_state = drm_atomic_get_connector_state(state, connector); in gud_connector_backlight_update_status_work()
111 struct drm_connector *connector = bl_get_data(bd); in gud_connector_backlight_update_status() local
112 struct gud_connector *gconn = to_gud_connector(connector); in gud_connector_backlight_update_status()
[all …]
/linux/include/drm/
H A Ddrm_connector.h55 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */
61 * This enum is used to track the connector status. There are no separate
66 * @connector_status_connected: The connector is definitely connected to
71 * @connector_status_disconnected: The connector isn't connected to a
74 * nothing there. It is driver-dependent whether a connector with this
79 * @connector_status_unknown: The connector's status could not be
81 * flicker (like load-detection when the connector is in use), or when a
83 * free CRTC). It should be possible to light up the connector with one
86 * there's not connector with @connector_status_connected.
95 * This enum is used to track the status of initializing a connector and
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dfieldseq_tb.svg50 inkscape:connector-curvature="0"
60 inkscape:connector-curvature="0" /><path
64 inkscape:connector-curvature="0" /><path
68 inkscape:connector-curvature="0" /><path
72 inkscape:connector-curvature="0" /><path
76 inkscape:connector-curvature="0" /><path
80 inkscape:connector-curvature="0" /><path
84 inkscape:connector-curvature="0" /><path
88 inkscape:connector-curvature="0" /><path
92 inkscape:connector-curvature="0" /><path
[all …]
H A Dfieldseq_bt.svg50 inkscape:connector-curvature="0"
60 inkscape:connector-curvature="0" /><path
64 inkscape:connector-curvature="0" /><path
68 inkscape:connector-curvature="0" /><path
72 inkscape:connector-curvature="0" /><path
76 inkscape:connector-curvature="0" /><path
80 inkscape:connector-curvature="0" /><path
84 inkscape:connector-curvature="0" /><path
88 inkscape:connector-curvature="0" /><path
92 inkscape:connector-curvature="0" /><path
[all …]
/linux/drivers/gpu/drm/ast/
H A Dast_sil164.c21 * Connector
24 static int ast_sil164_connector_helper_get_modes(struct drm_connector *connector) in ast_sil164_connector_helper_get_modes() argument
26 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_sil164_connector_helper_get_modes()
30 count = drm_connector_helper_get_modes(connector); in ast_sil164_connector_helper_get_modes()
32 drm_edid_connector_update(connector, NULL); in ast_sil164_connector_helper_get_modes()
39 count = drm_add_modes_noedid(connector, 4096, 4096); in ast_sil164_connector_helper_get_modes()
41 drm_set_preferred_mode(connector, 1024, 768); in ast_sil164_connector_helper_get_modes()
47 static int ast_sil164_connector_helper_detect_ctx(struct drm_connector *connector, in ast_sil164_connector_helper_detect_ctx() argument
51 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_sil164_connector_helper_detect_ctx()
54 status = drm_connector_helper_detect_from_ddc(connector, ctx, force); in ast_sil164_connector_helper_detect_ctx()
[all …]
H A Dast_vga.c21 * Connector
24 static int ast_vga_connector_helper_get_modes(struct drm_connector *connector) in ast_vga_connector_helper_get_modes() argument
26 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_get_modes()
30 count = drm_connector_helper_get_modes(connector); in ast_vga_connector_helper_get_modes()
32 drm_edid_connector_update(connector, NULL); in ast_vga_connector_helper_get_modes()
39 count = drm_add_modes_noedid(connector, 4096, 4096); in ast_vga_connector_helper_get_modes()
41 drm_set_preferred_mode(connector, 1024, 768); in ast_vga_connector_helper_get_modes()
47 static int ast_vga_connector_helper_detect_ctx(struct drm_connector *connector, in ast_vga_connector_helper_detect_ctx() argument
51 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_detect_ctx()
54 status = drm_connector_helper_detect_from_ddc(connector, ctx, force); in ast_vga_connector_helper_detect_ctx()
[all …]
/linux/include/media/
H A Dv4l2-fwnode.h103 * enum v4l2_connector_type - connector type
104 * @V4L2_CONN_UNKNOWN: unknown connector type, no V4L2 connector configuration
105 * @V4L2_CONN_COMPOSITE: analog composite connector
106 * @V4L2_CONN_SVIDEO: analog svideo connector
115 * struct v4l2_connector_link - connector link data structure
118 * @fwnode_link: &struct v4l2_fwnode_link link between the connector and the
119 * device the connector belongs to.
127 * struct v4l2_fwnode_connector_analog - analog connector data structure
128 * @sdtv_stds: sdtv standards this connector supports, set to V4L2_STD_ALL
136 * struct v4l2_fwnode_connector - the connector data structure
[all …]
/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
7 title: USB Connector
13 A USB connector node represents a physical USB connector. It should be a child
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
26 - const: gpio-usb-b-connector
27 - const: usb-b-connector
30 - const: samsung,usb-connector-11pin
31 - const: usb-b-connector
[all …]

12345678910>>...66