drm/i915/tgl/pll: Set update_active_dpll
authorClinton A Taylor <clinton.a.taylor@intel.com>
Fri, 20 Sep 2019 20:58:07 +0000 (13:58 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 23 Sep 2019 17:38:13 +0000 (10:38 -0700)
Commit 24a7bfe0c2d7 ("drm/i915: Keep the TypeC port mode fixed when the
port is active") added this new hook while in parallel TGL upstream was
happening and this was missed.

Without this driver will crash when TC DDI is added and driver is
preparing to do a full modeset.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Clinton A Taylor <clinton.a.taylor@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190920205810.211048-4-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c

index 98288ed..84e734d 100644 (file)
@@ -3479,6 +3479,7 @@ static const struct intel_dpll_mgr tgl_pll_mgr = {
        .dpll_info = tgl_plls,
        .get_dplls = icl_get_dplls,
        .put_dplls = icl_put_dplls,
+       .update_active_dpll = icl_update_active_dpll,
        .dump_hw_state = icl_dump_hw_state,
 };