Skip to content

Commit

Permalink
Revert "drm/i915: fix DP get_hw_state return value"
Browse files Browse the repository at this point in the history
This reverts commit deb1821.

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>
  • Loading branch information
Daniel Vetter committed Apr 5, 2013
1 parent 83a2af8 commit 2af8898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2af8898

Please sign in to comment.