Revert "drm/i915: fix DP get_hw_state return value"
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Apr 2013 23:15:45 +0000 (01:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Apr 2013 18:47:21 +0000 (20:47 +0200)
This reverts commit deb18211a110c102d32b3e9ed866bd7d25e0f8d5.

It completely breaks the logic, since when we fall through to the end
of the function we actually _have_ figured out the correct pipe.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c

index 5c1674dd5d48b7dd8cf7d2b3a69ad2ed65814cfb..8d33e2ee258ff04711ac5940774150111d3b5e67 100644 (file)
@@ -1328,7 +1328,7 @@ static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
                              intel_dp->output_reg);
        }
 
-       return false;
+       return true;
 }
 
 static void intel_disable_dp(struct intel_encoder *encoder)