[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090221155706.5f6d2184@fastwebnet.it>
Date: Sat, 21 Feb 2009 15:57:06 +0100
From: Paolo Ornati <ornati@...twebnet.it>
To: Sitsofe Wheeler <sitsofe@...oo.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Eric Anholt <eric@...olt.net>, Dave Airlie <airlied@...ux.ie>,
Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: Re: [BISECTED && PACTH AVAILABLE] [drm:i915_initialize] *ERROR* can
not ioremap virtual address for ring buffer
On Sat, 21 Feb 2009 13:12:09 +0000
Sitsofe Wheeler <sitsofe@...oo.com> wrote:
> > Doh. Scratch that idea...
>
> Hmm does the patch mentioned on
> http://marc.info/?l=linux-kernel&m=123455194230641&w=2 help the DRM
> error message (and if so does the mtrr weirdness still happen)?
With that patch the error is gone :)
---------- patch here for reference ---------------
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 81f1cff..2d797ff 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -202,7 +202,7 @@ static int i915_initialize(struct drm_device * dev, drm_i915_init_t * init)
dev_priv->ring.map.flags = 0;
dev_priv->ring.map.mtrr = 0;
- drm_core_ioremap(&dev_priv->ring.map, dev);
+ drm_core_ioremap_wc(&dev_priv->ring.map, dev);
if (dev_priv->ring.map.handle == NULL) {
i915_dma_cleanup(dev);
--------------------------------------------------
$ cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f000000 ( 2032MB), size= 16MB, count=1: uncachable
reg02: base=0x07e800000 ( 2024MB), size= 8MB, count=1: uncachable
reg03: base=0x07e700000 ( 2023MB), size= 1MB, count=1: uncachable
reg04: base=0x080000000 ( 2048MB), size= 256MB, count=2: write-combining
^^^
Another "problem": every time I switch from X to a text console I get
this:
[ 156.729311] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1
It seems harmless but I report it anyway.
--
Paolo Ornati
Linux 2.6.29-rc5-00276-g2ec77fc-dirty on x86_64
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists