All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Increase max texture to 16k for gen9+
@ 2017-12-07  9:26 ` Alex Tu
  0 siblings, 0 replies; 13+ messages in thread
From: Alex Tu @ 2017-12-07  9:26 UTC (permalink / raw)
  Cc: Alex Tu, Jani Nikula, Joonas Lahtinen, Rodrigo Vivi,
	David Airlie, intel-gfx, dri-devel, linux-kernel

Rrefer to another patch [1] on mesa to extend width/height to 16384.
For issue :
 - https://bugs.freedesktop.org/show_bug.cgi?id=102508
 - LP: #1714178 Triple monitor display failed with Dell Dock (HiDPI)

[1] https://patchwork.freedesktop.org/patch/124918/

Signed-off-by: Alex Tu <alex.tu@canonical.com>
---
 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 47a2f6acee50..556fa57b18b8 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13905,7 +13905,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 min(16384 * cpp, 65536);
 	} else if (gen >= 5 && !HAS_GMCH_DISPLAY(dev_priv)) {
 		return 32*1024;
 	} else if (gen >= 4) {
@@ -14604,8 +14604,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

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-12-08  3:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-07  9:26 [PATCH] drm/i915: Increase max texture to 16k for gen9+ Alex Tu
2017-12-07  9:26 ` Alex Tu
2017-12-07  9:32 ` [Intel-gfx] " Chris Wilson
2017-12-07 10:09   ` Alex Tu
2017-12-07 11:03     ` [Intel-gfx] " Daniel Vetter
2017-12-07 11:03       ` Daniel Vetter
2017-12-07 11:11 ` Chris Wilson
2017-12-07 11:59 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-12-07 13:25 ` [PATCH] " Joonas Lahtinen
2017-12-07 13:25   ` Joonas Lahtinen
2017-12-07 15:32 ` [Intel-gfx] " Ville Syrjälä
2017-12-08  3:24   ` Alex Tu
2017-12-07 16:16 ` ✓ Fi.CI.IGT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.