]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Compute dsi_clk from pixel clock
authorShobhit Kumar <shobhit.kumar@intel.com>
Tue, 10 Dec 2013 06:44:56 +0000 (12:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:52:18 +0000 (23:52 +0100)
commit44d4c6eebb2ef04f698c292bb6eda5f2e80c663b
tree87ed6cb4e7e41704cbe10408710fad6f7b1acfc4
parente9fe51c6656f7fd4fad38869cb70a42e65ec0ba9
drm/i915: Compute dsi_clk from pixel clock

Pixel clock based calculation is recommended in the MIPI host controller
documentation

v2: Based on review comments from Jani and Ville
    - Use dsi_clk in KHz rather than converting in Hz and back to MHz
    - RR formula is retained though not used but return dsi_clk in KHz now
    - Moved the m-n-p changes into a separate patch
    - Removed the parameter check for intel_dsi->dsi_clock_freq. This will be
      bought back in if needed when appropriate panel drivers are done

v3: Removed the unused mnp calculation from static table

Signed-off-by: Vijayakumar Balakrishnan <vijayakumar.balakrishnan@intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@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_pll.c