]> 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)
commit92f29caaa2827e90346f839a992a24d2be5b74d7
treed2372dbc759e5ba0dfab9841a928b50009c11a0f
parent9ab227a4b4d2e87b384e6ad1ab30a58f6265135f
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