commit | 22606a18be1af3d703eab873cb2df83b799a683a | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Fri Dec 12 14:26:57 2014 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Dec 15 15:43:02 2014 +0100 |
tree | 64605fbfac7038eb6fd3d75659f98c80a4c4f89b | |
parent | 371abae844ede392066bfc21202b2e40f4a654d1 [diff] |
drm/i915: Consolidate DDI clock reading out in a single function 2 pieces of code need to read out the DDI clock: the DDI encoder and the MST encoder .get_config() vfuncs. Until now the SKL read out code was only in the former, so let's move the pre and post SKL logic in intel_ddi_clock_get() and this this one everywhere. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>