From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: vesafb handover Date: Mon, 15 Feb 2010 15:52:36 +0100 Message-ID: <4B795FB4.3050703@shipmail.org> References: <4B791C2A.5030105@shipmail.org> <21d7e9971002150301n102c70e4h7dee95430d55d564@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21d7e9971002150301n102c70e4h7dee95430d55d564@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: Dave Airlie Cc: Dave Airlie , "dri-devel@lists.sourceforge.net" List-Id: dri-devel@lists.freedesktop.org Dave Airlie wrote: > On Mon, Feb 15, 2010 at 8:04 PM, Thomas Hellstrom wrote: > >> Hi, Dave! >> >> Could you point me to what's needed in drm fb setup to utilize the >> vesafb handover mechanism? >> > > In intel_fb.c > > /* setup aperture base/size for vesafb takeover */ > info->aperture_base = dev->mode_config.fb_base; > if (IS_I9XX(dev)) > info->aperture_size = pci_resource_len(dev->pdev, 2); > else > info->aperture_size = pci_resource_len(dev->pdev, 0); > > > The fb code then compare the aperture base/size against where > vesafb has setup its linear frame buffer and removes it on conflict. > > Dave. > OK, thanks. I've posted a patch for the vmwgfx driver that removes stealth operation in favor of that mechanism. /Thomas ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --