All of lore.kernel.org
 help / color / mirror / Atom feed
* vesafb handover
@ 2010-02-15 10:04 Thomas Hellstrom
  2010-02-15 11:01 ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Hellstrom @ 2010-02-15 10:04 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel@lists.sourceforge.net

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
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vesafb handover
  2010-02-15 10:04 vesafb handover Thomas Hellstrom
@ 2010-02-15 11:01 ` Dave Airlie
  2010-02-15 14:52   ` Thomas Hellstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2010-02-15 11:01 UTC (permalink / raw)
  To: Thomas Hellstrom; +Cc: Dave Airlie, dri-devel@lists.sourceforge.net

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vesafb handover
  2010-02-15 11:01 ` Dave Airlie
@ 2010-02-15 14:52   ` Thomas Hellstrom
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Hellstrom @ 2010-02-15 14:52 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Dave Airlie, dri-devel@lists.sourceforge.net

Dave Airlie wrote:
> On Mon, Feb 15, 2010 at 8:04 PM, Thomas Hellstrom <thomas@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.
>   
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
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-15 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 10:04 vesafb handover Thomas Hellstrom
2010-02-15 11:01 ` Dave Airlie
2010-02-15 14:52   ` Thomas Hellstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.