/Linux-v6.1/drivers/gpu/drm/ |
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_connector.c | 54 * objects and initialized by setting the following fields. The connector is 56 * &struct drm_connector_funcs and a connector type, and then exposed to 60 * connectors to encoders 1:1, the connector should be attached at 73 * Global connector list for drm_connector_find_by_fwnode(). 74 * Note drm_connector_[un]register() first take connector->lock and then 87 * Connector and encoder types. 130 * drm_get_connector_type_name - return a string for connector type 131 * @type: The connector type (DRM_MODE_CONNECTOR_*) 133 * Returns: the name of the connector type, or NULL if the type is not valid. 146 * @connector: connector to query [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 | 68 struct drm_connector *connector = to_drm_connector(dev); in drm_connector_acpi_find_companion() local 70 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion() 152 * Connector properties 158 struct drm_connector *connector = to_drm_connector(device); in status_store() local 159 struct drm_device *dev = connector->dev; in status_store() 167 old_force = connector->force; in status_store() 170 connector->force = 0; in status_store() 172 connector->force = DRM_FORCE_ON; in status_store() 174 connector->force = DRM_FORCE_ON_DIGITAL; in status_store() 176 connector->force = DRM_FORCE_OFF; in status_store() [all …]
|
D | drm_client_modeset.c | 121 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 …]
|
/Linux-v6.1/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-v6.1/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() 57 INIT_LIST_HEAD(&connector->panel.fixed_modes); 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 …]
|
D | intel_backlight.c | 61 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw() argument 64 struct intel_panel *panel = &connector->panel; in clamp_user_to_hw() 74 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user() argument 77 struct intel_panel *panel = &connector->panel; in scale_hw_to_user() 83 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_backlight_invert_pwm_level() argument 85 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_backlight_invert_pwm_level() 86 struct intel_panel *panel = &connector->panel; in intel_backlight_invert_pwm_level() 103 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level() local 104 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_set_pwm_level() 105 struct intel_panel *panel = &connector->panel; in intel_backlight_set_pwm_level() [all …]
|
D | intel_hdcp.c | 32 static int intel_conn_to_vcpi(struct intel_connector *connector) in intel_conn_to_vcpi() argument 40 if (!connector->port) in intel_conn_to_vcpi() 42 mgr = connector->port->mgr; in intel_conn_to_vcpi() 46 payload = drm_atomic_get_mst_payload_state(mst_state, connector->port); in intel_conn_to_vcpi() 75 struct intel_connector *connector; in intel_hdcp_required_content_stream() local 87 for_each_intel_connector_iter(connector, &conn_iter) { in intel_hdcp_required_content_stream() 88 if (connector->base.status == connector_status_disconnected) in intel_hdcp_required_content_stream() 91 if (!intel_encoder_is_mst(intel_attached_encoder(connector))) in intel_hdcp_required_content_stream() 94 conn_dig_port = intel_attached_dig_port(connector); in intel_hdcp_required_content_stream() 101 data->streams[data->k].stream_id = intel_conn_to_vcpi(connector); in intel_hdcp_required_content_stream() [all …]
|
D | intel_panel.c | 51 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode() argument 53 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode() 58 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode() argument 65 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode() 96 intel_panel_downclock_mode(struct intel_connector *connector, in intel_panel_downclock_mode() argument 100 int min_vrefresh = connector->panel.vbt.seamless_drrs_min_refresh_rate; in intel_panel_downclock_mode() 104 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_downclock_mode() 118 intel_panel_highest_mode(struct intel_connector *connector, in intel_panel_highest_mode() argument 124 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_highest_mode() 132 int intel_panel_get_modes(struct intel_connector *connector) in intel_panel_get_modes() argument [all …]
|
D | intel_dp_aux_backlight.c | 110 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight() argument 112 struct drm_i915_private *i915 = to_i915(connector->base.dev); 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() 147 !(connector->base.hdr_sink_metadata.hdmi_type1.metadata_type & in intel_dp_aux_supports_hdr_backlight() 162 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight() argument 164 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_hdr_get_backlight() 165 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_get_backlight() 166 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_get_backlight() 177 u32 pwm_level = panel->backlight.pwm_funcs->get(connector, pipe); in intel_dp_aux_hdr_get_backlight() [all …]
|
D | intel_dp_mst.c | 56 struct intel_connector *connector = in intel_dp_mst_compute_link_config() local 57 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_link_config() 58 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_mst_compute_link_config() 84 connector->port, crtc_state->pbn); in intel_dp_mst_compute_link_config() 138 struct intel_connector *connector = in intel_dp_mst_compute_config() local 139 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_config() 154 pipe_config->has_audio = connector->port->has_audio; in intel_dp_mst_compute_config() 213 struct intel_connector *connector; in intel_dp_mst_transcoder_mask() local 220 for_each_new_intel_connector_in_state(state, connector, conn_state, i) { in intel_dp_mst_transcoder_mask() 224 if (connector->mst_port != mst_port || !conn_state->base.crtc) in intel_dp_mst_transcoder_mask() [all …]
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 40 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-v6.1/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-v6.1/drivers/gpu/drm/gud/ |
D | gud_connector.c | 25 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-v6.1/include/drm/ |
D | drm_connector.h | 53 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 59 * This enum is used to track the connector status. There are no separate 64 * @connector_status_connected: The connector is definitely connected to 69 * @connector_status_disconnected: The connector isn't connected to a 72 * nothing there. It is driver-dependent whether a connector with this 77 * @connector_status_unknown: The connector's status could not be 79 * flicker (like load-detection when the connector is in use), or when a 81 * free CRTC). It should be possible to light up the connector with one 84 * there's not connector with @connector_status_connected. 93 * This enum is used to track the status of initializing a connector and [all …]
|
/Linux-v6.1/drivers/gpu/drm/udl/ |
D | udl_connector.c | 47 static int udl_get_modes(struct drm_connector *connector) in udl_get_modes() argument 50 container_of(connector, in udl_get_modes() 52 connector); in udl_get_modes() 54 drm_connector_update_edid_property(connector, udl_connector->edid); in udl_get_modes() 56 return drm_add_edid_modes(connector, udl_connector->edid); in udl_get_modes() 60 static enum drm_mode_status udl_mode_valid(struct drm_connector *connector, in udl_mode_valid() argument 63 struct udl_device *udl = to_udl(connector->dev); in udl_mode_valid() 74 udl_detect(struct drm_connector *connector, bool force) in udl_detect() argument 76 struct udl_device *udl = to_udl(connector->dev); in udl_detect() 78 container_of(connector, in udl_detect() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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() 60 mdp4_lvds_connector_mode_valid(struct drm_connector *connector, in mdp4_lvds_connector_mode_valid() argument 64 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_mode_valid() [all …]
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/bridge/ |
D | panel.c | 20 struct drm_connector connector; member 32 drm_connector_to_panel_bridge(struct drm_connector *connector) in drm_connector_to_panel_bridge() argument 34 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge() 37 static int panel_bridge_connector_get_modes(struct drm_connector *connector) in panel_bridge_connector_get_modes() argument 40 drm_connector_to_panel_bridge(connector); in panel_bridge_connector_get_modes() 42 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes() 62 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach() local 73 drm_connector_helper_add(connector, in panel_bridge_attach() 76 ret = drm_connector_init(bridge->dev, connector, in panel_bridge_attach() 80 DRM_ERROR("Failed to initialize connector\n"); in panel_bridge_attach() [all …]
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | cdv_intel_hdmi.c | 105 static void cdv_hdmi_save(struct drm_connector *connector) in cdv_hdmi_save() argument 107 struct drm_device *dev = connector->dev; in cdv_hdmi_save() 108 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() 114 static void cdv_hdmi_restore(struct drm_connector *connector) in cdv_hdmi_restore() argument 116 struct drm_device *dev = connector->dev; in cdv_hdmi_restore() 117 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() 125 struct drm_connector *connector, bool force) in cdv_hdmi_detect() argument 127 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() 132 edid = drm_get_edid(connector, connector->ddc); in cdv_hdmi_detect() 149 static int cdv_hdmi_set_property(struct drm_connector *connector, in cdv_hdmi_set_property() argument [all …]
|