drm/i915/ddi: use struct for ddi buf translation tables
authorJani Nikula <jani.nikula@intel.com>
Wed, 27 Aug 2014 13:27:30 +0000 (16:27 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:38 +0000 (11:04 +0200)
commit1012205182fb9470a1bd1620872103a09f566225
treeb81a771db517c488ad3b101660947e49ba0ac9fc
parentc5fe6a0637e8a9f407a87b78be6955067f01a4cd
drm/i915/ddi: use struct for ddi buf translation tables

Try to avoid confusion with ARRAY_SIZE()/2 and hdmi_level*2.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Resolve silent patch conflict (didn't even fail to build)
with with Sonika's preceding patch to use the
hsw_ddi_translations_fdi table to driver the fdi link training
iteration loop. Also drop the double-write loop Damien spotted.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c