/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_opregion.h | 32 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 D | intel_acpi.h | 9 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 D | intel_de.h | 13 static inline struct intel_uncore *__to_uncore(struct intel_display *display) in __to_uncore() 19 __intel_de_read(struct intel_display *display, i915_reg_t reg) in __intel_de_read() 34 __intel_de_read8(struct intel_display *display, i915_reg_t reg) in __intel_de_read8() 49 __intel_de_read64_2x32(struct intel_display *display, in __intel_de_read64_2x32() 68 __intel_de_posting_read(struct intel_display *display, i915_reg_t reg) in __intel_de_posting_read() 79 __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val) in __intel_de_write() 90 ____intel_de_rmw_nowl(struct intel_display *display, i915_reg_t reg, in ____intel_de_rmw_nowl() 98 __intel_de_rmw(struct intel_display *display, i915_reg_t reg, u32 clear, in __intel_de_rmw() 114 ____intel_de_wait_for_register_nowl(struct intel_display *display, in ____intel_de_wait_for_register_nowl() 124 __intel_de_wait(struct intel_display *display, i915_reg_t reg, in __intel_de_wait() [all …]
|
H A D | intel_bios.h | 38 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 D | intel_dmc_wl.h | 15 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 D | intel_fbc.h | 16 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 D | intel_quirks.c | 12 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 D | intel_fbc.c | 93 struct intel_display *display; 157 static unsigned int skl_fbc_min_cfb_stride(struct intel_display *display, in skl_fbc_min_cfb_stride() 185 static unsigned int _intel_fbc_cfb_stride(struct intel_display *display, in _intel_fbc_cfb_stride() 202 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_cfb_stride() 215 static unsigned int intel_fbc_max_cfb_height(struct intel_display *display) in intel_fbc_max_cfb_height() 227 static unsigned int _intel_fbc_cfb_size(struct intel_display *display, in _intel_fbc_cfb_size() 235 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_cfb_size() 243 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_override_cfb_stride() 262 static bool intel_fbc_has_fences(struct intel_display *display) in intel_fbc_has_fences() 272 struct intel_display *display = fbc->display; in i8xx_fbc_ctl() [all …]
|
H A D | intel_opregion.c | 255 struct intel_display *display; 271 static int check_swsci_function(struct intel_display *display, u32 function) in check_swsci_function() 303 static int swsci(struct intel_display *display, in swsci() 387 struct intel_display *display = to_intel_display(encoder); in intel_opregion_notify_encoder() 469 int intel_opregion_notify_adapter(struct intel_display *display, in intel_opregion_notify_adapter() 486 static u32 asle_set_backlight(struct intel_display *display, u32 bclp) in asle_set_backlight() 527 static u32 asle_set_als_illum(struct intel_display *display, u32 alsi) in asle_set_als_illum() 535 static u32 asle_set_pwm_freq(struct intel_display *display, u32 pfmb) in asle_set_pwm_freq() 541 static u32 asle_set_pfit(struct intel_display *display, u32 pfit) in asle_set_pfit() 549 static u32 asle_set_supported_rotation_angles(struct intel_display *display, u32 srot) in asle_set_supported_rotation_angles() [all …]
|
H A D | intel_psr.c | 227 struct intel_display *display = to_intel_display(intel_dp); in psr_global_enabled() 244 struct intel_display *display = to_intel_display(intel_dp); in psr2_global_enabled() 259 struct intel_display *display = to_intel_display(intel_dp); in psr2_su_region_et_global_enabled() 269 struct intel_display *display = to_intel_display(intel_dp); in panel_replay_global_enabled() 279 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_psr_error_bit_get() 287 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_post_exit_bit_get() 295 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_pre_entry_bit_get() 303 struct intel_display *display = to_intel_display(intel_dp); in psr_irq_mask_get() 309 static i915_reg_t psr_ctl_reg(struct intel_display *display, in psr_ctl_reg() 318 static i915_reg_t psr_debug_reg(struct intel_display *display, in psr_debug_reg() [all …]
|
H A D | intel_dmc_wl.c | 54 static void __intel_dmc_wl_release(struct intel_display *display) in __intel_dmc_wl_release() 69 struct intel_display *display = in intel_dmc_wl_work() 70 container_of(wl, struct intel_display, wl); in intel_dmc_wl_work() 110 static bool __intel_dmc_wl_supported(struct intel_display *display) in __intel_dmc_wl_supported() 122 void intel_dmc_wl_init(struct intel_display *display) in intel_dmc_wl_init() 135 void intel_dmc_wl_enable(struct intel_display *display) in intel_dmc_wl_enable() 162 void intel_dmc_wl_disable(struct intel_display *display) in intel_dmc_wl_disable() 188 void intel_dmc_wl_get(struct intel_display *display, i915_reg_t reg) in intel_dmc_wl_get() 236 void intel_dmc_wl_put(struct intel_display *display, i915_reg_t reg) in intel_dmc_wl_put()
|
H A D | intel_pps.c | 21 static void vlv_steal_power_sequencer(struct intel_display *display, 29 struct intel_display *display = to_intel_display(intel_dp); in pps_name() 66 struct intel_display *display = to_intel_display(intel_dp); in intel_pps_lock() 82 struct intel_display *display = to_intel_display(intel_dp); in intel_pps_unlock() 94 struct intel_display *display = to_intel_display(intel_dp); in vlv_power_sequencer_kick() 169 static enum pipe vlv_find_free_pps(struct intel_display *display) in vlv_find_free_pps() 207 struct intel_display *display = to_intel_display(intel_dp); in vlv_power_sequencer_pipe() 255 struct intel_display *display = to_intel_display(intel_dp); in bxt_power_sequencer_idx() 277 typedef bool (*pps_check)(struct intel_display *display, int pps_idx); 279 static bool pps_has_pp_on(struct intel_display *display, int pps_idx) in pps_has_pp_on() [all …]
|
H A D | intel_hti.h | 11 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 D | intel_pps.h | 16 struct intel_display; 46 void intel_pps_reset_all(struct intel_display *display); 51 void intel_pps_unlock_regs_wa(struct intel_display *display); 52 void intel_pps_setup(struct intel_display *display); 56 void assert_pps_unlocked(struct intel_display *display, enum pipe pipe);
|
H A D | intel_vblank.c | 70 struct intel_display *display = to_intel_display(crtc->dev); in i915_get_vblank_counter() 122 struct intel_display *display = to_intel_display(crtc->dev); in g4x_get_vblank_counter() 134 struct intel_display *display = to_intel_display(crtc); in intel_crtc_scanlines_since_frame_timestamp() 195 struct intel_display *display = to_intel_display(crtc_state); in intel_crtc_scanline_offset() 238 struct intel_display *display = to_intel_display(crtc); in __intel_get_crtc_scanline() 298 static void intel_vblank_section_enter(struct intel_display *display) in intel_vblank_section_enter() 305 static void intel_vblank_section_exit(struct intel_display *display) in intel_vblank_section_exit() 312 static void intel_vblank_section_enter(struct intel_display *display) in intel_vblank_section_enter() 316 static void intel_vblank_section_exit(struct intel_display *display) in intel_vblank_section_exit() 327 struct intel_display *display = to_intel_display(_crtc->dev); in i915_get_crtc_scanoutpos() [all …]
|
H A D | intel_hdmi.c | 66 struct intel_display *display = to_intel_display(intel_hdmi); in assert_hdmi_port_disabled() 77 assert_hdmi_transcoder_func_disabled(struct intel_display *display, in assert_hdmi_transcoder_func_disabled() 156 hsw_dip_data_reg(struct intel_display *display, in hsw_dip_data_reg() 184 static int hsw_dip_data_size(struct intel_display *display, in hsw_dip_data_size() 209 struct intel_display *display = to_intel_display(encoder); in g4x_write_infoframe() 245 struct intel_display *display = to_intel_display(encoder); in g4x_read_infoframe() 259 struct intel_display *display = to_intel_display(encoder); in g4x_infoframes_enabled() 277 struct intel_display *display = to_intel_display(encoder); in ibx_write_infoframe() 316 struct intel_display *display = to_intel_display(encoder); in ibx_read_infoframe() 331 struct intel_display *display = to_intel_display(encoder); in ibx_infoframes_enabled() [all …]
|
H A D | intel_dp_tunnel.h | 18 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 D | intel_bios.c | 69 struct intel_display *display; 148 bdb_find_section(struct intel_display *display, in bdb_find_section() 203 static size_t lfp_data_min_size(struct intel_display *display) in lfp_data_min_size() 363 static void *generate_lfp_data_ptrs(struct intel_display *display, in generate_lfp_data_ptrs() 454 init_bdb_block(struct intel_display *display, in init_bdb_block() 513 static void init_bdb_blocks(struct intel_display *display, in init_bdb_blocks() 530 fill_detail_timing_data(struct intel_display *display, in fill_detail_timing_data() 623 static int opregion_get_panel_type(struct intel_display *display, in opregion_get_panel_type() 630 static int vbt_get_panel_type(struct intel_display *display, in vbt_get_panel_type() 656 static int pnpid_get_panel_type(struct intel_display *display, in pnpid_get_panel_type() [all …]
|
H A D | intel_tv.h | 9 struct intel_display; 12 void intel_tv_init(struct intel_display *display); 14 static inline void intel_tv_init(struct intel_display *display) in intel_tv_init()
|
H A D | intel_encoder.h | 9 struct intel_display; 17 void intel_encoder_suspend_all(struct intel_display *display); 18 void intel_encoder_shutdown_all(struct intel_display *display);
|
H A D | intel_vrr.c | 20 struct intel_display *display = to_intel_display(connector); in intel_vrr_is_capable() 92 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_vblank_exit_length() 115 struct intel_display *display = to_intel_display(crtc_state); in is_cmrr_frac_required() 163 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_compute_config() 259 struct intel_display *display = to_intel_display(crtc_state); in trans_vrr_ctl() 272 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_set_transcoder_timings() 313 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_send_push() 325 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_is_push_sent() 336 struct intel_display *display = to_intel_display(crtc_state); in intel_vrr_enable() 363 struct intel_display *display = to_intel_display(old_crtc_state); in intel_vrr_disable() [all …]
|
H A D | intel_quirks.h | 11 struct intel_display; 25 void intel_init_quirks(struct intel_display *display); 28 bool intel_has_quirk(struct intel_display *display, enum intel_quirk_id quirk);
|
H A D | intel_psr.h | 18 struct intel_display; 40 void intel_psr_invalidate(struct intel_display *display, 43 void intel_psr_flush(struct intel_display *display, 65 void intel_psr_debugfs_register(struct intel_display *display);
|
H A D | intel_lspcon.c | 83 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 …]
|
H A D | intel_dp_tunnel.c | 72 struct intel_display *display = to_intel_display(intel_dp); in update_tunnel_state() 124 struct intel_display *display = to_intel_display(intel_dp); in allocate_initial_tunnel_bw_for_pipes() 175 struct intel_display *display = to_intel_display(intel_dp); in detect_new_tunnel() 269 struct intel_display *display = to_intel_display(intel_dp); in intel_dp_tunnel_suspend() 299 struct intel_display *display = to_intel_display(intel_dp); in intel_dp_tunnel_resume() 374 struct intel_display *display = to_intel_display(state); in add_inherited_tunnel() 399 struct intel_display *display = to_intel_display(state); in check_inherited_tunnel_state() 446 struct intel_display *display = to_intel_display(state); in intel_dp_tunnel_atomic_cleanup_inherited_state() 463 struct intel_display *display = to_intel_display(state); in intel_dp_tunnel_atomic_add_group_state() 510 struct intel_display *display = to_intel_display(state); in check_group_state() [all …]
|