[Intel-gfx] [PATCH] drm/i915: Use bdw_ddi_translations_fdi for Broadwell

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 13 15:50:29 UTC 2017


Quoting Chris Wilson (2017-10-13 16:47:35)
> The compiler warns:
> 
>         drivers/gpu/drm/i915/intel_ddi.c:118:35: warning: ‘bdw_ddi_translations_fdi’ defined but not used
> 
> Lo and behold, if we look at intel_ddi_get_buf_trans_fdi(), it uses
> hsw_ddi_translations_fdi[] for both Haswell and *Broadwell*
> 
> Fixes: 7d1c42e679f9 ("drm/i915: Refactor code to select the DDI buf translation table")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: David Weinehall <david.weinehall at linux.intel.com>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: <stable at vger.kernel.org> # v4.12+

From irc,
	j4ni> rb on ickle's pastebin patch
Reviewed-by: Jani Nikula <jani.nikula at linux.intel.com>
-Chris


More information about the Intel-gfx mailing list