From 3570bc01fc14916be6c60a5ef9a986cf8833a284 Mon Sep 17 00:00:00 2001 From: Alex Tu Date: Wed, 6 Dec 2017 16:38:33 +0800 Subject: [PATCH] try extending max buffer size (fd#102508) also affects "LP: #1714178 Triple monitor display failed with Dell Dock (HiDPI) " --- drivers/gpu/drm/i915/intel_display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 878acc432a4b..a04eb2ada97e 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -13813,7 +13813,7 @@ u32 intel_fb_pitch_limit(struct drm_i915_private *dev_priv, /* "The stride in bytes must not exceed the of the size of 8K * pixels and 32K bytes." */ - return min(8192 * cpp, 32768); + return 46080; } else if (gen >= 5 && !HAS_GMCH_DISPLAY(dev_priv)) { return 32*1024; } else if (gen >= 4) { @@ -14493,8 +14493,8 @@ int intel_modeset_init(struct drm_device *dev) dev->mode_config.max_width = 4096; dev->mode_config.max_height = 4096; } else { - dev->mode_config.max_width = 8192; - dev->mode_config.max_height = 8192; + dev->mode_config.max_width = 16384; + dev->mode_config.max_height = 16384; } if (IS_I845G(dev_priv) || IS_I865G(dev_priv)) { -- 2.11.0