aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorDaniel Vetter2013-04-04 01:15:45 +0200
committerDaniel Vetter2013-04-05 20:47:21 +0200
commit2af8898bed4d127a2b0d9f5109f6089f7f60e424 (patch)
treeca786d07e6b2dd3e3fe9c318a6826e5135b174c4 /drivers/gpu/drm/i915/intel_dp.c
parent83a2af88f80ebf8104c9e083b786668b00f5b9ce (diff)
Revert "drm/i915: fix DP get_hw_state return value"
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 5c1674dd5d48..8d33e2ee258f 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -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)