/drivers/gpu/drm/i915/display/ |
D | intel_connector.c | 40 int intel_connector_init(struct intel_connector *connector) in intel_connector_init() 60 struct intel_connector *intel_connector_alloc(void) in intel_connector_alloc() 62 struct intel_connector *connector; in intel_connector_alloc() 83 void intel_connector_free(struct intel_connector *connector) in intel_connector_free() 94 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_connector_destroy() local 96 kfree(intel_connector->detect_edid); in intel_connector_destroy() 98 intel_hdcp_cleanup(intel_connector); in intel_connector_destroy() 100 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_connector_destroy() 101 kfree(intel_connector->edid); in intel_connector_destroy() 103 intel_panel_fini(&intel_connector->panel); in intel_connector_destroy() [all …]
|
D | intel_dp_mst.c | 50 struct intel_connector *connector = in intel_dp_mst_compute_link_config() 104 struct intel_connector *connector = in intel_dp_mst_compute_config() 175 struct intel_connector *connector; in intel_dp_mst_transcoder_mask() 223 intel_dp_mst_atomic_master_trans_check(struct intel_connector *connector, in intel_dp_mst_atomic_master_trans_check() 228 struct intel_connector *connector_iter; in intel_dp_mst_atomic_master_trans_check() 285 struct intel_connector *intel_connector = in intel_dp_mst_atomic_check() local 295 ret = intel_dp_mst_atomic_master_trans_check(intel_connector, state); in intel_dp_mst_atomic_check() 318 intel_connector->port); in intel_dp_mst_atomic_check() 350 struct intel_connector *connector = in intel_mst_disable_dp() 379 struct intel_connector *connector = in intel_mst_post_disable_dp() [all …]
|
D | intel_hdcp.h | 15 struct intel_connector; 25 int intel_hdcp_init(struct intel_connector *connector, enum port port, 27 int intel_hdcp_enable(struct intel_connector *connector, 29 int intel_hdcp_disable(struct intel_connector *connector); 35 bool intel_hdcp_capable(struct intel_connector *connector); 36 bool intel_hdcp2_capable(struct intel_connector *connector); 39 void intel_hdcp_cleanup(struct intel_connector *connector); 40 void intel_hdcp_handle_cp_irq(struct intel_connector *connector);
|
D | intel_panel.h | 16 struct intel_connector; 46 intel_panel_edid_downclock_mode(struct intel_connector *connector, 49 intel_panel_edid_fixed_mode(struct intel_connector *connector); 51 intel_panel_vbt_fixed_mode(struct intel_connector *connector); 54 int intel_backlight_device_register(struct intel_connector *connector); 55 void intel_backlight_device_unregister(struct intel_connector *connector); 57 static inline int intel_backlight_device_register(struct intel_connector *connector) in intel_backlight_device_register() 61 static inline void intel_backlight_device_unregister(struct intel_connector *connector) in intel_backlight_device_unregister()
|
D | intel_connector.h | 14 struct intel_connector; 17 int intel_connector_init(struct intel_connector *connector); 18 struct intel_connector *intel_connector_alloc(void); 19 void intel_connector_free(struct intel_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);
|
D | intel_dsi.c | 35 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_get_modes() local 40 if (!intel_connector->panel.fixed_mode) { in intel_dsi_get_modes() 46 intel_connector->panel.fixed_mode); in intel_dsi_get_modes() 60 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_mode_valid() local 61 const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_mode_valid() 116 intel_dsi_get_panel_orientation(struct intel_connector *connector) in intel_dsi_get_panel_orientation()
|
D | intel_panel.c | 63 intel_panel_edid_downclock_mode(struct intel_connector *connector, in intel_panel_edid_downclock_mode() 106 intel_panel_edid_fixed_mode(struct intel_connector *connector) in intel_panel_edid_fixed_mode() 150 intel_panel_vbt_fixed_mode(struct intel_connector *connector) in intel_panel_vbt_fixed_mode() 492 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw() 505 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user() 514 static u32 intel_panel_compute_brightness(struct intel_connector *connector, in intel_panel_compute_brightness() 533 static u32 lpt_get_backlight(struct intel_connector *connector) in lpt_get_backlight() 540 static u32 pch_get_backlight(struct intel_connector *connector) in pch_get_backlight() 547 static u32 i9xx_get_backlight(struct intel_connector *connector) in i9xx_get_backlight() 575 static u32 vlv_get_backlight(struct intel_connector *connector) in vlv_get_backlight() [all …]
|
D | intel_lvds.c | 74 struct intel_connector *attached_connector; 378 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_mode_valid() local 379 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_lvds_mode_valid() 401 struct intel_connector *intel_connector = in intel_lvds_compute_config() local 434 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_lvds_compute_config() 464 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_get_modes() local 469 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_lvds_get_modes() 470 return drm_add_edid_modes(connector, intel_connector->edid); in intel_lvds_get_modes() 472 mode = drm_mode_duplicate(dev, intel_connector->panel.fixed_mode); in intel_lvds_get_modes() 820 struct intel_connector *intel_connector; in intel_lvds_init() local [all …]
|
D | intel_dp_aux_backlight.c | 55 static bool intel_dp_aux_backlight_dpcd_mode(struct intel_connector *connector) in intel_dp_aux_backlight_dpcd_mode() 78 static u32 intel_dp_aux_get_backlight(struct intel_connector *connector) in intel_dp_aux_get_backlight() 112 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_set_backlight() 140 static bool intel_dp_aux_set_pwm_freq(struct intel_connector *connector) in intel_dp_aux_set_pwm_freq() 179 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_enable_backlight() 239 static u32 intel_dp_aux_calc_max_backlight(struct intel_connector *connector) in intel_dp_aux_calc_max_backlight() 319 static int intel_dp_aux_setup_backlight(struct intel_connector *connector, in intel_dp_aux_setup_backlight() 337 intel_dp_aux_display_control_capable(struct intel_connector *connector) in intel_dp_aux_display_control_capable() 354 int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector) in intel_dp_aux_init_backlight_funcs() argument 356 struct intel_panel *panel = &intel_connector->panel; in intel_dp_aux_init_backlight_funcs() [all …]
|
D | intel_dvo.c | 118 struct intel_connector *attached_connector; 128 static struct intel_dvo *intel_attached_dvo(struct intel_connector *connector) in intel_attached_dvo() 133 static bool intel_dvo_connector_get_hw_state(struct intel_connector *connector) in intel_dvo_connector_get_hw_state() 423 struct intel_connector *intel_connector; in intel_dvo_init() local 431 intel_connector = intel_connector_alloc(); in intel_dvo_init() 432 if (!intel_connector) { in intel_dvo_init() 437 intel_dvo->attached_connector = intel_connector; in intel_dvo_init() 447 intel_connector->get_hw_state = intel_dvo_connector_get_hw_state; in intel_dvo_init() 451 struct drm_connector *connector = &intel_connector->base; in intel_dvo_init() 527 intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT | in intel_dvo_init() [all …]
|
D | intel_dsi_dcs_backlight.c | 46 static u32 dcs_get_backlight(struct intel_connector *connector) in dcs_get_backlight() 148 static int dcs_setup_backlight(struct intel_connector *connector, in dcs_setup_backlight() 159 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector) in intel_dsi_dcs_init_backlight_funcs() argument 161 struct drm_device *dev = intel_connector->base.dev; in intel_dsi_dcs_init_backlight_funcs() 163 struct intel_encoder *encoder = intel_attached_encoder(intel_connector); in intel_dsi_dcs_init_backlight_funcs() 164 struct intel_panel *panel = &intel_connector->panel; in intel_dsi_dcs_init_backlight_funcs()
|
D | intel_hdcp.c | 66 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable() 87 bool intel_hdcp2_capable(struct intel_connector *connector) in intel_hdcp2_capable() 290 int intel_hdcp_validate_v_prime(struct intel_connector *connector, in intel_hdcp_validate_v_prime() 534 int intel_hdcp_auth_downstream(struct intel_connector *connector) in intel_hdcp_auth_downstream() 617 static int intel_hdcp_auth(struct intel_connector *connector) in intel_hdcp_auth() 782 static int _intel_hdcp_disable(struct intel_connector *connector) in _intel_hdcp_disable() 833 static int _intel_hdcp_enable(struct intel_connector *connector) in _intel_hdcp_enable() 878 static struct intel_connector *intel_hdcp_to_connector(struct intel_hdcp *hdcp) in intel_hdcp_to_connector() 880 return container_of(hdcp, struct intel_connector, hdcp); in intel_hdcp_to_connector() 883 static void intel_hdcp_update_value(struct intel_connector *connector, in intel_hdcp_update_value() [all …]
|
D | intel_dp_aux_backlight.h | 9 struct intel_connector; 11 int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector);
|
D | intel_dsi_dcs_backlight.h | 9 struct intel_connector; 11 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector);
|
D | intel_dp_link_training.c | 178 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_link_training_clock_recovery() 415 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_start_link_train() local 424 intel_connector->base.base.id, in intel_dp_start_link_train() 425 intel_connector->base.name, in intel_dp_start_link_train() 432 intel_connector->base.base.id, in intel_dp_start_link_train() 433 intel_connector->base.name, in intel_dp_start_link_train() 447 schedule_work(&intel_connector->modeset_retry_work); in intel_dp_start_link_train()
|
D | intel_display_types.h | 136 struct intel_connector *connector); 235 int (*setup)(struct intel_connector *connector, enum pipe pipe); 236 u32 (*get)(struct intel_connector *connector); 241 u32 (*hz_to_pwm)(struct intel_connector *connector, u32 hz); 242 void (*power)(struct intel_connector *, bool enable); 324 struct intel_connector *connector); 417 struct intel_connector { struct 429 bool (*get_hw_state)(struct intel_connector *); argument 1210 #define to_intel_connector(x) container_of(x, struct intel_connector, base) 1226 struct intel_connector *attached_connector; [all …]
|
D | intel_dp.h | 21 struct intel_connector; 45 struct intel_connector *intel_connector); 141 struct intel_connector *intel_connector);
|
D | intel_hdmi.h | 17 struct intel_connector; 29 struct intel_connector *intel_connector);
|
D | intel_ddi.h | 13 struct intel_connector; 37 bool intel_ddi_connector_get_hw_state(struct intel_connector *intel_connector);
|
D | intel_display_debugfs.c | 600 struct intel_connector *intel_connector) in intel_hdcp_info() argument 604 if (!intel_connector->hdcp.shim) { in intel_hdcp_info() 609 hdcp_cap = intel_hdcp_capable(intel_connector); in intel_hdcp_info() 610 hdcp2_cap = intel_hdcp2_capable(intel_connector); in intel_hdcp_info() 625 struct intel_connector *intel_connector) in intel_dp_info() argument 627 struct intel_encoder *intel_encoder = intel_attached_encoder(intel_connector); in intel_dp_info() 629 const struct drm_property_blob *edid = intel_connector->base.edid_blob_ptr; in intel_dp_info() 633 if (intel_connector->base.connector_type == DRM_MODE_CONNECTOR_eDP) in intel_dp_info() 634 intel_panel_info(m, &intel_connector->panel); in intel_dp_info() 641 struct intel_connector *intel_connector) in intel_dp_mst_info() argument [all …]
|
D | intel_crt.c | 57 struct intel_connector *connector; 67 static struct intel_crt *intel_attached_crt(struct intel_connector *connector) in intel_attached_crt() 994 struct intel_connector *intel_connector; in intel_crt_init() local 1026 intel_connector = intel_connector_alloc(); in intel_crt_init() 1027 if (!intel_connector) { in intel_crt_init() 1032 connector = &intel_connector->base; in intel_crt_init() 1033 crt->connector = intel_connector; in intel_crt_init() 1034 drm_connector_init(&dev_priv->drm, &intel_connector->base, in intel_crt_init() 1040 intel_connector_attach_encoder(intel_connector, &crt->base); in intel_crt_init() 1063 intel_connector->polled = DRM_CONNECTOR_POLL_HPD; in intel_crt_init() [all …]
|
D | intel_dp.c | 621 intel_dp_mode_valid_downstream(struct intel_connector *connector, in intel_dp_mode_valid_downstream() 653 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mode_valid() local 654 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dp_mode_valid() 721 status = intel_dp_mode_valid_downstream(intel_connector, in intel_dp_mode_valid() 2040 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_max_bpp() local 2058 if (intel_connector->base.display_info.bpc == 0 && in intel_dp_max_bpp() 2680 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_drrs_compute_config() local 2692 if (!intel_connector->panel.downclock_mode || in intel_dp_drrs_compute_config() 2698 intel_connector->panel.downclock_mode->clock, in intel_dp_drrs_compute_config() 2713 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_compute_config() local [all …]
|
D | intel_dp_hdcp.c | 230 struct intel_connector *connector) in intel_dp_hdcp_check_link() 645 struct intel_connector *connector) in intel_dp_mst_hdcp_check_link() 684 struct intel_connector *intel_connector) in intel_dp_init_hdcp() argument 686 struct drm_device *dev = intel_connector->base.dev; in intel_dp_init_hdcp() 695 if (intel_connector->mst_port) in intel_dp_init_hdcp() 696 return intel_hdcp_init(intel_connector, port, in intel_dp_init_hdcp() 699 return intel_hdcp_init(intel_connector, port, in intel_dp_init_hdcp()
|
D | intel_hotplug.h | 12 struct intel_connector; 19 struct intel_connector *connector);
|
D | intel_atomic.h | 20 struct intel_connector; 40 struct intel_connector *connector);
|