Home
last modified time | relevance | path

Searched refs:intel_display (Results 1 – 25 of 93) sorted by relevance

1234

/linux/drivers/gpu/drm/i915/display/
H A Dintel_opregion.h32 struct intel_display;
37 int intel_opregion_setup(struct intel_display *display);
38 void intel_opregion_cleanup(struct intel_display *display);
40 void intel_opregion_register(struct intel_display *display);
41 void intel_opregion_unregister(struct intel_display *display);
43 void intel_opregion_resume(struct intel_display *display);
44 void intel_opregion_suspend(struct intel_display *display,
47 bool intel_opregion_asle_present(struct intel_display *display);
48 void intel_opregion_asle_intr(struct intel_display *display);
51 int intel_opregion_notify_adapter(struct intel_display *display,
[all …]
H A Dintel_acpi.h9 struct intel_display;
14 void intel_dsm_get_bios_data_funcs_supported(struct intel_display *display);
15 void intel_acpi_device_id_update(struct intel_display *display);
16 void intel_acpi_assign_connector_fwnodes(struct intel_display *display);
17 void intel_acpi_video_register(struct intel_display *display);
22 void intel_dsm_get_bios_data_funcs_supported(struct intel_display *display) { return; } in intel_dsm_get_bios_data_funcs_supported()
24 void intel_acpi_device_id_update(struct intel_display *display) { return; } in intel_acpi_device_id_update()
26 void intel_acpi_assign_connector_fwnodes(struct intel_display *display) { return; } in intel_acpi_assign_connector_fwnodes()
28 void intel_acpi_video_register(struct intel_display *display) { return; } in intel_acpi_video_register()
H A Dintel_bios.h38 struct intel_display;
235 void intel_bios_init(struct intel_display *display);
236 void intel_bios_init_panel_early(struct intel_display *display,
239 void intel_bios_init_panel_late(struct intel_display *display,
244 void intel_bios_driver_remove(struct intel_display *display);
245 bool intel_bios_is_valid_vbt(struct intel_display *display,
247 bool intel_bios_is_tv_present(struct intel_display *display);
248 bool intel_bios_is_lvds_present(struct intel_display *display, u8 *i2c_pin);
249 bool intel_bios_is_port_present(struct intel_display *display, enum port port);
250 bool intel_bios_is_dsi_present(struct intel_display *display, enum port *port);
[all …]
H A Dintel_quirks.c12 static void intel_set_quirk(struct intel_display *display, enum intel_quirk_id quirk) in intel_set_quirk()
25 static void quirk_ssc_force_disable(struct intel_display *display) in quirk_ssc_force_disable()
35 static void quirk_invert_brightness(struct intel_display *display) in quirk_invert_brightness()
42 static void quirk_backlight_present(struct intel_display *display) in quirk_backlight_present()
51 static void quirk_increase_t12_delay(struct intel_display *display) in quirk_increase_t12_delay()
61 static void quirk_increase_ddi_disabled_time(struct intel_display *display) in quirk_increase_ddi_disabled_time()
67 static void quirk_no_pps_backlight_power_hook(struct intel_display *display) in quirk_no_pps_backlight_power_hook()
75 struct intel_display *display = to_intel_display(intel_dp); in quirk_fw_sync_len()
85 void (*hook)(struct intel_display *display);
105 void (*hook)(struct intel_display *display);
[all …]
H A Dintel_fbc.h16 struct intel_display;
35 void intel_fbc_init(struct intel_display *display);
36 void intel_fbc_cleanup(struct intel_display *display);
37 void intel_fbc_sanitize(struct intel_display *display);
47 void intel_fbc_handle_fifo_underrun_irq(struct intel_display *display);
48 void intel_fbc_reset_underrun(struct intel_display *display);
50 void intel_fbc_debugfs_register(struct intel_display *display);
H A Dintel_dmc_wl.h15 struct intel_display;
25 void intel_dmc_wl_init(struct intel_display *display);
26 void intel_dmc_wl_enable(struct intel_display *display);
27 void intel_dmc_wl_disable(struct intel_display *display);
28 void intel_dmc_wl_get(struct intel_display *display, i915_reg_t reg);
29 void intel_dmc_wl_put(struct intel_display *display, i915_reg_t reg);
H A Dintel_dmc.c55 struct intel_display *display;
73 static struct intel_dmc *display_to_dmc(struct intel_display *display) in display_to_dmc()
78 static const char *dmc_firmware_param(struct intel_display *display) in dmc_firmware_param()
85 static bool dmc_firmware_param_disabled(struct intel_display *display) in dmc_firmware_param_disabled()
168 static const char *dmc_firmware_default(struct intel_display *display, u32 *size) in dmc_firmware_default()
385 static bool has_dmc_id_fw(struct intel_display *display, enum intel_dmc_id dmc_id) in has_dmc_id_fw()
392 bool intel_dmc_has_payload(struct intel_display *display) in intel_dmc_has_payload()
398 intel_get_stepping_info(struct intel_display *display, in intel_get_stepping_info()
408 static void gen9_set_dc_state_debugmask(struct intel_display *display) in gen9_set_dc_state_debugmask()
416 static void disable_event_handler(struct intel_display *display, in disable_event_handler()
[all …]
H A Dintel_gmbus.c51 struct intel_display *display;
152 static const struct gmbus_pin *get_gmbus_pin(struct intel_display *display, in get_gmbus_pin()
194 bool intel_gmbus_is_valid_pin(struct intel_display *display, unsigned int pin) in intel_gmbus_is_valid_pin()
210 intel_gmbus_reset(struct intel_display *display) in intel_gmbus_reset()
216 static void pnv_gmbus_clock_gating(struct intel_display *display, in pnv_gmbus_clock_gating()
225 static void pch_gmbus_clock_gating(struct intel_display *display, in pch_gmbus_clock_gating()
233 static void bxt_gmbus_clock_gating(struct intel_display *display, in bxt_gmbus_clock_gating()
242 struct intel_display *display = bus->display; in get_reserved()
257 struct intel_display *display = bus->display; in get_clock()
269 struct intel_display *display = bus->display; in get_data()
[all …]
H A Dintel_fbc.c94 struct intel_display *display;
158 static unsigned int skl_fbc_min_cfb_stride(struct intel_display *display, in skl_fbc_min_cfb_stride()
186 static unsigned int _intel_fbc_cfb_stride(struct intel_display *display, in _intel_fbc_cfb_stride()
203 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_cfb_stride()
216 static unsigned int intel_fbc_max_cfb_height(struct intel_display *display) in intel_fbc_max_cfb_height()
228 static unsigned int _intel_fbc_cfb_size(struct intel_display *display, in _intel_fbc_cfb_size()
236 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_cfb_size()
244 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_override_cfb_stride()
263 static bool intel_fbc_has_fences(struct intel_display *display) in intel_fbc_has_fences()
273 struct intel_display *display = fbc->display; in i8xx_fbc_ctl()
[all …]
H A Dintel_opregion.c256 struct intel_display *display;
272 static int check_swsci_function(struct intel_display *display, u32 function) in check_swsci_function()
304 static int swsci(struct intel_display *display, in swsci()
388 struct intel_display *display = to_intel_display(encoder); in intel_opregion_notify_encoder()
470 int intel_opregion_notify_adapter(struct intel_display *display, in intel_opregion_notify_adapter()
487 static u32 asle_set_backlight(struct intel_display *display, u32 bclp) in asle_set_backlight()
528 static u32 asle_set_als_illum(struct intel_display *display, u32 alsi) in asle_set_als_illum()
536 static u32 asle_set_pwm_freq(struct intel_display *display, u32 pfmb) in asle_set_pwm_freq()
542 static u32 asle_set_pfit(struct intel_display *display, u32 pfit) in asle_set_pfit()
550 static u32 asle_set_supported_rotation_angles(struct intel_display *display, u32 srot) in asle_set_supported_rotation_angles()
[all …]
H A Dintel_cdclk.c116 void (*get_cdclk)(struct intel_display *display,
118 void (*set_cdclk)(struct intel_display *display,
125 void intel_cdclk_get_cdclk(struct intel_display *display, in intel_cdclk_get_cdclk()
131 static void intel_cdclk_set_cdclk(struct intel_display *display, in intel_cdclk_set_cdclk()
140 struct intel_display *display = to_intel_display(state); in intel_cdclk_modeset_calc_cdclk()
145 static u8 intel_cdclk_calc_voltage_level(struct intel_display *display, in intel_cdclk_calc_voltage_level()
151 static void fixed_133mhz_get_cdclk(struct intel_display *display, in fixed_133mhz_get_cdclk()
157 static void fixed_200mhz_get_cdclk(struct intel_display *display, in fixed_200mhz_get_cdclk()
163 static void fixed_266mhz_get_cdclk(struct intel_display *display, in fixed_266mhz_get_cdclk()
169 static void fixed_333mhz_get_cdclk(struct intel_display *display, in fixed_333mhz_get_cdclk()
[all …]
H A Dintel_pps.c23 static void vlv_steal_power_sequencer(struct intel_display *display,
31 struct intel_display *display = to_intel_display(intel_dp); in pps_name()
67 struct intel_display *display = to_intel_display(intel_dp); in intel_pps_lock()
83 struct intel_display *display = to_intel_display(intel_dp); in intel_pps_unlock()
95 struct intel_display *display = to_intel_display(intel_dp); in vlv_power_sequencer_kick()
170 static enum pipe vlv_find_free_pps(struct intel_display *display) in vlv_find_free_pps()
208 struct intel_display *display = to_intel_display(intel_dp); in vlv_power_sequencer_pipe()
256 struct intel_display *display = to_intel_display(intel_dp); in bxt_power_sequencer_idx()
278 typedef bool (*pps_check)(struct intel_display *display, int pps_idx);
280 static bool pps_has_pp_on(struct intel_display *display, int pps_idx) in pps_has_pp_on()
[all …]
H A Dintel_psr.c230 struct intel_display *display = to_intel_display(intel_dp); in psr_global_enabled()
249 struct intel_display *display = to_intel_display(intel_dp); in psr2_global_enabled()
264 struct intel_display *display = to_intel_display(intel_dp); in psr2_su_region_et_global_enabled()
274 struct intel_display *display = to_intel_display(intel_dp); in panel_replay_global_enabled()
284 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_psr_error_bit_get()
292 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_post_exit_bit_get()
300 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_pre_entry_bit_get()
308 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_mask_get()
314 static i915_reg_t psr_ctl_reg(struct intel_display *display, in psr_ctl_reg()
323 static i915_reg_t psr_debug_reg(struct intel_display *display, in psr_debug_reg()
[all …]
H A Dintel_pps.h16 struct intel_display;
55 void vlv_pps_reset_all(struct intel_display *display);
56 void bxt_pps_reset_all(struct intel_display *display);
58 void intel_pps_unlock_regs_wa(struct intel_display *display);
59 void intel_pps_setup(struct intel_display *display);
63 void assert_pps_unlocked(struct intel_display *display, enum pipe pipe);
H A Dintel_vblank.c72 struct intel_display *display = to_intel_display(crtc->dev); in i915_get_vblank_counter()
124 struct intel_display *display = to_intel_display(crtc->dev); in g4x_get_vblank_counter()
136 struct intel_display *display = to_intel_display(crtc); in intel_crtc_scanlines_since_frame_timestamp()
197 struct intel_display *display = to_intel_display(crtc_state); in intel_crtc_scanline_offset()
239 struct intel_display *display = to_intel_display(crtc); in __intel_get_crtc_scanline()
299 static void intel_vblank_section_enter(struct intel_display *display) in intel_vblank_section_enter()
306 static void intel_vblank_section_exit(struct intel_display *display) in intel_vblank_section_exit()
313 static void intel_vblank_section_enter(struct intel_display *display) in intel_vblank_section_enter()
317 static void intel_vblank_section_exit(struct intel_display *display) in intel_vblank_section_exit()
328 struct intel_display *display = to_intel_display(_crtc->dev); in i915_get_crtc_scanoutpos()
[all …]
H A Dintel_hti.h11 struct intel_display;
14 void intel_hti_init(struct intel_display *display);
15 bool intel_hti_uses_phy(struct intel_display *display, enum phy phy);
16 u32 intel_hti_dpll_mask(struct intel_display *display);
H A Dintel_bios.c70 struct intel_display *display;
149 bdb_find_section(struct intel_display *display, in bdb_find_section()
204 static size_t lfp_data_min_size(struct intel_display *display) in lfp_data_min_size()
364 static void *generate_lfp_data_ptrs(struct intel_display *display, in generate_lfp_data_ptrs()
455 init_bdb_block(struct intel_display *display, in init_bdb_block()
514 static void init_bdb_blocks(struct intel_display *display, in init_bdb_blocks()
531 fill_detail_timing_data(struct intel_display *display, in fill_detail_timing_data()
624 static int opregion_get_panel_type(struct intel_display *display, in opregion_get_panel_type()
631 static int vbt_get_panel_type(struct intel_display *display, in vbt_get_panel_type()
657 static int pnpid_get_panel_type(struct intel_display *display, in pnpid_get_panel_type()
[all …]
H A Dintel_hdmi.c71 struct intel_display *display = to_intel_display(intel_hdmi); in assert_hdmi_port_disabled()
82 assert_hdmi_transcoder_func_disabled(struct intel_display *display, in assert_hdmi_transcoder_func_disabled()
161 hsw_dip_data_reg(struct intel_display *display, in hsw_dip_data_reg()
189 static int hsw_dip_data_size(struct intel_display *display, in hsw_dip_data_size()
214 struct intel_display *display = to_intel_display(encoder); in g4x_write_infoframe()
250 struct intel_display *display = to_intel_display(encoder); in g4x_read_infoframe()
264 struct intel_display *display = to_intel_display(encoder); in g4x_infoframes_enabled()
282 struct intel_display *display = to_intel_display(encoder); in ibx_write_infoframe()
321 struct intel_display *display = to_intel_display(encoder); in ibx_read_infoframe()
336 struct intel_display *display = to_intel_display(encoder); in ibx_infoframes_enabled()
[all …]
H A Dintel_dp_hdcp.c61 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_write_an_aksv()
96 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_bksv()
112 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_bstatus()
132 struct intel_display *display, in intel_dp_hdcp_read_bcaps()
152 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_repeater_present()
168 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_ri_prime()
186 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_ksv_ready()
205 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_ksv_fifo()
230 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_read_v_prime_part()
260 struct intel_display *display = to_intel_display(dig_port); in intel_dp_hdcp_check_link()
[all …]
H A Dintel_dp_tunnel.h18 struct intel_display;
55 int intel_dp_tunnel_mgr_init(struct intel_display *display);
56 void intel_dp_tunnel_mgr_cleanup(struct intel_display *display);
123 intel_dp_tunnel_mgr_init(struct intel_display *display) in intel_dp_tunnel_mgr_init()
128 static inline void intel_dp_tunnel_mgr_cleanup(struct intel_display *display) {} in intel_dp_tunnel_mgr_cleanup()
H A Dintel_hdcp.c39 struct intel_display *display = to_intel_display(encoder); in intel_hdcp_disable_hdcp_line_rekeying()
99 struct intel_display *display = to_intel_display(state); in intel_hdcp_required_content_stream()
185 struct intel_display *display = to_intel_display(dig_port); in intel_hdcp_read_valid_bksv()
236 struct intel_display *display = to_intel_display(connector); in intel_hdcp2_prerequisite()
291 static bool intel_hdcp_in_use(struct intel_display *display, in intel_hdcp_in_use()
299 static bool intel_hdcp2_in_use(struct intel_display *display, in intel_hdcp2_in_use()
328 static bool hdcp_key_loadable(struct intel_display *display) in hdcp_key_loadable()
357 static void intel_hdcp_clear_keys(struct intel_display *display) in intel_hdcp_clear_keys()
364 static int intel_hdcp_load_keys(struct intel_display *display) in intel_hdcp_load_keys()
418 static int intel_write_sha_text(struct intel_display *display, u32 sha_text) in intel_write_sha_text()
[all …]
H A Dintel_vrr.c20 struct intel_display *display = to_intel_display(connector); in intel_vrr_is_capable()
97 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_vblank_exit_length()
120 struct intel_display *display = to_intel_display(crtc_state); in is_cmrr_frac_required()
168 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_compute_config()
251 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_compute_config_late()
269 struct intel_display *display = to_intel_display(crtc_state); in trans_vrr_ctl()
282 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_set_transcoder_timings()
323 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_send_push()
335 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_is_push_sent()
346 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_enable()
[all …]
H A Dintel_color.c214 struct intel_display *display = to_intel_display(crtc->base.dev); in ilk_update_pipe_csc()
253 struct intel_display *display = to_intel_display(crtc); in ilk_read_pipe_csc()
320 struct intel_display *display = to_intel_display(crtc->base.dev); in icl_update_output_csc()
356 struct intel_display *display = to_intel_display(crtc); in icl_read_output_csc()
405 struct intel_display *display = to_intel_display(crtc_state); in ilk_limited_range()
421 struct intel_display *display = to_intel_display(crtc_state); in ilk_lut_limited_range()
444 static void ilk_csc_copy(struct intel_display *display, in ilk_csc_copy()
458 struct intel_display *display = to_intel_display(crtc_state); in ilk_csc_convert_ctm()
516 struct intel_display *display = to_intel_display(crtc_state); in ilk_assign_csc()
558 struct intel_display *display = to_intel_display(crtc_state); in icl_assign_csc()
[all …]
H A Dicl_dsi.c55 static int header_credits_available(struct intel_display *display, in header_credits_available()
62 static int payload_credits_available(struct intel_display *display, in payload_credits_available()
69 static bool wait_for_header_credits(struct intel_display *display, in wait_for_header_credits()
81 static bool wait_for_payload_credits(struct intel_display *display, in wait_for_payload_credits()
103 struct intel_display *display = to_intel_display(encoder); in wait_for_cmds_dispatched_to_panel()
147 struct intel_display *display = to_intel_display(&intel_dsi->base); in dsi_send_pkt_payld()
179 struct intel_display *display = to_intel_display(&intel_dsi->base); in dsi_send_pkt_hdr()
212 struct intel_display *display = to_intel_display(crtc_state); in icl_dsi_frame_update()
236 struct intel_display *display = to_intel_display(encoder); in dsi_program_swing_and_deemphasis()
282 struct intel_display *display = to_intel_display(encoder); in configure_dual_link_mode()
[all …]
H A Dintel_lspcon.c83 struct intel_display *display = to_intel_display(intel_dp); in lspcon_detect_vendor()
126 struct intel_display *display = to_intel_display(intel_dp); in lspcon_detect_hdr_capability()
145 struct intel_display *display = to_intel_display(intel_dp); in lspcon_get_current_mode()
172 struct intel_display *display = to_intel_display(intel_dp); in lspcon_wait_mode()
198 struct intel_display *display = to_intel_display(intel_dp); in lspcon_change_mode()
228 struct intel_display *display = to_intel_display(intel_dp); in lspcon_wake_native_aux_ch()
246 struct intel_display *display = to_intel_display(intel_dp); in lspcon_probe()
292 struct intel_display *display = to_intel_display(intel_dp); in lspcon_resume_in_pcon_wa()
480 struct intel_display *display = to_intel_display(encoder); in lspcon_write_infoframe()
525 struct intel_display *display = to_intel_display(encoder); in lspcon_set_infoframes()
[all …]

1234