drm/i915: Factor out a function returning the AUX_CTL value to start a send
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 20 Jan 2014 15:52:30 +0000 (15:52 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Jan 2014 16:22:56 +0000 (17:22 +0100)
commit5ed12a19078b704e4ec0eca532b2992dc786d69f
tree11792dd137f893cec86e61fc048303e8f9bd1fac
parentec5b01dd8f127f5e61ba25efabb98f0ff68f4c86
drm/i915: Factor out a function returning the AUX_CTL value to start a send

Also, move that computation outside of the for loop that tries 5 times,
this value doesn't change between tries.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c