diff options
author | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
commit | aa2eaa8c272a3211dec07ce9c6c863a7e355c10e (patch) | |
tree | 8454a23d36b2ff36133c276ee0ba80eabc00850e /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | a3d3c74da49c65fc63a937fa559186b0e16adca3 (diff) | |
parent | 1609d7604b847a9820e63393d1a3b6cac7286d40 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Minor overlapping changes in the btusb and ixgbe drivers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 18e4cba76720..8aa6a31e8ad0 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c | |||
@@ -128,7 +128,15 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, | |||
128 | limits.max_lane_count = intel_dp_max_lane_count(intel_dp); | 128 | limits.max_lane_count = intel_dp_max_lane_count(intel_dp); |
129 | 129 | ||
130 | limits.min_bpp = intel_dp_min_bpp(pipe_config); | 130 | limits.min_bpp = intel_dp_min_bpp(pipe_config); |
131 | limits.max_bpp = pipe_config->pipe_bpp; | 131 | /* |
132 | * FIXME: If all the streams can't fit into the link with | ||
133 | * their current pipe_bpp we should reduce pipe_bpp across | ||
134 | * the board until things start to fit. Until then we | ||
135 | * limit to <= 8bpc since that's what was hardcoded for all | ||
136 | * MST streams previously. This hack should be removed once | ||
137 | * we have the proper retry logic in place. | ||
138 | */ | ||
139 | limits.max_bpp = min(pipe_config->pipe_bpp, 24); | ||
132 | 140 | ||
133 | intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits); | 141 | intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits); |
134 | 142 | ||