void (*disable_source)(struct intel_dp *,
const struct intel_crtc_state *);
+ void (*enable_sink)(struct intel_dp *);
void (*activate)(struct intel_dp *);
void (*setup_vsc)(struct intel_dp *, const struct intel_crtc_state *);
};
dev_priv->psr.busy_frontbuffer_bits = 0;
dev_priv->psr.setup_vsc(intel_dp, crtc_state);
+ dev_priv->psr.enable_sink(intel_dp);
if (HAS_DDI(dev_priv)) {
- /* Enable PSR on the panel */
- hsw_psr_enable_sink(intel_dp);
-
hsw_psr_enable_source(intel_dp, crtc_state);
} else {
- /* Enable PSR on the panel */
- vlv_psr_enable_sink(intel_dp);
-
vlv_psr_enable_source(intel_dp, crtc_state);
}
if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) {
dev_priv->psr.disable_source = vlv_psr_disable;
+ dev_priv->psr.enable_sink = vlv_psr_enable_sink;
dev_priv->psr.activate = vlv_psr_activate;
dev_priv->psr.setup_vsc = vlv_psr_setup_vsc;
} else {
dev_priv->psr.disable_source = hsw_psr_disable;
+ dev_priv->psr.enable_sink = hsw_psr_enable_sink;
dev_priv->psr.activate = hsw_psr_activate;
dev_priv->psr.setup_vsc = hsw_psr_setup_vsc;
}