drm/i915/bxt: get DSI pixelclock
authorShashank Sharma <shashank.sharma@intel.com>
Tue, 1 Sep 2015 14:11:46 +0000 (19:41 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Oct 2015 12:45:51 +0000 (14:45 +0200)
commitce0c982152137789e6f09e9d8712034088adf3aa
tree084e10b2769d97dd488696742b11a1b6c8fc5ab0
parentbaeac68a82f07f7c37bfc3d9624127b813a8d8b4
drm/i915/bxt: get DSI pixelclock

BXT's DSI PLL is different from that of VLV. So this patch
adds a new function to get the current DSI pixel clock based
on the PLL divider ratio and lane count.

This function is required for intel_dsi_get_config() function.

v2: Fixed Jani's review comments.

Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_pll.c