]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Move vlv/icl_dphy_param_init call out of intel_dsi_vbt_init (v2)
authorHans de Goede <hdegoede@redhat.com>
Wed, 5 Jun 2019 18:17:34 +0000 (20:17 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 8 Jun 2019 13:35:12 +0000 (15:35 +0200)
commitad13b2aa956d0c1c72e261df9b0f909ffea5adcb
treecf5a2be8cc7623e98169b56af60d72f9f9543250
parent3a2c86df9a60ca0d06f8c2723876b4420ed6830a
drm/i915/dsi: Move vlv/icl_dphy_param_init call out of intel_dsi_vbt_init (v2)

The vlv/icl_dphy_param_init calls do various calculations to set dphy
parameters based on the pclk.

Move the calling of vlv/icl_dphy_param_init to vlv_dsi_init to give
vlv_dsi_init a chance to tweak the pclk before these calculations are done.

Changes in v2:
-Also moves the icl and vlv specific dphy_param_init functions from the
 generic intel_dsi_vbt.c file into the icl_ and vlv_dsi.c specific files.

Note icl_dphy_param_init() and vlv_dphy_param_init() are only moved,
otherwise they are completely unchanged.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605181735.7020-2-hdegoede@redhat.com
drivers/gpu/drm/i915/icl_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_vbt.c
drivers/gpu/drm/i915/vlv_dsi.c