Re: A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-05 Thread Aaron Plattner
On 08/31/2012 08:00 PM, Dave Airlie wrote: object interface, so that Optimus-based laptops can use our driver to drive the discrete GPU and display on the integrated GPU. The good news is that I've got a proof of concept working. Don't suppose you'll be interested in adding the other method at

[Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-04 Thread Daniel Vetter
On Tue, Sep 04, 2012 at 01:57:32PM -0700, Aaron Plattner wrote: > On 08/31/2012 08:00 PM, Dave Airlie wrote: > >Yes for 4 some sort of fencing is being worked on by Maarten for other stuff > >but would be a pre-req for doing this, and also some devices don't want > >fullscreen updates, like USB, so

Re: [Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-04 Thread Daniel Vetter
On Tue, Sep 04, 2012 at 01:57:32PM -0700, Aaron Plattner wrote: > On 08/31/2012 08:00 PM, Dave Airlie wrote: > >Yes for 4 some sort of fencing is being worked on by Maarten for other stuff > >but would be a pre-req for doing this, and also some devices don't want > >fullscreen updates, like USB, so

A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-04 Thread Aaron Plattner
On 08/31/2012 08:00 PM, Dave Airlie wrote: >> object interface, so that Optimus-based laptops can use our driver to drive >> the discrete GPU and display on the integrated GPU. The good news is that >> I've got a proof of concept working. > > Don't suppose you'll be interested in adding the other

[Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-01 Thread Daniel Vetter
On Thu, Aug 30, 2012 at 10:34:23AM -0700, Aaron Plattner wrote: > 4. There's no mechanism for double buffering the output sink > > RandR allocates one pixmap on the output source screen and sets up tracking so > the source driver can copy the screen into the shared pixmap. > However, the sink driv

A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-01 Thread Dave Airlie
> object interface, so that Optimus-based laptops can use our driver to drive > the > discrete GPU and display on the integrated GPU. The good news is that I've > got > a proof of concept working. Don't suppose you'll be interested in adding the other method at some point as well? since saving po

Re: [Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-09-01 Thread Daniel Vetter
On Thu, Aug 30, 2012 at 10:34:23AM -0700, Aaron Plattner wrote: > 4. There's no mechanism for double buffering the output sink > > RandR allocates one pixmap on the output source screen and sets up tracking so > the source driver can copy the screen into the shared pixmap. > However, the sink driv

Re: A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-08-31 Thread Dave Airlie
> object interface, so that Optimus-based laptops can use our driver to drive > the > discrete GPU and display on the integrated GPU. The good news is that I've > got > a proof of concept working. Don't suppose you'll be interested in adding the other method at some point as well? since saving po

Re: [Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-08-30 Thread Aaron Plattner
On 08/30/2012 10:31 AM, Aaron Plattner wrote: So I've been experimenting with support for Dave Airlie's new RandR 1.4 provider object interface, so that Optimus-based laptops can use our driver to drive the discrete GPU and display on the integrated GPU. The good news is that I've got a proof of

A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-08-30 Thread Aaron Plattner
So I've been experimenting with support for Dave Airlie's new RandR 1.4 provider object interface, so that Optimus-based laptops can use our driver to drive the discrete GPU and display on the integrated GPU. The good news is that I've got a proof of concept working. During a review of the curre

[Linaro-mm-sig] A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-08-30 Thread Aaron Plattner
On 08/30/2012 10:31 AM, Aaron Plattner wrote: > So I've been experimenting with support for Dave Airlie's new RandR 1.4 > provider > object interface, so that Optimus-based laptops can use our driver to drive > the > discrete GPU and display on the integrated GPU. The good news is that I've > g

A few questions about the best way to implement RandR 1.4 / PRIME buffer sharing

2012-08-30 Thread Aaron Plattner
So I've been experimenting with support for Dave Airlie's new RandR 1.4 provider object interface, so that Optimus-based laptops can use our driver to drive the discrete GPU and display on the integrated GPU. The good news is that I've got a proof of concept working. During a review of the curren