]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf01ccc6f3871a2d2b71b1169adcd85fb3ccc2597
tree084e10b2769d97dd488696742b11a1b6c8fc5ab0
parent25fb2dca1f88a576e6a2a350304563c96a7e770f
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