diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2018-11-07 15:54:49 -0800 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2018-11-09 18:21:13 +0200 |
commit | ca401e9674015645b7fba8a046bb6dbb1cedec27 (patch) | |
tree | d5a239dfe18045666423b6dcf89ac6d69df51292 /drivers/gpu/drm/i915/intel_dp_mst.c | |
parent | bad46f2f33ebfcb494a399997da285d14def4759 (diff) | |
download | linux-stable-ca401e9674015645b7fba8a046bb6dbb1cedec27.tar.gz linux-stable-ca401e9674015645b7fba8a046bb6dbb1cedec27.tar.bz2 linux-stable-ca401e9674015645b7fba8a046bb6dbb1cedec27.zip |
drm/i915/mst: Drop pre_pll_enable null check
MST is only supported in DDI ports that have this hook, so the null
check can be dropped.
Suggested-by: Imre Deak <imre.deak@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181107235449.32264-3-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 457c408782f3..4de247ddf05f 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -209,8 +209,7 @@ static void intel_mst_pre_pll_enable_dp(struct intel_encoder *encoder, struct intel_digital_port *intel_dig_port = intel_mst->primary; struct intel_dp *intel_dp = &intel_dig_port->dp; - if (intel_dp->active_mst_links == 0 && - intel_dig_port->base.pre_pll_enable) + if (intel_dp->active_mst_links == 0) intel_dig_port->base.pre_pll_enable(&intel_dig_port->base, pipe_config, NULL); } |