drm/i915: split up fdi_set_m_n into computation and hw setup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Feb 2013 15:54:22 +0000 (16:54 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Apr 2013 19:51:14 +0000 (21:51 +0200)
commitca3a0ff80faa7ee043fd615c9d9394757e2acb09
treec5ed6450b737dd5aaf44e0125b30b422c489cd1d
parent627eb5a318a6caca2145d3c7195b084c59b291d9
drm/i915: split up fdi_set_m_n into computation and hw setup

And also move the computed m_n values into the pipe_config. This is a
prep step to move the fdi state computation completely into the
prepare phase of the modeset sequence. Which will allow us to handle
fdi link bw constraints in a better way.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h