From: Paolo Ornati <ornati@fastwebnet.it>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Eric Anholt <eric@anholt.net>, Dave Airlie <airlied@linux.ie>,
Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [BISECTED && PACTH AVAILABLE] [drm:i915_initialize] *ERROR* can not ioremap virtual address for ring buffer
Date: Sat, 21 Feb 2009 15:57:06 +0100 [thread overview]
Message-ID: <20090221155706.5f6d2184@fastwebnet.it> (raw)
In-Reply-To: <20090221131209.GB13134@silver.sucs.org>
On Sat, 21 Feb 2009 13:12:09 +0000
Sitsofe Wheeler <sitsofe@yahoo.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
next prev parent reply other threads:[~2009-02-21 14:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-21 10:00 [BISECTED] [drm:i915_initialize] *ERROR* can not ioremap virtual address for ring buffer Paolo Ornati
2009-02-21 12:19 ` Sitsofe Wheeler
2009-02-21 12:49 ` Paolo Ornati
2009-02-21 12:52 ` Paolo Ornati
2009-02-21 13:05 ` Sitsofe Wheeler
2009-02-21 13:12 ` Sitsofe Wheeler
2009-02-21 14:57 ` Paolo Ornati [this message]
2009-02-21 15:08 ` [BISECTED && PACTH AVAILABLE] " Sitsofe Wheeler
2009-02-21 19:18 ` Paolo Ornati
2009-02-21 18:14 ` [BISECTED] " Sitsofe Wheeler
2009-02-21 19:28 ` Paolo Ornati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090221155706.5f6d2184@fastwebnet.it \
--to=ornati@fastwebnet.it \
--cc=airlied@linux.ie \
--cc=eric@anholt.net \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sitsofe@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.