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

2017-10-16 Thread David Weinehall
On Fri, Oct 13, 2017 at 04:47:35PM +0100, Chris Wilson wrote: > 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[]

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

2017-10-13 Thread Ville Syrjälä
On Fri, Oct 13, 2017 at 04:47:35PM +0100, Chris Wilson wrote: > 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[]

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

2017-10-13 Thread Chris Wilson
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

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

2017-10-13 Thread Chris Wilson
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