From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ll5Ve-00065J-N2 for mharc-grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ll5Vc-00064Q-Tk for grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ll5VX-00063y-KO for grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:24 -0400 Received: from [199.232.76.173] (port=41392 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ll5VX-00063v-Hl for grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:19 -0400 Received: from mx20.gnu.org ([199.232.41.8]:18565) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ll5VX-0003U5-0u for grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:19 -0400 Received: from aybabtu.com ([69.60.117.155]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ll5VW-0005Uu-2M for grub-devel@gnu.org; Sat, 21 Mar 2009 14:01:18 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Ll5MI-0005rI-2o for grub-devel@gnu.org; Sat, 21 Mar 2009 18:51:46 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Ll5VT-0004mu-Nl for grub-devel@gnu.org; Sat, 21 Mar 2009 19:01:15 +0100 Date: Sat, 21 Mar 2009 19:01:15 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090321180115.GE18284@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] New frame buffer detection algorithm and loadrom command for efi platform X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 18:01:25 -0000 On Sat, Mar 21, 2009 at 06:38:12PM +0800, Bean wrote: > Hi, > > This patch improves the frame buffer detection algorithm. It uses pci > to find the video memory base, then scan it for frame buffer. With this detection code getting increasingly more sophisticated, wouldn't this be a good time to make it a video backend? (i.e. video/efi.c) Even if it won't be complete enough for gfxterm yet, it's much better than doing it in i386/efi/linux.c IMHO. The code to obtain framebuffer address from video backends is pretty simple. It's already in i386/linux.c and could be easily integrated into i386/efi/linux.c. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."