From: Tilman Schmidt <tilman@imap.cc>
To: "Thomas Hellström" <thomas@tungstengraphics.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org,
linux-fbdev-devel@lists.sourceforge.net,
Dave Airlie <airlied@linux.ie>
Subject: Re: i810fb fails to load
Date: Mon, 22 Jan 2007 19:30:38 +0100 [thread overview]
Message-ID: <45B502CE.1040500@imap.cc> (raw)
In-Reply-To: <45B4BF50.9010105@tungstengraphics.com>
[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]
Am 22.01.2007 14:42 schrieb Thomas Hellström:
>>> On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <tilman@imap.cc> wrote:
>>> With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my
>>> Dell Optiplex GX110. [...]
>>
> Can you try the attached patch to see if that fixes the problem.
Yes, that patch fixes it.
Thanks
Tilman
> ------------------------------------------------------------------------
>
> diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
> index 91c1f36..6ef0960 100644
> --- a/drivers/char/agp/generic.c
> +++ b/drivers/char/agp/generic.c
> @@ -190,6 +190,7 @@ struct agp_memory *agp_create_memory(int
> return NULL;
> }
> new->num_scratch_pages = scratch_pages;
> + new->type = AGP_NORMAL_MEMORY;
> return new;
> }
> EXPORT_SYMBOL(agp_create_memory);
> diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
> index b8896c8..5a0713c 100644
> --- a/drivers/char/agp/intel-agp.c
> +++ b/drivers/char/agp/intel-agp.c
> @@ -260,6 +260,7 @@ static int intel_i810_insert_entries(str
> readl(intel_i810_private.registers+I810_PTE_BASE+((i-1)*4));
> break;
> case AGP_PHYS_MEMORY:
> + case AGP_NORMAL_MEMORY:
> if (!mem->is_flushed)
> global_cache_flush();
> for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {
--
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
next prev parent reply other threads:[~2007-01-22 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070111222627.66bb75ab.akpm@osdl.org>
2007-01-14 23:52 ` i810fb fails to load (was: 2.6.20-rc4-mm1) Tilman Schmidt
2007-01-15 0:22 ` Andrew Morton
2007-01-22 13:42 ` i810fb fails to load Thomas Hellström
2007-01-22 18:30 ` Tilman Schmidt [this message]
2007-01-22 21:50 ` Dave Airlie
2007-01-23 8:10 ` Thomas Hellström
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=45B502CE.1040500@imap.cc \
--to=tilman@imap.cc \
--cc=airlied@linux.ie \
--cc=akpm@osdl.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas@tungstengraphics.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).