From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Luther Subject: Re: New API and X option UseFBDev Date: Wed, 10 Sep 2003 11:58:37 +0200 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <20030910095837.GA24688@iliana> References: Mime-Version: 1.0 Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19x1km-0002sl-00 for ; Wed, 10 Sep 2003 02:59:12 -0700 Received: from smtp3.wanadoo.fr ([193.252.22.25] helo=mwinf0603.wanadoo.fr) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19x1kl-0004qH-Ke for linux-fbdev-devel@lists.sourceforge.net; Wed, 10 Sep 2003 02:59:11 -0700 Content-Disposition: inline In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jim Hague Cc: Sven Luther , linux-fbdev-devel@lists.sourceforge.net On Wed, Sep 10, 2003 at 10:52:15AM +0100, Jim Hague wrote: > On 09-Sep-2003 Jim Hague wrote: > > On 09-Sep-2003 Sven Luther wrote: > >> (--) GLINT(0): Linear framebuffer at 0xCE800000 > >> (--) GLINT(0): MMIO registers at 0xCFFE0000 > >> (EE) GLINT(0): mmap mmio: Invalid argument > >> (EE) GLINT(0): mmap mmio: Invalid argument > >> > >> means that the linear framebuffer and mmio registers, values given to > >> you by pm2fb, are correct (but check this fact with lspci). > > OK, found the problem. I've been following tdfxfb.c and had copied it in > setting var->accel_flags = FB_ACCELF_TEXT. Having accel_flags at anything other > than 0 stops the mmap() from working. > > On my 2.4 setup, accel_flags looks like it ought to be set to FB_ACCELF_TEXT > but isn't. So mmap() works. :))) Once you are finished, i may be willing to add pm3fb support to your code, would that be ok for you ? Friendly, Sven Luther ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf