Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_panel.h18 struct intel_connector;
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);
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 …]
H A 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 drm_edid_free(intel_connector->detect_edid); in intel_connector_destroy()
100 intel_hdcp_cleanup(intel_connector); in intel_connector_destroy()
102 intel_panel_fini(intel_connector); in intel_connector_destroy()
106 if (intel_connector->port) in intel_connector_destroy()
107 drm_dp_mst_put_port_malloc(intel_connector->port); in intel_connector_destroy()
[all …]
H A 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()
H A 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);
H A Dintel_hdcp.h17 struct intel_connector;
28 int intel_hdcp_init(struct intel_connector *connector,
35 int intel_hdcp_disable(struct intel_connector *connector);
41 bool intel_hdcp_capable(struct intel_connector *connector);
42 bool intel_hdcp2_capable(struct intel_connector *connector);
45 void intel_hdcp_cleanup(struct intel_connector *connector);
46 void intel_hdcp_handle_cp_irq(struct intel_connector *connector);
H A Dintel_dp_mst.c82 struct intel_connector *connector = in intel_dp_mst_find_vcpi_slots_for_bpp()
183 struct intel_connector *connector = in intel_dp_dsc_mst_compute_link_config()
296 struct intel_connector *connector = in intel_dp_mst_has_audio()
405 struct intel_connector *connector; in intel_dp_mst_transcoder_mask()
453 intel_dp_mst_atomic_master_trans_check(struct intel_connector *connector, in intel_dp_mst_atomic_master_trans_check()
458 struct intel_connector *connector_iter; in intel_dp_mst_atomic_master_trans_check()
509 struct intel_connector *intel_connector = in intel_dp_mst_atomic_check() local
517 ret = intel_dp_mst_atomic_master_trans_check(intel_connector, state); in intel_dp_mst_atomic_check()
522 &intel_connector->mst_port->mst_mgr, in intel_dp_mst_atomic_check()
523 intel_connector->port); in intel_dp_mst_atomic_check()
[all …]
H A Dintel_backlight.c62 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw()
75 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user()
84 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_backlight_invert_pwm_level()
104 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level()
113 u32 intel_backlight_level_to_pwm(struct intel_connector *connector, u32 val) in intel_backlight_level_to_pwm()
127 u32 intel_backlight_level_from_pwm(struct intel_connector *connector, u32 val) in intel_backlight_level_from_pwm()
143 static u32 lpt_get_backlight(struct intel_connector *connector, enum pipe unused) in lpt_get_backlight()
150 static u32 pch_get_backlight(struct intel_connector *connector, enum pipe unused) in pch_get_backlight()
157 static u32 i9xx_get_backlight(struct intel_connector *connector, enum pipe unused) in i9xx_get_backlight()
177 static u32 vlv_get_backlight(struct intel_connector *connector, enum pipe pipe) in vlv_get_backlight()
[all …]
H A Dintel_panel.c56 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode()
62 static bool is_in_vrr_range(struct intel_connector *connector, int vrefresh) in is_in_vrr_range()
71 static bool is_best_fixed_mode(struct intel_connector *connector, in is_best_fixed_mode()
95 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode()
134 intel_panel_downclock_mode(struct intel_connector *connector, in intel_panel_downclock_mode()
156 intel_panel_highest_mode(struct intel_connector *connector, in intel_panel_highest_mode()
170 int intel_panel_get_modes(struct intel_connector *connector) in intel_panel_get_modes()
188 static bool has_drrs_modes(struct intel_connector *connector) in has_drrs_modes()
204 enum drrs_type intel_panel_drrs_type(struct intel_connector *connector) in intel_panel_drrs_type()
209 int intel_panel_compute_config(struct intel_connector *connector, in intel_panel_compute_config()
[all …]
H A Dintel_dsi_dcs_backlight.h9 struct intel_connector;
11 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector);
H A Dintel_dp_aux_backlight.h9 struct intel_connector;
11 int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector);
H A Dintel_dsi.c64 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_dsi_mode_valid() local
66 intel_panel_fixed_mode(intel_connector, mode); in intel_dsi_mode_valid()
75 status = intel_panel_mode_valid(intel_connector, mode); in intel_dsi_mode_valid()
120 intel_dsi_get_panel_orientation(struct intel_connector *connector) in intel_dsi_get_panel_orientation()
H A Dintel_dp_hdcp.h9 struct intel_connector;
13 struct intel_connector *intel_connector);
H A 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()
190 int intel_dsi_dcs_init_backlight_funcs(struct intel_connector *intel_connector) in intel_dsi_dcs_init_backlight_funcs() argument
192 struct drm_device *dev = intel_connector->base.dev; in intel_dsi_dcs_init_backlight_funcs()
193 struct intel_encoder *encoder = intel_attached_encoder(intel_connector); in intel_dsi_dcs_init_backlight_funcs()
194 struct intel_panel *panel = &intel_connector->panel; in intel_dsi_dcs_init_backlight_funcs()
H A Dintel_display_debugfs.h10 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()
H A Dintel_dp_aux_backlight.c115 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) 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()
204 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_aux_backlight()
221 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_backlight()
237 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_enable_backlight()
274 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_disable_backlight()
291 intel_dp_aux_hdr_setup_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_setup_backlight()
333 static u32 intel_dp_aux_vesa_get_backlight(struct intel_connector *connector, enum pipe unused) in intel_dp_aux_vesa_get_backlight()
341 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_set_backlight()
358 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_vesa_enable_backlight()
[all …]
H A Dintel_hdcp.c34 struct intel_connector *connector) in intel_conn_to_vcpi()
93 static void intel_hdcp_prepare_streams(struct intel_connector *connector) in intel_hdcp_prepare_streams()
143 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable()
164 bool intel_hdcp2_capable(struct intel_connector *connector) in intel_hdcp2_capable()
379 int intel_hdcp_validate_v_prime(struct intel_connector *connector, in intel_hdcp_validate_v_prime()
623 int intel_hdcp_auth_downstream(struct intel_connector *connector) in intel_hdcp_auth_downstream()
706 static int intel_hdcp_auth(struct intel_connector *connector) in intel_hdcp_auth()
878 static int _intel_hdcp_disable(struct intel_connector *connector) in _intel_hdcp_disable()
933 static int _intel_hdcp_enable(struct intel_connector *connector) in _intel_hdcp_enable()
978 static struct intel_connector *intel_hdcp_to_connector(struct intel_hdcp *hdcp) in intel_hdcp_to_connector()
[all …]
H A Dintel_dp.c209 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_set_sink_rates()
233 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_set_max_sink_lane_count()
450 struct intel_connector *connector = intel_dp->attached_connector; in vbt_max_link_rate()
924 intel_dp_output_format(struct intel_connector *connector, in intel_dp_output_format()
972 intel_dp_sink_format(struct intel_connector *connector, in intel_dp_sink_format()
984 intel_dp_mode_min_output_bpp(struct intel_connector *connector, in intel_dp_mode_min_output_bpp()
1017 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_max_tmds_clock()
1054 intel_dp_mode_valid_downstream(struct intel_connector *connector, in intel_dp_mode_valid_downstream()
1122 struct intel_connector *connector = to_intel_connector(_connector); in intel_dp_mode_valid()
1309 struct intel_connector *connector = intel_dp->attached_connector; in intel_dp_has_hdmi_sink()
[all …]
H A Dintel_display_types.h62 struct intel_connector;
163 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);
405 void (*power)(struct intel_connector *, bool enable);
488 int (*stream_encryption)(struct intel_connector *connector,
493 struct intel_connector *connector);
523 int (*stream_2_2_encryption)(struct intel_connector *connector,
528 struct intel_connector *connector);
[all …]
H A Dintel_hdmi.h18 struct intel_connector;
26 struct intel_connector *intel_connector);
H A Dintel_display_debugfs.c194 struct intel_connector *connector) in intel_panel_info()
208 struct intel_connector *intel_connector) in intel_hdcp_info() argument
212 if (!intel_connector->hdcp.shim) { in intel_hdcp_info()
217 hdcp_cap = intel_hdcp_capable(intel_connector); in intel_hdcp_info()
218 hdcp2_cap = intel_hdcp2_capable(intel_connector); in intel_hdcp_info()
232 static void intel_dp_info(struct seq_file *m, struct intel_connector *connector) in intel_dp_info()
247 struct intel_connector *connector) in intel_dp_mst_info()
255 struct intel_connector *connector) in intel_hdmi_info()
265 struct intel_connector *intel_connector = to_intel_connector(connector); in intel_connector_info() local
292 intel_dp_mst_info(m, intel_connector); in intel_connector_info()
[all …]
H A Dintel_dp_hdcp.c250 struct intel_connector *connector) in intel_dp_hdcp_check_link()
605 struct intel_connector *connector) in intel_dp_hdcp2_check_link()
666 intel_dp_mst_toggle_hdcp_stream_select(struct intel_connector *connector, in intel_dp_mst_toggle_hdcp_stream_select()
684 intel_dp_mst_hdcp_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp_stream_encryption()
718 intel_dp_mst_hdcp2_stream_encryption(struct intel_connector *connector, in intel_dp_mst_hdcp2_stream_encryption()
754 struct intel_connector *connector) in intel_dp_mst_hdcp2_check_link()
797 struct intel_connector *intel_connector) in intel_dp_hdcp_init() argument
799 struct drm_device *dev = intel_connector->base.dev; in intel_dp_hdcp_init()
808 if (intel_connector->mst_port) in intel_dp_hdcp_init()
809 return intel_hdcp_init(intel_connector, dig_port, in intel_dp_hdcp_init()
[all …]
H A Dintel_opregion.h32 struct intel_connector;
78 const struct drm_edid *intel_opregion_get_edid(struct intel_connector *connector);
132 intel_opregion_get_edid(struct intel_connector *connector) in intel_opregion_get_edid()
H A Dvlv_dsi.c277 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config() local
285 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_dsi_compute_config()
1577 static void vlv_dsi_add_properties(struct intel_connector *connector) in vlv_dsi_add_properties()
1601 struct intel_connector *connector = intel_dsi->attached_connector; in vlv_dphy_param_init()
1768 struct intel_connector *intel_connector; in vlv_dsi_init() local
1789 intel_connector = intel_connector_alloc(); in vlv_dsi_init()
1790 if (!intel_connector) { in vlv_dsi_init()
1797 intel_dsi->attached_connector = intel_connector; in vlv_dsi_init()
1799 connector = &intel_connector->base; in vlv_dsi_init()
1815 intel_connector->get_hw_state = intel_connector_get_hw_state; in vlv_dsi_init()
[all …]
H A Dintel_ddi.h15 struct intel_connector;
65 bool intel_ddi_connector_get_hw_state(struct intel_connector *intel_connector);
H A Dintel_drrs.h16 struct intel_connector;
28 void intel_drrs_connector_debugfs_add(struct intel_connector *connector);

123