From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3883 invoked from network); 11 Apr 2000 19:15:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 11 Apr 2000 19:15:21 -0000 Received: from piglet.twiddle.net (piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA27633 for ; Tue, 11 Apr 2000 15:15:20 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.9.3/8.9.3) id MAA14942 for axp-list@redhat.com; Tue, 11 Apr 2000 12:15:20 -0700 Date: Tue, 11 Apr 2000 12:15:19 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: Voodoo2 Status Message-ID: <20000411121519.C14695@twiddle.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: On Fri, Mar 31, 2000 at 09:09:57AM -0500, Phillip Ezolt wrote: > Given a PCI base address of a framebuffer (say 0x9003000), > what is the right way to translate that into something that > remap_page_range can understand? > > __pa(ADDR + dense_mem(ADDR)) That works. Though some will tell you __pa is deprecated in favour of virt_to_phys. r~