Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-28 Thread Matt Roper
On Fri, Jun 28, 2019 at 07:54:06PM +0100, Emil Velikov wrote: > On 2019/06/28, Matt Roper wrote: > > On Fri, Jun 28, 2019 at 05:14:51PM +0100, Emil Velikov wrote: > > > Hi Matt, > > > > > > Thanks for the enlightening input :-) > > > > > > On 2019/06/25, Matt Roper wrote: > > > > > > > PLANE_CUR

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-28 Thread Emil Velikov
On 2019/06/28, Matt Roper wrote: > On Fri, Jun 28, 2019 at 05:14:51PM +0100, Emil Velikov wrote: > > Hi Matt, > > > > Thanks for the enlightening input :-) > > > > On 2019/06/25, Matt Roper wrote: > > > > > PLANE_CURSOR is basically just an indication that that specific plane is > > > the one th

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-28 Thread Matt Roper
On Fri, Jun 28, 2019 at 05:14:51PM +0100, Emil Velikov wrote: > Hi Matt, > > Thanks for the enlightening input :-) > > On 2019/06/25, Matt Roper wrote: > > > PLANE_CURSOR is basically just an indication that that specific plane is > > the one that's also hooked up to the legacy cursor ioctls; li

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-28 Thread Emil Velikov
Hi Matt, Thanks for the enlightening input :-) On 2019/06/25, Matt Roper wrote: > PLANE_CURSOR is basically just an indication that that specific plane is > the one that's also hooked up to the legacy cursor ioctls; like Ville > says, it shouldn't directly indicate that the plane is less > featu

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-25 Thread Matt Roper
On Wed, Jun 19, 2019 at 09:24:56PM +0300, Ville Syrjälä wrote: > On Wed, Jun 19, 2019 at 06:49:11PM +0100, Emil Velikov wrote: > > On Wed, 19 Jun 2019 at 17:33, Ville Syrjälä > > wrote: > > > > > > On Wed, Jun 19, 2019 at 05:03:53PM +0100, Emil Velikov wrote: > > > > Hi all, > > > > > > > > Recent

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-19 Thread Ville Syrjälä
On Wed, Jun 19, 2019 at 06:49:11PM +0100, Emil Velikov wrote: > On Wed, 19 Jun 2019 at 17:33, Ville Syrjälä > wrote: > > > > On Wed, Jun 19, 2019 at 05:03:53PM +0100, Emil Velikov wrote: > > > Hi all, > > > > > > Recently I have been looking at i915 and its rather interesting planes. > > > > > > I

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-19 Thread Emil Velikov
On Wed, 19 Jun 2019 at 17:33, Ville Syrjälä wrote: > > On Wed, Jun 19, 2019 at 05:03:53PM +0100, Emil Velikov wrote: > > Hi all, > > > > Recently I have been looking at i915 and its rather interesting planes. > > > > In particular newer hardware is capable of using 3 universal planes and > > a sep

Re: [RFC] Exposing plane type mask and handling 'all' planes

2019-06-19 Thread Ville Syrjälä
On Wed, Jun 19, 2019 at 05:03:53PM +0100, Emil Velikov wrote: > Hi all, > > Recently I have been looking at i915 and its rather interesting planes. > > In particular newer hardware is capable of using 3 universal planes and > a separate cursor-only plane. At the same time only 1 top-most plane ca

[RFC] Exposing plane type mask and handling 'all' planes

2019-06-19 Thread Emil Velikov
Hi all, Recently I have been looking at i915 and its rather interesting planes. In particular newer hardware is capable of using 3 universal planes and a separate cursor-only plane. At the same time only 1 top-most plane can be enabled - lets calls those plane3 or cursor. Hence currently the har