Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_panel.h17 struct intel_connector;
21 int intel_panel_init(struct intel_connector *connector);
22 void intel_panel_fini(struct intel_connector *connector);
27 intel_panel_preferred_fixed_mode(struct intel_connector *connector);
29 intel_panel_fixed_mode(struct intel_connector *connector,
32 intel_panel_downclock_mode(struct intel_connector *connector,
35 intel_panel_highest_mode(struct intel_connector *connector,
37 int intel_panel_get_modes(struct intel_connector *connector);
38 enum drrs_type intel_panel_drrs_type(struct intel_connector *connector);
40 intel_panel_mode_valid(struct intel_connector *connector,
[all …]
Dintel_connector.c40 int intel_connector_init(struct intel_connector *connector) in intel_connector_init()
62 struct intel_connector *intel_connector_alloc(void) in intel_connector_alloc()
64 struct intel_connector *connector; in intel_connector_alloc()
85 void intel_connector_free(struct intel_connector *connector) in intel_connector_free()
96 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_connector_destroy() local
98 kfree(intel_connector->detect_edid); in intel_connector_destroy()
100 intel_hdcp_cleanup(intel_connector); in intel_connector_destroy()
102 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_connector_destroy()
103 kfree(intel_connector->edid); in intel_connector_destroy()
105 intel_panel_fini(intel_connector); in intel_connector_destroy()
[all …]
Dintel_backlight.h13 struct intel_connector;
20 int intel_backlight_setup(struct intel_connector *connector, enum pipe pipe);
35 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 level);
36 u32 intel_backlight_level_to_pwm(struct intel_connector *connector, u32 level);
37 u32 intel_backlight_level_from_pwm(struct intel_connector *connector, u32 val);
40 int intel_backlight_device_register(struct intel_connector *connector);
41 void intel_backlight_device_unregister(struct intel_connector *connector);
43 static inline int intel_backlight_device_register(struct intel_connector *connector) in intel_backlight_device_register()
47 static inline void intel_backlight_device_unregister(struct intel_connector *connector) in intel_backlight_device_unregister()
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_dp_mst.c56 struct intel_connector *connector = in intel_dp_mst_compute_link_config()
138 struct intel_connector *connector = in intel_dp_mst_compute_config()
213 struct intel_connector *connector; in intel_dp_mst_transcoder_mask()
261 intel_dp_mst_atomic_master_trans_check(struct intel_connector *connector, in intel_dp_mst_atomic_master_trans_check()
266 struct intel_connector *connector_iter; in intel_dp_mst_atomic_master_trans_check()
317 struct intel_connector *intel_connector = in intel_dp_mst_atomic_check() local
325 ret = intel_dp_mst_atomic_master_trans_check(intel_connector, state); in intel_dp_mst_atomic_check()
330 &intel_connector->mst_port->mst_mgr, in intel_dp_mst_atomic_check()
331 intel_connector->port); in intel_dp_mst_atomic_check()
365 struct intel_connector *connector = in intel_mst_disable_dp()
[all …]
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_lvds.c78 struct intel_connector *attached_connector;
391 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_mode_valid() local
393 intel_panel_fixed_mode(intel_connector, mode); in intel_lvds_mode_valid()
400 status = intel_panel_mode_valid(intel_connector, mode); in intel_lvds_mode_valid()
417 struct intel_connector *intel_connector = in intel_lvds_compute_config() local
450 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_lvds_compute_config()
478 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_lvds_get_modes() local
481 if (!IS_ERR_OR_NULL(intel_connector->edid)) in intel_lvds_get_modes()
482 return drm_add_edid_modes(connector, intel_connector->edid); in intel_lvds_get_modes()
484 return intel_panel_get_modes(intel_connector); in intel_lvds_get_modes()
[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()
226 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dvo_mode_valid() local
227 struct intel_dvo *intel_dvo = intel_attached_dvo(intel_connector); in intel_dvo_mode_valid()
229 intel_panel_fixed_mode(intel_connector, mode); in intel_dvo_mode_valid()
241 status = intel_panel_mode_valid(intel_connector, mode); in intel_dvo_mode_valid()
259 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dvo_compute_config()
395 struct intel_connector *intel_connector; in intel_dvo_init() local
403 intel_connector = intel_connector_alloc(); in intel_dvo_init()
[all …]
Dintel_backlight.c61 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw()
74 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user()
83 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_backlight_invert_pwm_level()
103 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level()
111 u32 intel_backlight_level_to_pwm(struct intel_connector *connector, u32 val) in intel_backlight_level_to_pwm()
125 u32 intel_backlight_level_from_pwm(struct intel_connector *connector, u32 val) in intel_backlight_level_from_pwm()
141 static u32 lpt_get_backlight(struct intel_connector *connector, enum pipe unused) in lpt_get_backlight()
148 static u32 pch_get_backlight(struct intel_connector *connector, enum pipe unused) in pch_get_backlight()
155 static u32 i9xx_get_backlight(struct intel_connector *connector, enum pipe unused) in i9xx_get_backlight()
175 static u32 vlv_get_backlight(struct intel_connector *connector, enum pipe pipe) in vlv_get_backlight()
[all …]
Dintel_panel.c51 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode()
58 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode()
97 intel_panel_downclock_mode(struct intel_connector *connector, in intel_panel_downclock_mode()
119 intel_panel_highest_mode(struct intel_connector *connector, in intel_panel_highest_mode()
133 int intel_panel_get_modes(struct intel_connector *connector) in intel_panel_get_modes()
151 enum drrs_type intel_panel_drrs_type(struct intel_connector *connector) in intel_panel_drrs_type()
160 int intel_panel_compute_config(struct intel_connector *connector, in intel_panel_compute_config()
191 static void intel_panel_add_edid_alt_fixed_modes(struct intel_connector *connector) in intel_panel_add_edid_alt_fixed_modes()
211 static void intel_panel_add_edid_preferred_mode(struct intel_connector *connector) in intel_panel_add_edid_preferred_mode()
242 static void intel_panel_destroy_probed_modes(struct intel_connector *connector) in intel_panel_destroy_probed_modes()
[all …]
Dintel_dsi.c44 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_mode_valid() local
46 intel_panel_fixed_mode(intel_connector, mode); in intel_dsi_mode_valid()
55 status = intel_panel_mode_valid(intel_connector, mode); in intel_dsi_mode_valid()
100 intel_dsi_get_panel_orientation(struct intel_connector *connector) in intel_dsi_get_panel_orientation()
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_dsi_dcs_backlight.c46 static u32 dcs_get_backlight(struct intel_connector *connector, enum pipe unused) in dcs_get_backlight()
162 static int dcs_setup_backlight(struct intel_connector *connector, in dcs_setup_backlight()
185 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector) in intel_dsi_dcs_init_backlight_funcs() argument
187 struct drm_device *dev = intel_connector->base.dev; in intel_dsi_dcs_init_backlight_funcs()
188 struct intel_encoder *encoder = intel_attached_encoder(intel_connector); in intel_dsi_dcs_init_backlight_funcs()
189 struct intel_panel *panel = &intel_connector->panel; in intel_dsi_dcs_init_backlight_funcs()
Dintel_dp_aux_backlight.c110 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) 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()
198 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_aux_backlight()
214 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_backlight()
230 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_enable_backlight()
265 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_disable_backlight()
277 intel_dp_aux_hdr_setup_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_setup_backlight()
316 static u32 intel_dp_aux_vesa_get_backlight(struct intel_connector *connector, enum pipe unused) in intel_dp_aux_vesa_get_backlight()
324 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_set_backlight()
341 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_enable_backlight()
[all …]
Dintel_dp_hdcp.h9 struct intel_connector;
13 struct intel_connector *intel_connector);
Dintel_display_debugfs.h11 struct intel_connector;
15 void intel_connector_debugfs_add(struct intel_connector *connector);
19 static inline void intel_connector_debugfs_add(struct intel_connector *connector) {} in intel_connector_debugfs_add()
Dintel_dp.c206 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_set_sink_rates()
230 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_set_max_sink_lane_count()
431 struct intel_connector *connector = intel_dp->attached_connector; in vbt_max_link_rate()
789 intel_dp_output_format(struct intel_connector *connector, in intel_dp_output_format()
829 intel_dp_mode_min_output_bpp(struct intel_connector *connector, in intel_dp_mode_min_output_bpp()
860 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_max_tmds_clock()
896 intel_dp_mode_valid_downstream(struct intel_connector *connector, in intel_dp_mode_valid_downstream()
964 struct intel_connector *connector = to_intel_connector(_connector); in intel_dp_mode_valid()
1226 struct intel_connector *intel_connector = intel_dp->attached_connector; in intel_dp_max_bpp() local
1248 if (intel_connector->base.display_info.bpc == 0 && in intel_dp_max_bpp()
[all …]
Dintel_hdcp.c32 static int intel_conn_to_vcpi(struct intel_connector *connector) in intel_conn_to_vcpi()
75 struct intel_connector *connector; in intel_hdcp_required_content_stream()
124 static int intel_hdcp_prepare_streams(struct intel_connector *connector) in intel_hdcp_prepare_streams()
180 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable()
201 bool intel_hdcp2_capable(struct intel_connector *connector) in intel_hdcp2_capable()
404 int intel_hdcp_validate_v_prime(struct intel_connector *connector, in intel_hdcp_validate_v_prime()
648 int intel_hdcp_auth_downstream(struct intel_connector *connector) in intel_hdcp_auth_downstream()
731 static int intel_hdcp_auth(struct intel_connector *connector) in intel_hdcp_auth()
903 static int _intel_hdcp_disable(struct intel_connector *connector) in _intel_hdcp_disable()
959 static int _intel_hdcp_enable(struct intel_connector *connector) in _intel_hdcp_enable()
[all …]
Dintel_display_types.h61 struct intel_connector;
161 struct intel_connector *connector);
274 int (*setup)(struct intel_connector *connector, enum pipe pipe);
275 u32 (*get)(struct intel_connector *connector, enum pipe pipe);
280 u32 (*hz_to_pwm)(struct intel_connector *connector, u32 hz);
390 void (*power)(struct intel_connector *, bool enable);
473 int (*stream_encryption)(struct intel_connector *connector,
478 struct intel_connector *connector);
508 int (*stream_2_2_encryption)(struct intel_connector *connector,
513 struct intel_connector *connector);
[all …]
Dintel_hdmi.h15 struct intel_connector;
25 struct intel_connector *intel_connector);
Dintel_opregion.h32 struct intel_connector;
77 struct edid *intel_opregion_get_edid(struct intel_connector *connector);
127 intel_opregion_get_edid(struct intel_connector *connector) in intel_opregion_get_edid()
Dintel_dp_hdcp.c257 struct intel_connector *connector) in intel_dp_hdcp_check_link()
612 struct intel_connector *connector) in intel_dp_hdcp2_check_link()
673 intel_dp_mst_toggle_hdcp_stream_select(struct intel_connector *connector, in intel_dp_mst_toggle_hdcp_stream_select()
691 intel_dp_mst_hdcp_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp_stream_encryption()
725 intel_dp_mst_hdcp2_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp2_stream_encryption()
761 struct intel_connector *connector) in intel_dp_mst_hdcp2_check_link()
804 struct intel_connector *intel_connector) in intel_dp_hdcp_init() argument
806 struct drm_device *dev = intel_connector->base.dev; in intel_dp_hdcp_init()
815 if (intel_connector->mst_port) in intel_dp_hdcp_init()
816 return intel_hdcp_init(intel_connector, dig_port, in intel_dp_hdcp_init()
[all …]
Dintel_ddi.h14 struct intel_connector;
60 bool intel_ddi_connector_get_hw_state(struct intel_connector *intel_connector);
Dvlv_dsi.c277 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config() local
284 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_dsi_compute_config()
785 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dsi_pre_enable()
1660 static void vlv_dsi_add_properties(struct intel_connector *connector) in vlv_dsi_add_properties()
1693 struct intel_connector *connector = intel_dsi->attached_connector; in vlv_dphy_param_init()
1861 struct intel_connector *intel_connector; in vlv_dsi_init() local
1882 intel_connector = intel_connector_alloc(); in vlv_dsi_init()
1883 if (!intel_connector) { in vlv_dsi_init()
1890 intel_dsi->attached_connector = intel_connector; in vlv_dsi_init()
1892 connector = &intel_connector->base; in vlv_dsi_init()
[all …]

123