|
@@ -2905,6 +2905,9 @@ static void vlv_detach_power_sequencer(struct intel_dp *intel_dp)
|
|
|
|
|
|
WARN_ON(intel_dp->active_pipe != INVALID_PIPE);
|
|
|
|
|
|
+ if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B))
|
|
|
+ return;
|
|
|
+
|
|
|
edp_panel_vdd_off_sync(intel_dp);
|
|
|
|
|
|
/*
|
|
@@ -2932,9 +2935,6 @@ static void vlv_steal_power_sequencer(struct drm_device *dev,
|
|
|
|
|
|
lockdep_assert_held(&dev_priv->pps_mutex);
|
|
|
|
|
|
- if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B))
|
|
|
- return;
|
|
|
-
|
|
|
for_each_intel_encoder(dev, encoder) {
|
|
|
struct intel_dp *intel_dp;
|
|
|
enum port port;
|