projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad46f2
)
drm/i915/mst: Drop pre_pll_enable null check
author
José Roberto de Souza
<jose.souza@intel.com>
Wed, 7 Nov 2018 23:54:49 +0000
(15:54 -0800)
committer
Imre Deak
<imre.deak@intel.com>
Fri, 9 Nov 2018 16:21:13 +0000
(18:21 +0200)
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
drivers/gpu/drm/i915/intel_dp_mst.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp_mst.c
b/drivers/gpu/drm/i915/intel_dp_mst.c
index 457c408782f39dfc3286d90064760aed33498df0..4de247ddf05f80a89fc4d84aeaf93112c4d468f2 100644
(file)
--- 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);
}