Home
last modified time | relevance | path

Searched refs:intel_connector (Results 1 – 25 of 51) sorted by relevance

123

/drivers/gpu/drm/i915/display/
Dintel_connector.c40 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 …]
Dintel_dp_mst.c55 struct intel_connector *connector = in intel_dp_mst_compute_link_config()
109 struct intel_connector *connector = in intel_dp_mst_compute_config()
180 struct intel_connector *connector; in intel_dp_mst_transcoder_mask()
228 intel_dp_mst_atomic_master_trans_check(struct intel_connector *connector, in intel_dp_mst_atomic_master_trans_check()
233 struct intel_connector *connector_iter; in intel_dp_mst_atomic_master_trans_check()
290 struct intel_connector *intel_connector = in intel_dp_mst_atomic_check() local
300 ret = intel_dp_mst_atomic_master_trans_check(intel_connector, state); in intel_dp_mst_atomic_check()
323 intel_connector->port); in intel_dp_mst_atomic_check()
369 struct intel_connector *connector = in intel_mst_disable_dp()
395 struct intel_connector *connector = in intel_mst_post_disable_dp()
[all …]
Dintel_hdcp.h17 struct intel_connector;
28 int intel_hdcp_init(struct intel_connector *connector,
31 int intel_hdcp_enable(struct intel_connector *connector,
33 int intel_hdcp_disable(struct intel_connector *connector);
39 bool intel_hdcp_capable(struct intel_connector *connector);
40 bool intel_hdcp2_capable(struct intel_connector *connector);
43 void intel_hdcp_cleanup(struct intel_connector *connector);
44 void intel_hdcp_handle_cp_irq(struct intel_connector *connector);
Dintel_backlight.h14 struct intel_connector;
34 u32 intel_panel_invert_pwm_level(struct intel_connector *connector, u32 level);
35 u32 intel_panel_backlight_level_to_pwm(struct intel_connector *connector, u32 level);
36 u32 intel_panel_backlight_level_from_pwm(struct intel_connector *connector, u32 val);
39 int intel_backlight_device_register(struct intel_connector *connector);
40 void intel_backlight_device_unregister(struct intel_connector *connector);
42 static inline int intel_backlight_device_register(struct intel_connector *connector) in intel_backlight_device_register()
46 static inline void intel_backlight_device_unregister(struct intel_connector *connector) in intel_backlight_device_unregister()
Dintel_connector.h14 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);
Dintel_backlight.c53 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw()
66 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user()
75 u32 intel_panel_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_panel_invert_pwm_level()
95 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_panel_set_pwm_level()
103 u32 intel_panel_backlight_level_to_pwm(struct intel_connector *connector, u32 val) in intel_panel_backlight_level_to_pwm()
117 u32 intel_panel_backlight_level_from_pwm(struct intel_connector *connector, u32 val) in intel_panel_backlight_level_from_pwm()
133 static u32 lpt_get_backlight(struct intel_connector *connector, enum pipe unused) in lpt_get_backlight()
140 static u32 pch_get_backlight(struct intel_connector *connector, enum pipe unused) in pch_get_backlight()
147 static u32 i9xx_get_backlight(struct intel_connector *connector, enum pipe unused) in i9xx_get_backlight()
167 static u32 vlv_get_backlight(struct intel_connector *connector, enum pipe pipe) in vlv_get_backlight()
[all …]
Dintel_dsi.c35 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()
Dintel_lvds.c76 struct intel_connector *attached_connector;
389 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_mode_valid() local
390 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_lvds_mode_valid()
412 struct intel_connector *intel_connector = in intel_lvds_compute_config() local
445 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_lvds_compute_config()
475 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_get_modes() local
480 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_lvds_get_modes()
481 return drm_add_edid_modes(connector, intel_connector->edid); in intel_lvds_get_modes()
483 mode = drm_mode_duplicate(dev, intel_connector->panel.fixed_mode); in intel_lvds_get_modes()
831 struct intel_connector *intel_connector; in intel_lvds_init() local
[all …]
Dintel_dp_aux_backlight.c109 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight()
161 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight()
197 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_aux_backlight()
213 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_backlight()
229 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_enable_backlight()
264 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_disable_backlight()
276 intel_dp_aux_hdr_setup_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_setup_backlight()
304 static u32 intel_dp_aux_vesa_get_backlight(struct intel_connector *connector, enum pipe unused) in intel_dp_aux_vesa_get_backlight()
312 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_set_backlight()
323 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_enable_backlight()
[all …]
Dintel_dvo.c119 struct intel_connector *attached_connector;
129 static struct intel_dvo *intel_attached_dvo(struct intel_connector *connector) in intel_attached_dvo()
134 static bool intel_dvo_connector_get_hw_state(struct intel_connector *connector) in intel_dvo_connector_get_hw_state()
420 struct intel_connector *intel_connector; in intel_dvo_init() local
428 intel_connector = intel_connector_alloc(); in intel_dvo_init()
429 if (!intel_connector) { in intel_dvo_init()
434 intel_dvo->attached_connector = intel_connector; in intel_dvo_init()
444 intel_connector->get_hw_state = intel_dvo_connector_get_hw_state; in intel_dvo_init()
448 struct drm_connector *connector = &intel_connector->base; in intel_dvo_init()
524 intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT | in intel_dvo_init()
[all …]
Dintel_dsi_dcs_backlight.c46 static u32 dcs_get_backlight(struct intel_connector *connector, enum pipe unused) in dcs_get_backlight()
147 static int dcs_setup_backlight(struct intel_connector *connector, in dcs_setup_backlight()
166 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector) in intel_dsi_dcs_init_backlight_funcs() argument
168 struct drm_device *dev = intel_connector->base.dev; in intel_dsi_dcs_init_backlight_funcs()
170 struct intel_encoder *encoder = intel_attached_encoder(intel_connector); in intel_dsi_dcs_init_backlight_funcs()
171 struct intel_panel *panel = &intel_connector->panel; in intel_dsi_dcs_init_backlight_funcs()
Dintel_dp.c669 intel_dp_mode_valid_downstream(struct intel_connector *connector, in intel_dp_mode_valid_downstream()
720 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dp_mode_valid() local
721 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dp_mode_valid()
815 status = intel_dp_mode_valid_downstream(intel_connector, in intel_dp_mode_valid()
995 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_max_bpp() local
1013 if (intel_connector->base.display_info.bpc == 0 && in intel_dp_max_bpp()
1629 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_compute_config() local
1638 pipe_config->output_format = intel_dp_output_format(&intel_connector->base, in intel_dp_compute_config()
1654 if (intel_dp_is_edp(intel_dp) && intel_connector->panel.fixed_mode) { in intel_dp_compute_config()
1655 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_dp_compute_config()
[all …]
Dintel_panel.h16 struct intel_connector;
33 intel_panel_edid_downclock_mode(struct intel_connector *connector,
36 intel_panel_edid_fixed_mode(struct intel_connector *connector);
38 intel_panel_vbt_fixed_mode(struct intel_connector *connector);
Dintel_hdcp.c30 static int intel_conn_to_vcpi(struct intel_connector *connector) in intel_conn_to_vcpi()
37 intel_streams_type1_capable(struct intel_connector *connector) in intel_streams_type1_capable()
66 struct intel_connector *connector; in intel_hdcp_required_content_stream()
152 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable()
173 bool intel_hdcp2_capable(struct intel_connector *connector) in intel_hdcp2_capable()
377 int intel_hdcp_validate_v_prime(struct intel_connector *connector, in intel_hdcp_validate_v_prime()
621 int intel_hdcp_auth_downstream(struct intel_connector *connector) in intel_hdcp_auth_downstream()
704 static int intel_hdcp_auth(struct intel_connector *connector) in intel_hdcp_auth()
876 static int _intel_hdcp_disable(struct intel_connector *connector) in _intel_hdcp_disable()
932 static int _intel_hdcp_enable(struct intel_connector *connector) in _intel_hdcp_enable()
[all …]
Dintel_dp_aux_backlight.h9 struct intel_connector;
11 int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector);
Dintel_dsi_dcs_backlight.h9 struct intel_connector;
11 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector);
Dintel_dp_hdcp.h9 struct intel_connector;
13 struct intel_connector *intel_connector);
Dintel_display_types.h171 struct intel_connector *connector);
285 int (*setup)(struct intel_connector *connector, enum pipe pipe);
286 u32 (*get)(struct intel_connector *connector, enum pipe pipe);
291 u32 (*hz_to_pwm)(struct intel_connector *connector, u32 hz);
332 void (*power)(struct intel_connector *, bool enable);
413 int (*stream_encryption)(struct intel_connector *connector,
418 struct intel_connector *connector);
432 int (*streams_type1_capable)(struct intel_connector *connector,
452 int (*stream_2_2_encryption)(struct intel_connector *connector,
457 struct intel_connector *connector);
[all …]
Dintel_dp_hdcp.c256 struct intel_connector *connector) in intel_dp_hdcp_check_link()
627 struct intel_connector *connector) in intel_dp_hdcp2_check_link()
668 int intel_dp_mst_streams_type1_capable(struct intel_connector *connector, in intel_dp_mst_streams_type1_capable()
709 intel_dp_mst_toggle_hdcp_stream_select(struct intel_connector *connector, in intel_dp_mst_toggle_hdcp_stream_select()
727 intel_dp_mst_hdcp_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp_stream_encryption()
761 intel_dp_mst_hdcp2_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp2_stream_encryption()
797 struct intel_connector *connector) in intel_dp_mst_hdcp2_check_link()
841 struct intel_connector *intel_connector) in intel_dp_hdcp_init() argument
843 struct drm_device *dev = intel_connector->base.dev; in intel_dp_hdcp_init()
852 if (intel_connector->mst_port) in intel_dp_hdcp_init()
[all …]
Dintel_hdmi.h17 struct intel_connector;
27 struct intel_connector *intel_connector);
Dintel_panel.c60 intel_panel_edid_downclock_mode(struct intel_connector *connector, in intel_panel_edid_downclock_mode()
103 intel_panel_edid_fixed_mode(struct intel_connector *connector) in intel_panel_edid_fixed_mode()
147 intel_panel_vbt_fixed_mode(struct intel_connector *connector) in intel_panel_vbt_fixed_mode()
480 struct intel_connector *intel_connector = in intel_panel_fini() local
481 container_of(panel, struct intel_connector, panel); in intel_panel_fini()
486 drm_mode_destroy(intel_connector->base.dev, panel->fixed_mode); in intel_panel_fini()
489 drm_mode_destroy(intel_connector->base.dev, in intel_panel_fini()
Dintel_crt.c61 struct intel_connector *connector;
71 static struct intel_crt *intel_attached_crt(struct intel_connector *connector) in intel_attached_crt()
998 struct intel_connector *intel_connector; in intel_crt_init() local
1030 intel_connector = intel_connector_alloc(); in intel_crt_init()
1031 if (!intel_connector) { in intel_crt_init()
1036 connector = &intel_connector->base; in intel_crt_init()
1037 crt->connector = intel_connector; in intel_crt_init()
1038 drm_connector_init(&dev_priv->drm, &intel_connector->base, in intel_crt_init()
1044 intel_connector_attach_encoder(intel_connector, &crt->base); in intel_crt_init()
1067 intel_connector->polled = DRM_CONNECTOR_POLL_HPD; in intel_crt_init()
[all …]
Dintel_ddi.h14 struct intel_connector;
57 bool intel_ddi_connector_get_hw_state(struct intel_connector *intel_connector);
Dintel_display_debugfs.c645 struct intel_connector *intel_connector) in intel_hdcp_info() argument
649 if (!intel_connector->hdcp.shim) { in intel_hdcp_info()
654 hdcp_cap = intel_hdcp_capable(intel_connector); in intel_hdcp_info()
655 hdcp2_cap = intel_hdcp2_capable(intel_connector); in intel_hdcp_info()
670 struct intel_connector *intel_connector) in intel_dp_info() argument
672 struct intel_encoder *intel_encoder = intel_attached_encoder(intel_connector); in intel_dp_info()
674 const struct drm_property_blob *edid = intel_connector->base.edid_blob_ptr; in intel_dp_info()
678 if (intel_connector->base.connector_type == DRM_MODE_CONNECTOR_eDP) in intel_dp_info()
679 intel_panel_info(m, &intel_connector->panel); in intel_dp_info()
686 struct intel_connector *intel_connector) in intel_dp_mst_info() argument
[all …]
Dintel_drrs.c55 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_drrs_compute_config() local
71 if (!intel_connector->panel.downclock_mode || in intel_dp_drrs_compute_config()
77 pixel_clock = intel_connector->panel.downclock_mode->clock; in intel_dp_drrs_compute_config()
444 intel_dp_drrs_init(struct intel_connector *connector, in intel_dp_drrs_init()

123