[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-21 Thread Daniel Vetter
On Fri, Oct 21, 2016 at 09:26:22AM -0400, Rob Clark wrote: > On Fri, Oct 21, 2016 at 8:35 AM, Daniel Vetter wrote: > > On Fri, Oct 21, 2016 at 09:58:45AM +0100, Brian Starkey wrote: > >> Hi Rob, > >> > >> On Thu, Oct 20, 2016 at 04:17:14PM -0400, Rob Clark wrote: > >> > When you have a mix of plan

[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-21 Thread Daniel Vetter
On Fri, Oct 21, 2016 at 09:58:45AM +0100, Brian Starkey wrote: > Hi Rob, > > On Thu, Oct 20, 2016 at 04:17:14PM -0400, Rob Clark wrote: > > When you have a mix of planes that can scale and those that cannot > > scale, userspace really wants to have some hint to know which planes > > can definitely

[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-21 Thread Brian Starkey
Hi Rob, On Thu, Oct 20, 2016 at 04:17:14PM -0400, Rob Clark wrote: >When you have a mix of planes that can scale and those that cannot >scale, userspace really wants to have some hint to know which planes >can definitely not scale so it knows to assign them to unscaled layers. >I don't think it is

[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-21 Thread Rob Clark
On Fri, Oct 21, 2016 at 8:35 AM, Daniel Vetter wrote: > On Fri, Oct 21, 2016 at 09:58:45AM +0100, Brian Starkey wrote: >> Hi Rob, >> >> On Thu, Oct 20, 2016 at 04:17:14PM -0400, Rob Clark wrote: >> > When you have a mix of planes that can scale and those that cannot >> > scale, userspace really wa

[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-21 Thread Rob Clark
On Fri, Oct 21, 2016 at 4:58 AM, Brian Starkey wrote: > Hi Rob, > > On Thu, Oct 20, 2016 at 04:17:14PM -0400, Rob Clark wrote: >> >> When you have a mix of planes that can scale and those that cannot >> scale, userspace really wants to have some hint to know which planes >> can definitely not scal

[RFC] drm: add hint to userspace about whether a plane can scale

2016-10-20 Thread Rob Clark
When you have a mix of planes that can scale and those that cannot scale, userspace really wants to have some hint to know which planes can definitely not scale so it knows to assign them to unscaled layers. I don't think it is fully possible to describe scaling constraints in a generic way, so I d