vesafb handover
Hi, Dave!
Could you point me to what's needed in drm fb setup to utilize the vesafb handover mechanism?
Thanks,
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
--
Quoted 4 lines · Thomas Hellstrom
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
--
Quoted 18 lines · Dave Airlie
Quoted 5 lines · Thomas Hellstrom
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);
Quoted 5 lines
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
--