From: Eugeni Dodonov Date: Wed, 9 May 2012 18:37:20 +0000 (-0300) Subject: drm/i915: initialize DDI buffer translations X-Git-Tag: v3.5-rc1~100^2~25^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45244b87943b1173353b48854352bb9f4b065867;p=pandora-kernel.git drm/i915: initialize DDI buffer translations DDI is introduced starting with Haswell GPU generation. So to simplify its management in the future, we also add intel_ddi.c to hold all the DDI-related items. Buffer translations for DDI links must be initialized prior to enablement. For FDI and DP, first 9 pairs of values are used to select the connection parameters. HDMI uses the last pair of values and ignores the first 9 pairs. So we program HDMI values in both cases, which allows HDMI to work over both FDI and DP-friendly buffers. Reviewed-by: Jesse Barnes Signed-off-by: Eugeni Dodonov Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed