diff options
author | Ville Syrjälä <[email protected]> | 2015-05-05 17:17:29 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-05-21 22:56:27 +0200 |
commit | 39e5fa8886f9d52e5ebbd70af3e0fd14492e8c60 (patch) | |
tree | da51cfd7b01c30e80d5ccc1f8403fcf696099eda /lib/string_helpers.c | |
parent | c52bcef72afafd89cc3bb71313581ad56eecf725 (diff) |
drm/i915: Clarfify the DP code platform checks
intel_dp.c is a mess with all the checks for different
platform/PCH variants and ports. Try to clean it up by recognizing
the following facts:
- IVB port A, and CPT port B/C/D are always the special cases
- VLV/CHV don't have port A
- Using the same kind of logic everywhere makes things much easier to
parse
So let's move the IVB port A and PCH port B/C/D checks to be done first,
and let the other cases fall through, and always check for these things
using the same logic.
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions