diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 5dfc1a0f2351..d9f50e368fe9 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -487,6 +487,7 @@ struct intel_dp { | |||
487 | uint8_t link_bw; | 487 | uint8_t link_bw; |
488 | uint8_t lane_count; | 488 | uint8_t lane_count; |
489 | uint8_t dpcd[DP_RECEIVER_CAP_SIZE]; | 489 | uint8_t dpcd[DP_RECEIVER_CAP_SIZE]; |
490 | uint8_t psr_dpcd[EDP_PSR_RECEIVER_CAP_SIZE]; | ||
490 | uint8_t downstream_ports[DP_MAX_DOWNSTREAM_PORTS]; | 491 | uint8_t downstream_ports[DP_MAX_DOWNSTREAM_PORTS]; |
491 | struct i2c_adapter adapter; | 492 | struct i2c_adapter adapter; |
492 | struct i2c_algo_dp_aux_data algo; | 493 | struct i2c_algo_dp_aux_data algo; |
@@ -498,13 +499,14 @@ struct intel_dp { | |||
498 | int backlight_off_delay; | 499 | int backlight_off_delay; |
499 | struct delayed_work panel_vdd_work; | 500 | struct delayed_work panel_vdd_work; |
500 | bool want_panel_vdd; | 501 | bool want_panel_vdd; |
502 | bool psr_setup_done; | ||
501 | struct intel_connector *attached_connector; | 503 | struct intel_connector *attached_connector; |
502 | }; | 504 | }; |
503 | 505 | ||
504 | struct intel_digital_port { | 506 | struct intel_digital_port { |
505 | struct intel_encoder base; | 507 | struct intel_encoder base; |
506 | enum port port; | 508 | enum port port; |
507 | u32 port_reversal; | 509 | u32 saved_port_bits; |
508 | struct intel_dp dp; | 510 | struct intel_dp dp; |
509 | struct intel_hdmi hdmi; | 511 | struct intel_hdmi hdmi; |
510 | }; | 512 | }; |
@@ -804,7 +806,6 @@ extern void intel_init_power_well(struct drm_device *dev); | |||
804 | extern void intel_set_power_well(struct drm_device *dev, bool enable); | 806 | extern void intel_set_power_well(struct drm_device *dev, bool enable); |
805 | extern void intel_enable_gt_powersave(struct drm_device *dev); | 807 | extern void intel_enable_gt_powersave(struct drm_device *dev); |
806 | extern void intel_disable_gt_powersave(struct drm_device *dev); | 808 | extern void intel_disable_gt_powersave(struct drm_device *dev); |
807 | extern void gen6_gt_check_fifodbg(struct drm_i915_private *dev_priv); | ||
808 | extern void ironlake_teardown_rc6(struct drm_device *dev); | 809 | extern void ironlake_teardown_rc6(struct drm_device *dev); |
809 | 810 | ||
810 | extern bool intel_ddi_get_hw_state(struct intel_encoder *encoder, | 811 | extern bool intel_ddi_get_hw_state(struct intel_encoder *encoder, |
@@ -833,4 +834,11 @@ extern bool intel_set_pch_fifo_underrun_reporting(struct drm_device *dev, | |||
833 | enum transcoder pch_transcoder, | 834 | enum transcoder pch_transcoder, |
834 | bool enable); | 835 | bool enable); |
835 | 836 | ||
837 | extern void intel_edp_psr_enable(struct intel_dp *intel_dp); | ||
838 | extern void intel_edp_psr_disable(struct intel_dp *intel_dp); | ||
839 | extern void intel_edp_psr_update(struct drm_device *dev); | ||
840 | extern void hsw_disable_lcpll(struct drm_i915_private *dev_priv, | ||
841 | bool switch_to_fclk, bool allow_power_down); | ||
842 | extern void hsw_restore_lcpll(struct drm_i915_private *dev_priv); | ||
843 | |||
836 | #endif /* __INTEL_DRV_H__ */ | 844 | #endif /* __INTEL_DRV_H__ */ |