linux-mips
[Top] [All Lists]

Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource

To: linux-mips@linux-mips.org
Subject: Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource files
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 9 Dec 2008 17:57:02 +0000
In-reply-to: <20081209173907.GB2741@adriano.hkcable.com.hk>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081205154339.GA14327@adriano.hkcable.com.hk> <20081206102030.GA9410@linux-mips.org> <20081206164706.GB14327@adriano.hkcable.com.hk> <20081209172245.GA2741@adriano.hkcable.com.hk> <20081209173907.GB2741@adriano.hkcable.com.hk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Dec 10, 2008 at 01:39:08AM +0800, Zhang Le wrote:

> > I have build a new kernel with this patch.
> > Now I have the resource{0,1} file with permission 600.
> > However, X is not working yet, since there is an undefined reference in 
> > sis's
> > X driver.
> 
> It is working now! Just forget to load "vbe" module.
> Thanks!

Wonderful, thanks for testing!

Now, my patch doesn't try to handle all the caching modes.  Any mapping
will be uncached which is guaranteed to deliver the lowest possible
performance.  Registers should be mapped uncached but a framebuffer
will usually work best if mapped in uncached accelerated mode.  On
most MIPS implementations the effect of mapping something multiple times
in different caching modes is undefined so that needs to be avoided
which will require some bookkeeping etc.  Too much for 2.6.28 but this
simple solution seems harmless enough to be pushed for 2.6.28 and
-stable.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>