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

2012-09-05 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,

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 doing

[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

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 driver

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

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