[PATCH] [Karmic] UBUNTU: [Upstream] drm/i915: increase default latency constant
Leann Ogasawara
leann.ogasawara at canonical.com
Tue Aug 25 19:02:58 UTC 2009
Hi All,
The following has been submitted upstream but not yet applied to
mainline. Please consider carrying until merged upstream. It's been
tested and verified to resolve http://bugs.launchpad.net/bugs/412492 .
Thanks,
Leann
The following changes since commit
8ec099e541082d84a55d8af7a3cff8163cfeca1e:
Mario Limonciello (1):
UBUNTU: [Upstream]: (drop after 2.6.31) compal-laptop: Replace
sysfs support with rfkill support
are available in the git repository at:
git://kernel.ubuntu.com/ogasawara/ubuntu-karmic.git lp412492
Leann Ogasawara (1):
UBUNTU: [Upstream] drm/i915: increase default latency constant
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
>From 9d0566b711d2e82017b088b1d58d37dead607f29 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara at canonical.com>
Date: Wed, 19 Aug 2009 16:32:18 -0700
Subject: [PATCH] UBUNTU: [Upstream] drm/i915: increase default latency
constant
BugLink: http://bugs.launchpad.net/bugs/412492
Some i915/i945 platforms have a fairly high memory latency in certain
situations, so increase our constant a bit to avoid FIFO underruns.
The effect should be positive on other platforms as well; we'll have a
bit more insurance against a busy memory subsystem due to the extra
FIFO entries.
Fixes fdo bug https://bugs.freedesktop.org/show_bug.cgi?id=23368
http://patchwork.kernel.org/patch/42408/
Tested-by: Sven Arvidsson <sa at whiz.se>
Tested-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index d6fce21..80c9473 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2005,7 +2005,7 @@ static void igd_enable_cxsr(struct drm_device
*dev, unsigned long clock,
return;
}
-const static int latency_ns = 3000; /* default for non-igd platforms */
+const static int latency_ns = 5000; /* default for non-igd platforms */
static int intel_get_fifo_size(struct drm_device *dev, int plane)
{
--
1.6.3.3
More information about the kernel-team
mailing list