]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: use afe_clk() instead of intel_dsi_bitrate()
authorJani Nikula <jani.nikula@intel.com>
Tue, 10 Dec 2019 10:50:55 +0000 (12:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2019 06:16:16 +0000 (08:16 +0200)
commit4eda2a27443fbdc5c22d8dc77a9d64eb1e7469a9
treef94c95b1200be59dfdba77d2cf2ce73260860a80
parent3a9c264a93c6473a6871d2b20c8b3ea0cdec9017
drm/i915/dsi: use afe_clk() instead of intel_dsi_bitrate()

We'll be expanding afe_clk() to take DSC into account. Switch to using
it where DSC matters. Which is really everywhere that
intel_dsi_bitrate() is currently used in ICL DSI code.

The functional difference is that we round the result closest instead of
down.

Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b6c52b320daa8aaa0d79618ce714170f8f04ff67.1575974743.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c