/drivers/gpu/drm/i915/ |
D | intel_dvo.c | 96 struct intel_encoder base; 105 static struct intel_dvo *enc_to_dvo(struct intel_encoder *encoder) in enc_to_dvo() 130 static bool intel_dvo_get_hw_state(struct intel_encoder *encoder, in intel_dvo_get_hw_state() 148 static void intel_dvo_get_config(struct intel_encoder *encoder, in intel_dvo_get_config() 170 static void intel_disable_dvo(struct intel_encoder *encoder) in intel_disable_dvo() 182 static void intel_enable_dvo(struct intel_encoder *encoder) in intel_enable_dvo() 230 static bool intel_dvo_compute_config(struct intel_encoder *encoder, in intel_dvo_compute_config() 249 static void intel_dvo_pre_enable(struct intel_encoder *encoder) in intel_dvo_pre_enable() 417 struct intel_encoder *intel_encoder; in intel_dvo_init() local 435 intel_encoder = &intel_dvo->base; in intel_dvo_init() [all …]
|
D | intel_ddi.c | 307 static void ddi_get_encoder_port(struct intel_encoder *intel_encoder, in ddi_get_encoder_port() argument 311 struct drm_encoder *encoder = &intel_encoder->base; in ddi_get_encoder_port() 313 switch (intel_encoder->type) { in ddi_get_encoder_port() 330 WARN(1, "Invalid DDI encoder type %d\n", intel_encoder->type); in ddi_get_encoder_port() 335 enum port intel_ddi_get_encoder_port(struct intel_encoder *intel_encoder) in intel_ddi_get_encoder_port() argument 340 ddi_get_encoder_port(intel_encoder, &dig_port, &port); in intel_ddi_get_encoder_port() 558 struct intel_encoder *intel_encoder; in intel_prepare_ddi() local 564 for_each_intel_encoder(dev, intel_encoder) { in intel_prepare_ddi() 569 if (intel_encoder->type == INTEL_OUTPUT_DSI) in intel_prepare_ddi() 572 ddi_get_encoder_port(intel_encoder, &intel_dig_port, &port); in intel_prepare_ddi() [all …]
|
D | intel_lvds.c | 51 struct intel_encoder base; 70 static bool intel_lvds_get_hw_state(struct intel_encoder *encoder, in intel_lvds_get_hw_state() 96 static void intel_lvds_get_config(struct intel_encoder *encoder, in intel_lvds_get_config() 132 static void intel_pre_enable_lvds(struct intel_encoder *encoder) in intel_pre_enable_lvds() 206 static void intel_enable_lvds(struct intel_encoder *encoder) in intel_enable_lvds() 233 static void intel_disable_lvds(struct intel_encoder *encoder) in intel_disable_lvds() 256 static void gmch_disable_lvds(struct intel_encoder *encoder) in gmch_disable_lvds() 267 static void pch_disable_lvds(struct intel_encoder *encoder) in pch_disable_lvds() 276 static void pch_post_disable_lvds(struct intel_encoder *encoder) in pch_post_disable_lvds() 299 static bool intel_lvds_compute_config(struct intel_encoder *intel_encoder, in intel_lvds_compute_config() argument [all …]
|
D | intel_drv.h | 131 struct intel_encoder { struct 136 void (*hot_plug)(struct intel_encoder *); argument 137 bool (*compute_config)(struct intel_encoder *, argument 139 void (*pre_pll_enable)(struct intel_encoder *); argument 140 void (*pre_enable)(struct intel_encoder *); argument 141 void (*enable)(struct intel_encoder *); argument 142 void (*mode_set)(struct intel_encoder *intel_encoder); argument 143 void (*disable)(struct intel_encoder *); argument 144 void (*post_disable)(struct intel_encoder *); argument 145 void (*post_pll_disable)(struct intel_encoder *); argument [all …]
|
D | intel_dsi.c | 265 static bool intel_dsi_compute_config(struct intel_encoder *encoder, in intel_dsi_compute_config() 285 static void bxt_dsi_device_ready(struct intel_encoder *encoder) in bxt_dsi_device_ready() 324 static void vlv_dsi_device_ready(struct intel_encoder *encoder) in vlv_dsi_device_ready() 363 static void intel_dsi_device_ready(struct intel_encoder *encoder) in intel_dsi_device_ready() 373 static void intel_dsi_port_enable(struct intel_encoder *encoder) in intel_dsi_port_enable() 413 static void intel_dsi_port_disable(struct intel_encoder *encoder) in intel_dsi_port_disable() 432 static void intel_dsi_enable(struct intel_encoder *encoder) in intel_dsi_enable() 461 static void intel_dsi_pre_enable(struct intel_encoder *encoder) in intel_dsi_pre_enable() 511 static void intel_dsi_enable_nop(struct intel_encoder *encoder) in intel_dsi_enable_nop() 521 static void intel_dsi_pre_disable(struct intel_encoder *encoder) in intel_dsi_pre_disable() [all …]
|
D | intel_dp_mst.c | 33 static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, in intel_dp_mst_compute_config() 100 static void intel_mst_disable_dp(struct intel_encoder *encoder) in intel_mst_disable_dp() 117 static void intel_mst_post_disable_dp(struct intel_encoder *encoder) in intel_mst_post_disable_dp() 140 static void intel_mst_pre_enable_dp(struct intel_encoder *encoder) in intel_mst_pre_enable_dp() 210 static void intel_mst_enable_dp(struct intel_encoder *encoder) in intel_mst_enable_dp() 231 static bool intel_dp_mst_enc_get_hw_state(struct intel_encoder *encoder, in intel_dp_mst_enc_get_hw_state() 241 static void intel_dp_mst_enc_get_config(struct intel_encoder *encoder, in intel_dp_mst_enc_get_config() 524 struct intel_encoder *intel_encoder; in intel_dp_create_fake_mst_encoder() local 533 intel_encoder = &intel_mst->base; in intel_dp_create_fake_mst_encoder() 536 drm_encoder_init(dev, &intel_encoder->base, &intel_dp_mst_enc_funcs, in intel_dp_create_fake_mst_encoder() [all …]
|
D | intel_hdmi.c | 840 static void intel_hdmi_prepare(struct intel_encoder *encoder) in intel_hdmi_prepare() 876 static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder, in intel_hdmi_get_hw_state() 904 static void intel_hdmi_get_config(struct intel_encoder *encoder, in intel_hdmi_get_config() 954 static void intel_enable_hdmi_audio(struct intel_encoder *encoder) in intel_enable_hdmi_audio() 964 static void g4x_enable_hdmi(struct intel_encoder *encoder) in g4x_enable_hdmi() 985 static void ibx_enable_hdmi(struct intel_encoder *encoder) in ibx_enable_hdmi() 1034 static void cpt_enable_hdmi(struct intel_encoder *encoder) in cpt_enable_hdmi() 1087 static void vlv_enable_hdmi(struct intel_encoder *encoder) in vlv_enable_hdmi() 1091 static void intel_disable_hdmi(struct intel_encoder *encoder) in intel_disable_hdmi() 1130 static void g4x_disable_hdmi(struct intel_encoder *encoder) in g4x_disable_hdmi() [all …]
|
D | intel_dsi.h | 40 struct intel_encoder base; 127 extern void intel_enable_dsi_pll(struct intel_encoder *encoder); 128 extern void intel_disable_dsi_pll(struct intel_encoder *encoder); 129 extern u32 vlv_get_dsi_pclk(struct intel_encoder *encoder, int pipe_bpp); 130 extern u32 bxt_get_dsi_pclk(struct intel_encoder *encoder, int pipe_bpp); 131 extern void intel_dsi_reset_clocks(struct intel_encoder *encoder,
|
D | intel_audio.c | 207 static void g4x_audio_codec_disable(struct intel_encoder *encoder) in g4x_audio_codec_disable() 227 struct intel_encoder *encoder, in g4x_audio_codec_enable() 265 static void hsw_audio_codec_disable(struct intel_encoder *encoder) in hsw_audio_codec_disable() 296 struct intel_encoder *encoder, in hsw_audio_codec_enable() 375 static void ilk_audio_codec_disable(struct intel_encoder *encoder) in ilk_audio_codec_disable() 423 struct intel_encoder *encoder, in ilk_audio_codec_enable() 512 void intel_audio_codec_enable(struct intel_encoder *intel_encoder) in intel_audio_codec_enable() argument 514 struct drm_encoder *encoder = &intel_encoder->base; in intel_audio_codec_enable() 542 dev_priv->display.audio_codec_enable(connector, intel_encoder, in intel_audio_codec_enable() 556 void intel_audio_codec_disable(struct intel_encoder *intel_encoder) in intel_audio_codec_disable() argument [all …]
|
D | intel_hotplug.c | 150 struct intel_encoder *intel_encoder; in intel_hpd_irq_storm_disable() local 162 intel_encoder = intel_connector->encoder; in intel_hpd_irq_storm_disable() 163 if (!intel_encoder) in intel_hpd_irq_storm_disable() 166 pin = intel_encoder->hpd_pin; in intel_hpd_irq_storm_disable() 308 struct intel_encoder *intel_encoder; in i915_hotplug_work_func() local 330 intel_encoder = intel_connector->encoder; in i915_hotplug_work_func() 331 if (hpd_event_bits & (1 << intel_encoder->hpd_pin)) { in i915_hotplug_work_func() 333 connector->name, intel_encoder->hpd_pin); in i915_hotplug_work_func() 334 if (intel_encoder->hot_plug) in i915_hotplug_work_func() 335 intel_encoder->hot_plug(intel_encoder); in i915_hotplug_work_func()
|
D | intel_crt.c | 48 struct intel_encoder base; 56 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt() 66 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state() 92 static unsigned int intel_crt_get_flags(struct intel_encoder *encoder) in intel_crt_get_flags() 113 static void intel_crt_get_config(struct intel_encoder *encoder, in intel_crt_get_config() 129 static void hsw_crt_get_config(struct intel_encoder *encoder, in hsw_crt_get_config() 143 static void intel_crt_set_dpms(struct intel_encoder *encoder, int mode) in intel_crt_set_dpms() 193 static void intel_disable_crt(struct intel_encoder *encoder) in intel_disable_crt() 198 static void pch_disable_crt(struct intel_encoder *encoder) in pch_disable_crt() 202 static void pch_post_disable_crt(struct intel_encoder *encoder) in pch_post_disable_crt() [all …]
|
D | intel_dp.c | 271 struct intel_encoder *encoder = &intel_dig_port->base; in pps_lock() 289 struct intel_encoder *encoder = &intel_dig_port->base; in pps_unlock() 376 struct intel_encoder *encoder; in vlv_power_sequencer_pipe() 518 struct intel_encoder *encoder; in vlv_power_sequencer_reset() 1226 intel_dp_set_clock(struct intel_encoder *encoder, in intel_dp_set_clock() 1379 intel_dp_compute_config(struct intel_encoder *encoder, in intel_dp_compute_config() 1580 static void intel_dp_prepare(struct intel_encoder *encoder) in intel_dp_prepare() 1766 struct intel_encoder *intel_encoder = &intel_dig_port->base; in edp_panel_vdd_on() local 1784 power_domain = intel_display_port_aux_power_domain(intel_encoder); in edp_panel_vdd_on() 1843 struct intel_encoder *intel_encoder = &intel_dig_port->base; in edp_panel_vdd_off_sync() local [all …]
|
D | intel_dsi_pll.c | 218 static void vlv_configure_dsi_pll(struct intel_encoder *encoder) in vlv_configure_dsi_pll() 249 static void vlv_enable_dsi_pll(struct intel_encoder *encoder) in vlv_enable_dsi_pll() 279 static void vlv_disable_dsi_pll(struct intel_encoder *encoder) in vlv_disable_dsi_pll() 296 static void bxt_disable_dsi_pll(struct intel_encoder *encoder) in bxt_disable_dsi_pll() 325 u32 vlv_get_dsi_pclk(struct intel_encoder *encoder, int pipe_bpp) in vlv_get_dsi_pclk() 387 u32 bxt_get_dsi_pclk(struct intel_encoder *encoder, int pipe_bpp) in bxt_get_dsi_pclk() 422 static void vlv_dsi_reset_clocks(struct intel_encoder *encoder, enum port port) in vlv_dsi_reset_clocks() 471 static bool bxt_configure_dsi_pll(struct intel_encoder *encoder) in bxt_configure_dsi_pll() 519 static void bxt_enable_dsi_pll(struct intel_encoder *encoder) in bxt_enable_dsi_pll() 560 void intel_enable_dsi_pll(struct intel_encoder *encoder) in intel_enable_dsi_pll() [all …]
|
D | intel_tv.c | 48 struct intel_encoder base; 827 static struct intel_tv *enc_to_tv(struct intel_encoder *encoder) in enc_to_tv() 838 intel_tv_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) in intel_tv_get_hw_state() 853 intel_enable_tv(struct intel_encoder *encoder) in intel_enable_tv() 866 intel_disable_tv(struct intel_encoder *encoder) in intel_disable_tv() 911 intel_tv_get_config(struct intel_encoder *encoder, in intel_tv_get_config() 918 intel_tv_compute_config(struct intel_encoder *encoder, in intel_tv_compute_config() 1021 static void intel_tv_pre_enable(struct intel_encoder *encoder) in intel_tv_pre_enable() 1579 struct intel_encoder *intel_encoder; in intel_tv_init() local 1630 intel_encoder = &intel_tv->base; in intel_tv_init() [all …]
|
D | intel_sdvo.c | 69 struct intel_encoder base; 211 static struct intel_sdvo *to_sdvo(struct intel_encoder *encoder) in to_sdvo() 1128 static bool intel_sdvo_compute_config(struct intel_encoder *encoder, in intel_sdvo_compute_config() 1196 static void intel_sdvo_pre_enable(struct intel_encoder *intel_encoder) in intel_sdvo_pre_enable() argument 1198 struct drm_device *dev = intel_encoder->base.dev; in intel_sdvo_pre_enable() 1200 struct intel_crtc *crtc = to_intel_crtc(intel_encoder->base.crtc); in intel_sdvo_pre_enable() 1203 struct intel_sdvo *intel_sdvo = to_sdvo(intel_encoder); in intel_sdvo_pre_enable() 1334 static bool intel_sdvo_get_hw_state(struct intel_encoder *encoder, in intel_sdvo_get_hw_state() 1357 static void intel_sdvo_get_config(struct intel_encoder *encoder, in intel_sdvo_get_config() 1444 static void intel_disable_sdvo(struct intel_encoder *encoder) in intel_disable_sdvo() [all …]
|
D | intel_opregion.c | 332 int intel_opregion_notify_encoder(struct intel_encoder *intel_encoder, in intel_opregion_notify_encoder() argument 335 struct drm_device *dev = intel_encoder->base.dev; in intel_opregion_notify_encoder() 344 if (intel_encoder->type == INTEL_OUTPUT_DSI) in intel_opregion_notify_encoder() 347 port = intel_ddi_get_encoder_port(intel_encoder); in intel_opregion_notify_encoder() 359 switch (intel_encoder->type) { in intel_opregion_notify_encoder() 375 intel_encoder->type); in intel_opregion_notify_encoder()
|
D | i915_debugfs.c | 2590 struct intel_encoder *encoder; in i915_sink_crc() 2802 struct intel_encoder *intel_encoder) in intel_encoder_info() argument 2810 encoder = &intel_encoder->base; in intel_encoder_info() 2834 struct intel_encoder *intel_encoder; in intel_crtc_info() local 2844 for_each_encoder_on_crtc(dev, crtc, intel_encoder) in intel_crtc_info() 2845 intel_encoder_info(m, intel_crtc, intel_encoder); in intel_crtc_info() 2859 struct intel_encoder *intel_encoder = intel_connector->encoder; in intel_dp_info() local 2860 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base); in intel_dp_info() 2864 if (intel_encoder->type == INTEL_OUTPUT_EDP) in intel_dp_info() 2871 struct intel_encoder *intel_encoder = intel_connector->encoder; in intel_hdmi_info() local [all …]
|
D | intel_display.c | 513 struct intel_encoder *encoder; in intel_pipe_has_type() 534 struct intel_encoder *encoder; in intel_pipe_will_have_type() 4278 struct intel_encoder *encoder; in intel_get_shared_dpll() 4898 struct intel_encoder *encoder; in ironlake_crtc_enable() 4973 struct intel_encoder *encoder; in haswell_crtc_enable() 5084 struct intel_encoder *encoder; in ironlake_crtc_disable() 5135 struct intel_encoder *encoder; in haswell_crtc_disable() 5244 intel_display_port_power_domain(struct intel_encoder *intel_encoder) in intel_display_port_power_domain() argument 5246 struct drm_device *dev = intel_encoder->base.dev; in intel_display_port_power_domain() 5249 switch (intel_encoder->type) { in intel_display_port_power_domain() [all …]
|
D | i915_drv.h | 297 #define for_each_intel_encoder(dev, intel_encoder) \ argument 298 list_for_each_entry(intel_encoder, \ 307 #define for_each_encoder_on_crtc(dev, __crtc, intel_encoder) \ argument 308 list_for_each_entry((intel_encoder), &(dev)->mode_config.encoder_list, base.head) \ 309 if ((intel_encoder)->base.crtc == (__crtc)) 606 struct intel_encoder; 652 struct intel_encoder *encoder, 654 void (*audio_codec_disable)(struct intel_encoder *encoder); 3351 extern int intel_opregion_notify_encoder(struct intel_encoder *intel_encoder, 3361 intel_opregion_notify_encoder(struct intel_encoder *intel_encoder, bool enable) in intel_opregion_notify_encoder() argument
|
D | i915_drv.c | 603 struct intel_encoder *intel_encoder = to_intel_encoder(encoder); in intel_suspend_encoders() local 605 if (intel_encoder->suspend) in intel_suspend_encoders() 606 intel_encoder->suspend(intel_encoder); in intel_suspend_encoders()
|
D | intel_runtime_pm.c | 1279 void chv_phy_powergate_lanes(struct intel_encoder *encoder, in chv_phy_powergate_lanes()
|
D | i915_irq.c | 3228 struct intel_encoder *encoder; in intel_hpd_enabled_irqs()
|
/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 378 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on() argument 380 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_vdd_on() 381 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_vdd_on() 398 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off() argument 400 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_vdd_off() 413 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on() argument 415 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_on() 416 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_on() 440 static void cdv_intel_edp_panel_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_off() argument 442 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_off() [all …]
|
D | gma_display.c | 675 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in gma_encoder_destroy() local 678 kfree(intel_encoder); in gma_encoder_destroy()
|