[PATCH 1/2] drm/i915/dp: Force the lane count to 4 always
Manasi Navare
manasi.d.navare at intel.com
Wed Jan 8 18:25:47 UTC 2020
Issue: https://gitlab.freedesktop.org/drm/intel/issues/585
Signed-off-by: Manasi Navare <manasi.d.navare at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 991f343579ef..d299cee175e7 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1980,12 +1980,15 @@ static int intel_dp_output_bpp(const struct intel_crtc_state *crtc_state, int bp
static int
intel_dp_compute_link_config_wide(struct intel_dp *intel_dp,
struct intel_crtc_state *pipe_config,
- const struct link_config_limits *limits)
+ struct link_config_limits *limits)
{
struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;
int bpp, clock, lane_count;
int mode_rate, link_clock, link_avail;
+ // Test for Issue 585
+ limits->min_lane_count = limits->max_lane_count;
+
for (bpp = limits->max_bpp; bpp >= limits->min_bpp; bpp -= 2 * 3) {
int output_bpp = intel_dp_output_bpp(pipe_config, bpp);
--
2.19.1
More information about the Intel-gfx-trybot
mailing list