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)
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

Simple merge