drm/i915/dsi: refactor bitrate calculations in intel_dsi_vbt_init()
authorJani Nikula <jani.nikula@intel.com>
Mon, 15 Oct 2018 14:27:50 +0000 (17:27 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Oct 2018 12:15:27 +0000 (15:15 +0300)
commit2bf3f59daeee6cfed79bd0d292aa9b4eded37c42
treeeaed4df0e3bad601473fb3c208d2e70cd38d56fb
parentc84c6fe30302721486dd703727a30c8eafee9a1e
drm/i915/dsi: refactor bitrate calculations in intel_dsi_vbt_init()

Abstract bitrate calculation to a newly resurrected intel_dsi.c file
that will contain common code for VLV and ICL DSI.

No functional changes.

Cc: Madhav Chauhan <madhav.chauhan@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Reviewed-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/100e9721dfdec4f3987549ef24291bafc9cb0517.1539613303.git.jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/intel_dsi.c [new file with mode: 0644]
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_vbt.c