/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 56 * track of a per-connector hpd interrupt. 90 struct drm_connector *connector, in drm_mode_validate_pipeline() argument 94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 98 /* Step 1: Validate against connector */ in drm_mode_validate_pipeline() 99 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 104 drm_connector_for_each_possible_encoder(connector, encoder) { in drm_mode_validate_pipeline() 119 &connector->display_info, in drm_mode_validate_pipeline() 144 static int drm_helper_probe_add_cmdline_mode(struct drm_connector *connector) in drm_helper_probe_add_cmdline_mode() argument 149 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode() 154 list_for_each_entry(mode, &connector->probed_modes, head) { in drm_helper_probe_add_cmdline_mode() [all …]
|
H A D | drm_connector.c | 56 * 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 D | drm_sysfs.c | 71 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 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 …]
|
H A 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 …]
|
H A D | drm_atomic_state_helper.c | 407 * __drm_atomic_helper_connector_state_reset - reset the connector state 408 * @conn_state: atomic connector state, must not be NULL 409 * @connector: connectotr object, must not be NULL 412 * values. This is useful for drivers that subclass the connector state. 416 struct drm_connector *connector) in __drm_atomic_helper_connector_state_reset() argument 418 conn_state->connector = connector; in __drm_atomic_helper_connector_state_reset() 423 * __drm_atomic_helper_connector_reset - reset state on connector 424 * @connector: drm connector 425 * @conn_state: connector state to assign 428 * the &drm_connector->state pointer of @connector, usually required when [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A 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 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 D | intel_backlight.c | 62 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 drm_i915_private *i915 = to_i915(connector->base.dev); 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 D | intel_dp_aux_backlight.c | 115 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight() argument 117 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_supports_hdr_backlight() 118 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() 120 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() 133 drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n", in intel_dp_aux_supports_hdr_backlight() 134 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 150 !(connector->base.hdr_sink_metadata.hdmi_type1.metadata_type & in intel_dp_aux_supports_hdr_backlight() 153 …"[CONNECTOR:%d:%s] Panel is missing HDR static metadata. Possible support for Intel HDR backlight … in intel_dp_aux_supports_hdr_backlight() 154 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 166 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight() argument [all …]
|
H A D | intel_panel.c | 56 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode() argument 58 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode() 62 static bool is_in_vrr_range(struct intel_connector *connector, int vrefresh) in is_in_vrr_range() argument 64 const struct drm_display_info *info = &connector->base.display_info; in is_in_vrr_range() 66 return intel_vrr_is_capable(connector) && in is_in_vrr_range() 71 static bool is_best_fixed_mode(struct intel_connector *connector, in is_best_fixed_mode() argument 84 if (is_in_vrr_range(connector, vrefresh) && in is_best_fixed_mode() 85 is_in_vrr_range(connector, fixed_mode_vrefresh) && in is_best_fixed_mode() 95 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode() argument 101 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode() [all …]
|
H A D | intel_hdcp.c | 34 struct intel_connector *connector) in intel_conn_to_vcpi() argument 42 if (!connector->port) in intel_conn_to_vcpi() 44 mgr = connector->port->mgr; in intel_conn_to_vcpi() 48 payload = drm_atomic_get_mst_payload_state(mst_state, connector->port); in intel_conn_to_vcpi() 93 static void intel_hdcp_prepare_streams(struct intel_connector *connector) in intel_hdcp_prepare_streams() argument 95 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_prepare_streams() 97 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_prepare_streams() 99 if (!intel_encoder_is_mst(intel_attached_encoder(connector))) { in intel_hdcp_prepare_streams() 143 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable() argument 145 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_capable() [all …]
|
H A D | intel_panel.h | 22 void intel_panel_init_alloc(struct intel_connector *connector); 23 int intel_panel_init(struct intel_connector *connector, 25 void intel_panel_fini(struct intel_connector *connector); 27 intel_panel_detect(struct drm_connector *connector, bool force); 30 intel_panel_preferred_fixed_mode(struct intel_connector *connector); 32 intel_panel_fixed_mode(struct intel_connector *connector, 35 intel_panel_downclock_mode(struct intel_connector *connector, 38 intel_panel_highest_mode(struct intel_connector *connector, 40 int intel_panel_get_modes(struct intel_connector *connector); 41 enum drrs_type intel_panel_drrs_type(struct intel_connector *connector); [all …]
|
/openbmc/linux/Documentation/gpu/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 43 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 …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 53 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 …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/phosphor-logging/p10bmc/ |
H A D | com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json | 7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 24 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 36 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 37 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 47 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 65 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 66 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 76 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 94 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", [all …]
|
H A D | com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json | 7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 24 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 36 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 37 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 47 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 65 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 66 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 76 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0" 94 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", [all …]
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/connector/ |
H A 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 …]
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 54 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 60 * This enum is used to track the connector status. There are no separate 65 * @connector_status_connected: The connector is definitely connected to 70 * @connector_status_disconnected: The connector isn't connected to a 73 * nothing there. It is driver-dependent whether a connector with this 78 * @connector_status_unknown: The connector's status could not be 80 * flicker (like load-detection when the connector is in use), or when a 82 * free CRTC). It should be possible to light up the connector with one 85 * there's not connector with @connector_status_connected. 94 * This enum is used to track the status of initializing a connector and [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-fwnode.h | 103 * 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 …]
|