/Linux-v5.10/drivers/gpu/drm/i915/display/ |
D | intel_connector.c | 40 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() 62 struct intel_connector *connector; in intel_connector_alloc() local 64 connector = kzalloc(sizeof(*connector), GFP_KERNEL); in intel_connector_alloc() 65 if (!connector) in intel_connector_alloc() 68 if (intel_connector_init(connector) < 0) { in intel_connector_alloc() 69 kfree(connector); in intel_connector_alloc() 73 return connector; in intel_connector_alloc() 80 * Otherwise the destroy callbacks for the connector and the state should 83 void intel_connector_free(struct intel_connector *connector) in intel_connector_free() argument [all …]
|
D | intel_panel.c | 63 intel_panel_edid_downclock_mode(struct intel_connector *connector, in intel_panel_edid_downclock_mode() argument 66 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_panel_edid_downclock_mode() 71 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_edid_downclock_mode() 98 "[CONNECTOR:%d:%s] using downclock mode from EDID: ", in intel_panel_edid_downclock_mode() 99 connector->base.base.id, connector->base.name); in intel_panel_edid_downclock_mode() 106 intel_panel_edid_fixed_mode(struct intel_connector *connector) in intel_panel_edid_fixed_mode() argument 108 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_panel_edid_fixed_mode() 112 if (list_empty(&connector->base.probed_modes)) in intel_panel_edid_fixed_mode() 116 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_edid_fixed_mode() 125 "[CONNECTOR:%d:%s] using preferred mode from EDID: ", in intel_panel_edid_fixed_mode() [all …]
|
D | intel_hdcp.c | 66 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable() argument 68 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_capable() 69 const struct intel_hdcp_shim *shim = connector->hdcp.shim; in intel_hdcp_capable() 87 bool intel_hdcp2_capable(struct intel_connector *connector) in intel_hdcp2_capable() argument 89 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp2_capable() 90 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_hdcp2_capable() 91 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp2_capable() 290 int intel_hdcp_validate_v_prime(struct intel_connector *connector, in intel_hdcp_validate_v_prime() argument 294 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_validate_v_prime() 295 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_hdcp_validate_v_prime() [all …]
|
D | intel_dp_mst.c | 50 struct intel_connector *connector = in intel_dp_mst_compute_link_config() local 51 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_link_config() 52 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_mst_compute_link_config() 70 connector->port, in intel_dp_mst_compute_link_config() 102 struct intel_connector *connector = in intel_dp_mst_compute_config() local 103 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_config() 118 pipe_config->has_audio = connector->port->has_audio; in intel_dp_mst_compute_config() 173 struct intel_connector *connector; in intel_dp_mst_transcoder_mask() local 180 for_each_new_intel_connector_in_state(state, connector, conn_state, i) { in intel_dp_mst_transcoder_mask() 184 if (connector->mst_port != mst_port || !conn_state->base.crtc) in intel_dp_mst_transcoder_mask() [all …]
|
/Linux-v5.10/Documentation/gpu/ |
D | kms-properties.csv | 2 ,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-v5.10/drivers/gpu/drm/ |
D | drm_connector.c | 49 * objects and initialized by setting the following fields. The connector is 51 * &struct drm_connector_funcs and a connector type, and then exposed to 55 * connectors to encoders 1:1, the connector should be attached at 74 * Connector and encoder types. 116 * drm_get_connector_type_name - return a string for connector type 117 * @type: The connector type (DRM_MODE_CONNECTOR_*) 119 * Returns: the name of the connector type, or NULL if the type is not valid. 132 * @connector: connector to query 134 * The kernel supports per-connector configuration of its consoles through 137 * particular connector. This is typically only used during the early fbdev [all …]
|
D | drm_probe_helper.c | 57 * 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 …]
|
D | drm_bridge_connector.c | 22 * The DRM bridge connector helper object provides a DRM connector 23 * implementation that wraps a chain of &struct drm_bridge. The connector 28 * To use the helper, display controller drivers create a bridge connector with 30 * connector with the chain of bridges passed to the function and registers it 31 * with the DRM device. At that point the connector becomes fully usable, no 34 * The DRM bridge connector operations are implemented based on the operations 35 * provided by the bridges in the chain. Each connector operation is delegated 36 * to the bridge closest to the connector (at the end of the chain) that 42 * flag (none of the bridges shall create a DRM connector directly). 46 * struct drm_bridge_connector - A connector backed by a chain of bridges [all …]
|
D | drm_sysfs.c | 106 * Connector properties 112 struct drm_connector *connector = to_drm_connector(device); in status_store() local 113 struct drm_device *dev = connector->dev; in status_store() 121 old_force = connector->force; in status_store() 124 connector->force = 0; in status_store() 126 connector->force = DRM_FORCE_ON; in status_store() 128 connector->force = DRM_FORCE_ON_DIGITAL; in status_store() 130 connector->force = DRM_FORCE_OFF; in status_store() 134 if (old_force != connector->force || !connector->force) { in status_store() 135 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] force updated from %d to %d or reprobing\n", in status_store() [all …]
|
D | drm_client_modeset.c | 118 drm_connector_get_tiled_mode(struct drm_connector *connector) in drm_connector_get_tiled_mode() argument 122 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_get_tiled_mode() 123 if (mode->hdisplay == connector->tile_h_size && in drm_connector_get_tiled_mode() 124 mode->vdisplay == connector->tile_v_size) in drm_connector_get_tiled_mode() 131 drm_connector_fallback_non_tiled_mode(struct drm_connector *connector) in drm_connector_fallback_non_tiled_mode() argument 135 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_fallback_non_tiled_mode() 136 if (mode->hdisplay == connector->tile_h_size && in drm_connector_fallback_non_tiled_mode() 137 mode->vdisplay == connector->tile_v_size) in drm_connector_fallback_non_tiled_mode() 145 drm_connector_has_preferred_mode(struct drm_connector *connector, int width, int height) in drm_connector_has_preferred_mode() argument 149 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_has_preferred_mode() [all …]
|
D | drm_atomic_state_helper.c | 380 * __drm_atomic_helper_connector_state_reset - reset the connector state 381 * @conn_state: atomic connector state, must not be NULL 382 * @connector: connectotr object, must not be NULL 385 * values. This is useful for drivers that subclass the connector state. 389 struct drm_connector *connector) in __drm_atomic_helper_connector_state_reset() argument 391 conn_state->connector = connector; in __drm_atomic_helper_connector_state_reset() 396 * __drm_atomic_helper_connector_reset - reset state on connector 397 * @connector: drm connector 398 * @conn_state: connector state to assign 401 * the &drm_connector->state pointer of @connector, usually required when [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 42 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument 44 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 46 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug() 48 /* bail if the connector does not have hpd pin, e.g., in amdgpu_connector_hotplug() 56 /* if the connector is already off, don't turn it back on */ in amdgpu_connector_hotplug() 57 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 61 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 81 /* Turn the connector off and back on immediately, which in amdgpu_connector_hotplug() 84 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); in amdgpu_connector_hotplug() 85 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); in amdgpu_connector_hotplug() [all …]
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 40 static int radeon_dp_handle_hpd(struct drm_connector *connector) in radeon_dp_handle_hpd() argument 42 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_dp_handle_hpd() 50 void radeon_connector_hotplug(struct drm_connector *connector) in radeon_connector_hotplug() argument 52 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 54 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug() 56 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 63 radeon_dp_handle_hpd(connector); in radeon_connector_hotplug() 67 /* bail if the connector does not have hpd pin, e.g., in radeon_connector_hotplug() 75 /* if the connector is already off, don't turn it back on */ in radeon_connector_hotplug() 77 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug() [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_connector.c | 54 nouveau_conn_native_mode(struct drm_connector *connector) in nouveau_conn_native_mode() argument 56 const struct drm_connector_helper_funcs *helper = connector->helper_private; in nouveau_conn_native_mode() 57 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_conn_native_mode() 58 struct drm_device *dev = connector->dev; in nouveau_conn_native_mode() 62 list_for_each_entry(mode, &connector->probed_modes, head) { in nouveau_conn_native_mode() 63 if (helper->mode_valid(connector, mode) != MODE_OK || in nouveau_conn_native_mode() 98 nouveau_conn_atomic_get_property(struct drm_connector *connector, in nouveau_conn_atomic_get_property() argument 103 struct nouveau_display *disp = nouveau_display(connector->dev); in nouveau_conn_atomic_get_property() 104 struct drm_device *dev = connector->dev; in nouveau_conn_atomic_get_property() 129 nouveau_conn_atomic_set_property(struct drm_connector *connector, in nouveau_conn_atomic_set_property() argument [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/connector/ |
D | usb-connector.yaml | 4 $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 …]
|
/Linux-v5.10/include/drm/ |
D | drm_connector.h | 50 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 56 * This enum is used to track the connector status. There are no separate 61 * @connector_status_connected: The connector is definitely connected to 66 * @connector_status_disconnected: The connector isn't connected to a 69 * nothing there. It is driver-dependent whether a connector with this 74 * @connector_status_unknown: The connector's status could not be 76 * flicker (like load-detection when the connector is in use), or when a 78 * free CRTC). It should be possible to light up the connector with one 81 * there's not connector with @connector_status_connected. 90 * This enum is used to track the status of initializing a connector and [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/edp/ |
D | edp_connector.c | 17 struct drm_connector *connector, bool force) in edp_connector_detect() argument 19 struct edp_connector *edp_connector = to_edp_connector(connector); in edp_connector_detect() 27 static void edp_connector_destroy(struct drm_connector *connector) in edp_connector_destroy() argument 29 struct edp_connector *edp_connector = to_edp_connector(connector); in edp_connector_destroy() 33 drm_connector_cleanup(connector); in edp_connector_destroy() 38 static int edp_connector_get_modes(struct drm_connector *connector) in edp_connector_get_modes() argument 40 struct edp_connector *edp_connector = to_edp_connector(connector); in edp_connector_get_modes() 47 ret = msm_edp_ctrl_get_panel_info(edp->ctrl, connector, &drm_edid); in edp_connector_get_modes() 51 drm_connector_update_edid_property(connector, drm_edid); in edp_connector_get_modes() 53 ret = drm_add_edid_modes(connector, drm_edid); in edp_connector_get_modes() [all …]
|
/Linux-v5.10/drivers/gpu/drm/udl/ |
D | udl_connector.c | 46 static int udl_get_modes(struct drm_connector *connector) in udl_get_modes() argument 49 container_of(connector, in udl_get_modes() 51 connector); in udl_get_modes() 53 drm_connector_update_edid_property(connector, udl_connector->edid); in udl_get_modes() 55 return drm_add_edid_modes(connector, udl_connector->edid); in udl_get_modes() 59 static enum drm_mode_status udl_mode_valid(struct drm_connector *connector, in udl_mode_valid() argument 62 struct udl_device *udl = to_udl(connector->dev); in udl_mode_valid() 73 udl_detect(struct drm_connector *connector, bool force) in udl_detect() argument 75 struct udl_device *udl = to_udl(connector->dev); in udl_detect() 77 container_of(connector, in udl_detect() [all …]
|
/Linux-v5.10/drivers/gpu/drm/omapdrm/ |
D | omap_connector.c | 14 * connector funcs 25 struct drm_connector *connector, bool force) in omap_connector_detect() argument 30 static void omap_connector_destroy(struct drm_connector *connector) in omap_connector_destroy() argument 32 struct omap_connector *omap_connector = to_omap_connector(connector); in omap_connector_destroy() 34 DBG("%s", connector->name); in omap_connector_destroy() 36 drm_connector_unregister(connector); in omap_connector_destroy() 37 drm_connector_cleanup(connector); in omap_connector_destroy() 44 static int omap_connector_get_modes(struct drm_connector *connector) in omap_connector_get_modes() argument 46 struct omap_connector *omap_connector = to_omap_connector(connector); in omap_connector_get_modes() 50 DBG("%s", connector->name); in omap_connector_get_modes() [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/v4l/ |
D | fieldseq_bt.svg | 50 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 …]
|
D | fieldseq_tb.svg | 50 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-v5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_lvds_connector.c | 19 struct drm_connector *connector, bool force) in mdp4_lvds_connector_detect() argument 22 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_detect() 36 static void mdp4_lvds_connector_destroy(struct drm_connector *connector) in mdp4_lvds_connector_destroy() argument 39 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_destroy() 41 drm_connector_cleanup(connector); in mdp4_lvds_connector_destroy() 46 static int mdp4_lvds_connector_get_modes(struct drm_connector *connector) in mdp4_lvds_connector_get_modes() argument 49 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_get_modes() 54 ret = drm_panel_get_modes(panel, connector); in mdp4_lvds_connector_get_modes() 59 static int mdp4_lvds_connector_mode_valid(struct drm_connector *connector, in mdp4_lvds_connector_mode_valid() argument 63 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_mode_valid() [all …]
|
/Linux-v5.10/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_rgb.c | 41 static void fsl_dcu_drm_connector_destroy(struct drm_connector *connector) in fsl_dcu_drm_connector_destroy() argument 43 drm_connector_unregister(connector); in fsl_dcu_drm_connector_destroy() 44 drm_connector_cleanup(connector); in fsl_dcu_drm_connector_destroy() 55 static int fsl_dcu_drm_connector_get_modes(struct drm_connector *connector) in fsl_dcu_drm_connector_get_modes() argument 59 fsl_connector = to_fsl_dcu_connector(connector); in fsl_dcu_drm_connector_get_modes() 60 return drm_panel_get_modes(fsl_connector->panel, connector); in fsl_dcu_drm_connector_get_modes() 63 static int fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector, in fsl_dcu_drm_connector_mode_valid() argument 81 struct drm_connector *connector = &fsl_dev->connector.base; in fsl_dcu_attach_panel() local 84 fsl_dev->connector.encoder = encoder; in fsl_dcu_attach_panel() 86 ret = drm_connector_init(fsl_dev->drm, connector, in fsl_dcu_attach_panel() [all …]
|
/Linux-v5.10/drivers/gpu/drm/arc/ |
D | arcpgu_sim.c | 22 struct drm_connector connector; member 25 static int arcpgu_drm_connector_get_modes(struct drm_connector *connector) in arcpgu_drm_connector_get_modes() argument 29 count = drm_add_modes_noedid(connector, XRES_MAX, YRES_MAX); in arcpgu_drm_connector_get_modes() 30 drm_set_preferred_mode(connector, XRES_DEF, YRES_DEF); in arcpgu_drm_connector_get_modes() 34 static void arcpgu_drm_connector_destroy(struct drm_connector *connector) in arcpgu_drm_connector_destroy() argument 36 drm_connector_unregister(connector); in arcpgu_drm_connector_destroy() 37 drm_connector_cleanup(connector); in arcpgu_drm_connector_destroy() 61 struct drm_connector *connector; in arcpgu_drm_sim_init() local 83 connector = &arcpgu_connector->connector; in arcpgu_drm_sim_init() 84 drm_connector_helper_add(connector, &arcpgu_drm_connector_helper_funcs); in arcpgu_drm_sim_init() [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/dp/ |
D | dp_drm.c | 21 * dp_connector_detect - callback to determine if connector is connected 22 * @conn: Pointer to drm connector structure 24 * Returns: Connector 'is connected' status 42 * @connector: Pointer to drm connector structure 45 static int dp_connector_get_modes(struct drm_connector *connector) in dp_connector_get_modes() argument 52 if (!connector) in dp_connector_get_modes() 55 dp = to_dp_connector(connector)->dp_display; in dp_connector_get_modes() 78 m = drm_mode_duplicate(connector->dev, &drm_mode); in dp_connector_get_modes() 86 drm_mode_probed_add(connector, m); in dp_connector_get_modes() 97 * @connector: Pointer to drm connector structure [all …]
|