drm/i915: Replace aux_ch_ctl_reg check with port check
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Nov 2015 18:34:10 +0000 (20:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Nov 2015 13:59:37 +0000 (15:59 +0200)
commitf3c6a3a70d6768038fb005cb8d745e21b4511ca9
tree206c8b787dfd1f4e1d3e1aa823a8053ec7c0e5d7
parentd1c0a0019aed692020da523d5fa9f2ebb49a018a
drm/i915: Replace aux_ch_ctl_reg check with port check

Instead of checking what aux_ch_ctl_reg is, we can simply check the port
when determining the right timeout value to program.

v2: Reorder patches to reduce churn (Chris)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/1447266856-30249-2-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c