/linux/drivers/gpu/drm/ |
A D | drm_connector.c | 192 connector->funcs->destroy(connector); in drm_connector_free() 210 connector->funcs->destroy(connector); in drm_connector_free_work_fn() 247 connector->base.properties = &connector->properties; in drm_connector_init() 495 connector->funcs->atomic_destroy_state(connector, in drm_connector_cleanup() 500 memset(connector, 0, sizeof(*connector)); in drm_connector_cleanup() 534 ret = connector->funcs->late_register(connector); in drm_connector_register() 582 connector->funcs->early_unregister(connector); in drm_connector_unregister() 2045 connector->num_h_tile, connector->num_v_tile, in drm_connector_set_tile_property() 2046 connector->tile_h_loc, connector->tile_v_loc, in drm_connector_set_tile_property() 2495 connector->funcs->fill_modes(connector, in drm_mode_getconnector() [all …]
|
A D | drm_probe_helper.c | 295 ret = connector->funcs->detect(connector, force); in drm_helper_probe_detect_ctx() 346 ret = connector->funcs->detect(connector, force); in drm_helper_probe_detect() 434 connector->name); in drm_helper_probe_single_connector_modes() 457 connector->funcs->force(connector); in drm_helper_probe_single_connector_modes() 503 connector->base.id, connector->name); in drm_helper_probe_single_connector_modes() 582 connector->name); in drm_helper_probe_single_connector_modes() 652 if (!connector->polled || connector->polled == DRM_CONNECTOR_POLL_HPD) in output_poll_execute() 665 connector->status = drm_helper_probe_detect(connector, NULL, false); in output_poll_execute() 696 connector->base.id, connector->name, in output_poll_execute() 811 connector->status = drm_helper_probe_detect(connector, NULL, false); in check_connector_changed() [all …]
|
A D | drm_bridge_connector.c | 100 to_drm_bridge_connector(connector); in drm_bridge_connector_hpd_notify() 119 old_status = connector->status; in drm_bridge_connector_hpd_cb() 120 connector->status = status; in drm_bridge_connector_hpd_cb() 141 to_drm_bridge_connector(connector); in drm_bridge_connector_enable_hpd() 161 to_drm_bridge_connector(connector); in drm_bridge_connector_disable_hpd() 177 to_drm_bridge_connector(connector); in drm_bridge_connector_detect() 205 to_drm_bridge_connector(connector); in drm_bridge_connector_destroy() 213 drm_connector_unregister(connector); in drm_bridge_connector_destroy() 214 drm_connector_cleanup(connector); in drm_bridge_connector_destroy() 317 struct drm_connector *connector; in drm_bridge_connector_init() local [all …]
|
A D | drm_sysfs.c | 170 connector->force = 0; in status_store() 180 if (old_force != connector->force || !connector->force) { in status_store() 183 connector->name, in status_store() 186 connector->funcs->fill_modes(connector, in status_store() 325 if (connector->kdev) in drm_sysfs_connector_add() 345 connector->name); in drm_sysfs_connector_add() 353 connector->kdev = kdev; in drm_sysfs_connector_add() 355 if (connector->ddc) in drm_sysfs_connector_add() 367 if (!connector->kdev) in drm_sysfs_connector_remove() 370 if (connector->ddc) in drm_sysfs_connector_remove() [all …]
|
A D | drm_client_modeset.c | 241 connector = connectors[i]; in drm_client_connectors_enabled() 349 if (!connector->has_tile) in drm_client_get_tile_offsets() 420 connector->tile_h_loc, connector->tile_v_loc); in drm_client_target_preferred() 429 connector->base.id, connector->tile_group ? connector->tile_group->id : 0); in drm_client_target_preferred() 447 connector->num_h_tile * connector->num_v_tile || in drm_client_target_preferred() 501 connector = connectors[n]; in drm_client_pick_crtcs() 662 connector->name); in drm_client_firmware_config() 670 connector->name, connector->has_tile); in drm_client_firmware_config() 705 num_tiled_conns < connector->num_h_tile * connector->num_v_tile) { in drm_client_firmware_config() 713 connector->name, in drm_client_firmware_config() [all …]
|
A D | drm_edid.c | 1922 connector->base.id, connector->name, num_modes); in drm_add_override_edid_modes() 1961 if (connector) in drm_do_get_edid_base_block() 3025 .connector = connector, in add_inferred_modes() 3093 .connector = connector, in add_established_modes() 3121 struct drm_connector *connector = closure->connector; in do_standard_modes() local 3153 .connector = connector, in add_standard_modes() 3244 .connector = connector, in add_cvt_modes() 3299 .connector = connector, in add_detailed_modes() 4531 memset(connector->eld, 0, sizeof(connector->eld)); in clear_eld() 5682 connector = conn_state->connector; in drm_hdmi_infoframe_set_hdr_metadata() [all …]
|
A D | drm_crtc_helper.c | 443 connector->encoder = NULL; in drm_crtc_helper_disable() 639 connector->helper_private; in drm_crtc_helper_set_config() 669 if (connector->encoder) in drm_crtc_helper_set_config() 684 if (!connector->encoder) in drm_crtc_helper_set_config() 711 connector->base.id, connector->name, in drm_crtc_helper_set_config() 715 connector->base.id, connector->name); in drm_crtc_helper_set_config() 810 dpms = connector->dpms; in drm_helper_choose_encoder_dpms() 838 if (connector->encoder && connector->encoder->crtc == crtc) in drm_helper_choose_crtc_dpms() 840 dpms = connector->dpms; in drm_helper_choose_crtc_dpms() 878 old_dpms = connector->dpms; in drm_helper_connector_dpms() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_connector.c | 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() 69 kfree(connector); in intel_connector_alloc() 73 return connector; in intel_connector_alloc() 86 kfree(connector); in intel_connector_free() 105 drm_connector_cleanup(connector); in intel_connector_destroy() 110 kfree(connector); in intel_connector_destroy() 147 connector->encoder = encoder; in intel_connector_attach_encoder() 171 if (!connector->base.state->crtc) in intel_connector_get_pipe() [all …]
|
A D | intel_backlight.c | 95 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level() local 197 struct intel_connector *connector = to_intel_connector(conn_state->connector); in lpt_set_backlight() local 206 struct intel_connector *connector = to_intel_connector(conn_state->connector); in pch_set_backlight() local 216 struct intel_connector *connector = to_intel_connector(conn_state->connector); in i9xx_set_backlight() local 244 struct intel_connector *connector = to_intel_connector(conn_state->connector); in vlv_set_backlight() local 255 struct intel_connector *connector = to_intel_connector(conn_state->connector); in bxt_set_backlight() local 274 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_panel_actually_set_backlight() local 969 bd = backlight_device_register(name, connector->base.kdev, connector, in intel_backlight_device_register() 986 bd = backlight_device_register(name, connector->base.kdev, connector, in intel_backlight_device_register() 993 connector->base.base.id, connector->base.name, name, PTR_ERR(bd)); in intel_backlight_device_register() [all …]
|
A D | intel_hdcp.c | 33 return connector->port ? connector->port->vcpi.vcpi : 0; in intel_conn_to_vcpi() 866 connector->base.name, connector->base.base.id); in intel_hdcp_auth() 891 connector->base.name, connector->base.base.id); in _intel_hdcp_disable() 897 connector->base.name, connector->base.base.id); in _intel_hdcp_disable() 943 connector->base.name, connector->base.base.id); in _intel_hdcp_enable() 1040 connector->base.name, connector->base.base.id, in intel_hdcp_check_link() 1059 connector->base.name, connector->base.base.id); in intel_hdcp_check_link() 1747 connector->base.name, connector->base.base.id); in hdcp2_enable_stream_encryption() 1756 connector->base.name, connector->base.base.id); in hdcp2_enable_stream_encryption() 1983 connector->base.name, connector->base.base.id); in _intel_hdcp2_disable() [all …]
|
A D | intel_dp_aux_backlight.c | 106 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() 138 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_get_backlight() 171 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_aux_backlight() local 172 struct drm_device *dev = connector->base.dev; in intel_dp_aux_hdr_set_aux_backlight() 187 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_backlight() local 203 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_enable_backlight() local 238 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_disable_backlight() local 280 return connector->panel.backlight.level; in intel_dp_aux_vesa_get_backlight() 286 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_set_backlight() local 297 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_enable_backlight() local [all …]
|
A D | intel_dp_mst.c | 74 connector->port, in intel_dp_mst_compute_link_config() 453 intel_mst->connector = NULL; in intel_mst_post_disable_dp() 493 connector->encoder = encoder; in intel_mst_pre_enable_dp() 494 intel_mst->connector = connector; in intel_mst_pre_enable_dp() 513 connector->port, in intel_mst_pre_enable_dp() 600 if (intel_mst->connector) in intel_dp_mst_enc_get_hw_state() 745 connector); in intel_mst_atomic_best_encoder() 793 if (intel_attached_encoder(connector) && connector->base.state->crtc) { in intel_dp_mst_get_hw_state() 854 connector->name, connector->base.id); in intel_dp_add_mst_connector() 859 connector->max_bpc_property = in intel_dp_add_mst_connector() [all …]
|
A D | intel_connector.h | 17 int intel_connector_init(struct intel_connector *connector); 19 void intel_connector_free(struct intel_connector *connector); 20 void intel_connector_destroy(struct drm_connector *connector); 21 int intel_connector_register(struct drm_connector *connector); 22 void intel_connector_unregister(struct drm_connector *connector); 23 void intel_connector_attach_encoder(struct intel_connector *connector, 25 bool intel_connector_get_hw_state(struct intel_connector *connector); 26 enum pipe intel_connector_get_pipe(struct intel_connector *connector); 27 int intel_connector_update_modes(struct drm_connector *connector, 30 void intel_attach_force_audio_property(struct drm_connector *connector); [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_connectors.c | 161 connector->name, bpc); in amdgpu_connector_get_monitor_bpc() 196 connector->name); in amdgpu_connector_get_monitor_bpc() 203 connector->name); in amdgpu_connector_get_monitor_bpc() 208 connector->name, connector->display_info.bpc, bpc); in amdgpu_connector_get_monitor_bpc() 578 if (connector->encoder) { in amdgpu_connector_set_property() 770 kfree(connector); in amdgpu_connector_destroy() 785 if (connector->encoder) in amdgpu_connector_set_lcd_property() 880 connector->name); in amdgpu_connector_vga_detect() 993 ret = connector->status; in amdgpu_connector_dvi_detect() 1006 connector->name); in amdgpu_connector_dvi_detect() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_connectors.c | 226 connector->name); in radeon_get_monitor_bpc() 233 connector->name); in radeon_get_monitor_bpc() 238 connector->name, connector->display_info.bpc, bpc); in radeon_get_monitor_bpc() 712 if (connector->encoder) in radeon_connector_set_property() 751 if (connector->encoder && connector->encoder->crtc) { in radeon_connector_set_property() 936 kfree(connector); in radeon_connector_destroy() 951 if (connector->encoder) in radeon_lvds_set_property() 1049 connector->name); in radeon_vga_detect() 1295 connector->name); in radeon_dvi_detect() 1302 connector->name); in radeon_dvi_detect() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_connector.c | 256 if (connector->state) in nouveau_conn_reset() 258 connector->state); in nouveau_conn_reset() 407 kfree(connector); in nouveau_connector_destroy() 503 connector->interlace_allowed = in nouveau_connector_set_encoder() 591 connector->name); in nouveau_connector_detect() 754 connector->name); in nouveau_connector_force() 785 if (connector->encoder && connector->encoder->crtc) { in nouveau_connector_set_property() 1257 int index = dcbe->connector; in nouveau_connector_create() 1266 return connector; in nouveau_connector_create() 1391 connector->funcs->reset(connector); in nouveau_connector_create() [all …]
|
/linux/drivers/gpu/drm/gud/ |
A D | gud_connector.c | 24 struct drm_connector connector; member 45 return container_of(connector, struct gud_connector, connector); in to_gud_connector() 50 dev_err(connector->dev->dev, "%s: %s (ret=%d)\n", connector->name, msg, ret); in gud_conn_err() 61 struct drm_connector *connector = &gconn->connector; in gud_connector_backlight_update_status_work() local 125 struct drm_connector *connector = &gconn->connector; in gud_connector_backlight_register() local 136 connector->dev->primary->index, connector->name); in gud_connector_backlight_register() 140 bd = backlight_device_register(name, connector->kdev, connector, in gud_connector_backlight_register() 476 struct drm_connector *connector = &gconn->connector; in gud_connector_add_properties() local 626 connector = &gconn->connector; in gud_connector_create() 663 kfree(connector); in gud_connector_create() [all …]
|
/linux/include/drm/ |
A D | drm_connector.h | 668 struct drm_connector *connector; member 1604 struct drm_connector *connector, 1608 struct drm_connector *connector, 1622 return connector->index; in drm_connector_index() 1627 return 1 << connector->index; in drm_connector_mask() 1656 drm_mode_object_get(&connector->base); in drm_connector_get() 1668 drm_mode_object_put(&connector->base); in drm_connector_put() 1715 struct drm_connector *connector); 1739 struct drm_connector *connector, 1742 struct drm_connector *connector, [all …]
|
/linux/drivers/gpu/drm/udl/ |
A D | udl_connector.c | 49 container_of(connector, in udl_get_modes() 51 connector); in udl_get_modes() 77 container_of(connector, in udl_detect() 79 connector); in udl_detect() 97 container_of(connector, in udl_connector_destroy() 99 connector); in udl_connector_destroy() 101 drm_connector_cleanup(connector); in udl_connector_destroy() 103 kfree(connector); in udl_connector_destroy() 123 struct drm_connector *connector; in udl_connector_init() local 129 connector = &udl_connector->connector; in udl_connector_init() [all …]
|
/linux/drivers/gpu/drm/msm/edp/ |
A D | edp_connector.c | 17 struct drm_connector *connector, bool force) in edp_connector_detect() argument 33 drm_connector_cleanup(connector); in edp_connector_destroy() 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() 80 if (connector->display_info.bpc > 8) in edp_connector_mode_valid() 103 struct drm_connector *connector = NULL; in msm_edp_connector_init() local 113 connector = &edp_connector->base; in msm_edp_connector_init() 123 connector->polled = DRM_CONNECTOR_POLL_CONNECT; in msm_edp_connector_init() 126 connector->interlace_allowed = false; in msm_edp_connector_init() 127 connector->doublescan_allowed = false; in msm_edp_connector_init() [all …]
|
/linux/drivers/gpu/drm/fsl-dcu/ |
A D | fsl_dcu_drm_rgb.c | 43 drm_connector_unregister(connector); in fsl_dcu_drm_connector_destroy() 44 drm_connector_cleanup(connector); in fsl_dcu_drm_connector_destroy() 59 fsl_connector = to_fsl_dcu_connector(connector); in fsl_dcu_drm_connector_get_modes() 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() 93 ret = drm_connector_register(connector); in fsl_dcu_attach_panel() 104 drm_connector_unregister(connector); in fsl_dcu_attach_panel() 106 drm_connector_cleanup(connector); in fsl_dcu_attach_panel() 122 if (IS_ERR(fsl_dev->connector.panel)) in fsl_dcu_create_outputs() 123 return PTR_ERR(fsl_dev->connector.panel); in fsl_dcu_create_outputs() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | cdv_intel_hdmi.c | 248 drm_connector_unregister(connector); in cdv_hdmi_destroy() 249 drm_connector_cleanup(connector); in cdv_hdmi_destroy() 250 kfree(connector); in cdv_hdmi_destroy() 280 struct drm_connector *connector; in cdv_hdmi_init() local 301 connector = &gma_connector->base; in cdv_hdmi_init() 307 drm_connector_init(dev, connector, in cdv_hdmi_init() 320 drm_connector_helper_add(connector, in cdv_hdmi_init() 323 connector->interlace_allowed = false; in cdv_hdmi_init() 324 connector->doublescan_allowed = false; in cdv_hdmi_init() 355 drm_connector_register(connector); in cdv_hdmi_init() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_lvds_connector.c | 22 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_detect() 39 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_destroy() 41 drm_connector_cleanup(connector); in mdp4_lvds_connector_destroy() 49 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_get_modes() 63 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_mode_valid() 96 struct drm_connector *connector = NULL; in mdp4_lvds_connector_init() local 106 connector = &mdp4_lvds_connector->base; in mdp4_lvds_connector_init() 112 connector->polled = 0; in mdp4_lvds_connector_init() 114 connector->interlace_allowed = 0; in mdp4_lvds_connector_init() 115 connector->doublescan_allowed = 0; in mdp4_lvds_connector_init() [all …]
|
/linux/drivers/gpu/drm/hisilicon/hibmc/ |
A D | hibmc_drm_i2c.c | 81 struct hibmc_connector *connector) in hibmc_ddc_create() argument 83 connector->adapter.owner = THIS_MODULE; in hibmc_ddc_create() 84 connector->adapter.class = I2C_CLASS_DDC; in hibmc_ddc_create() 86 connector->adapter.dev.parent = drm_dev->dev; in hibmc_ddc_create() 87 i2c_set_adapdata(&connector->adapter, connector); in hibmc_ddc_create() 88 connector->adapter.algo_data = &connector->bit_data; in hibmc_ddc_create() 90 connector->bit_data.udelay = 20; in hibmc_ddc_create() 92 connector->bit_data.data = connector; in hibmc_ddc_create() 93 connector->bit_data.setsda = hibmc_ddc_setsda; in hibmc_ddc_create() 94 connector->bit_data.setscl = hibmc_ddc_setscl; in hibmc_ddc_create() [all …]
|
A D | hibmc_drm_vdac.c | 28 edid = drm_get_edid(connector, &hibmc_connector->adapter); in hibmc_connector_get_modes() 30 drm_connector_update_edid_property(connector, edid); in hibmc_connector_get_modes() 31 count = drm_add_edid_modes(connector, edid); in hibmc_connector_get_modes() 36 count = drm_add_modes_noedid(connector, in hibmc_connector_get_modes() 37 connector->dev->mode_config.max_width, in hibmc_connector_get_modes() 38 connector->dev->mode_config.max_height); in hibmc_connector_get_modes() 39 drm_set_preferred_mode(connector, 1024, 768); in hibmc_connector_get_modes() 51 drm_connector_cleanup(connector); in hibmc_connector_destroy() 93 struct drm_connector *connector = &hibmc_connector->base; in hibmc_vdac_init() local 111 ret = drm_connector_init_with_ddc(dev, connector, in hibmc_vdac_init() [all …]
|