]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor code to select the DDI buf translation table
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Feb 2017 17:35:05 +0000 (19:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Feb 2017 12:45:35 +0000 (14:45 +0200)
commitdcf2b3cd5faeefdf3ce4d4004bbe2177d02e8007
treed2372dbc759e5ba0dfab9841a928b50009c11a0f
parentf952756bfa9b5616df022fe6597582342d732777
drm/i915: Refactor code to select the DDI buf translation table

Split the code to select the correct translation table into DP,
eDP and FDI specific helpers. This reduces the clutter in
intel_prepare_dp_ddi_buffers(), and we'll have other uses for some
of these new helper functions later on.

v2: Fix typo in commit message (David)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223173507.17600-1-ville.syrjala@linux.intel.com
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c