]> 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)
commitadf1bd3dfbaedf7100b542b92fb085f89222a349
treef94c95b1200be59dfdba77d2cf2ce73260860a80
parent54ed6902cabc58ae58643b7d06cafa4ed5540e6d
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