]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit7d1c42e679f920529df5cc11c6f827f17d4f8022
treed2372dbc759e5ba0dfab9841a928b50009c11a0f
parent754a76591b12c88f57ad8b4ca533a5c9566a1922
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