diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-05-05 17:17:29 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-21 22:56:27 +0200 |
commit | 39e5fa8886f9d52e5ebbd70af3e0fd14492e8c60 (patch) | |
tree | da51cfd7b01c30e80d5ccc1f8403fcf696099eda /samples/bpf/tracex4_user.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ä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'samples/bpf/tracex4_user.c')
0 files changed, 0 insertions, 0 deletions