On Mon, Feb 15, 2010 at 8:04 PM, Thomas Hellstrom <tho...@shipmail.org> 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.

------------------------------------------------------------------------------
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
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to