Re: [RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-25 Thread Sean Paul
On Tue, Apr 24, 2018 at 2:38 PM John Stultz wrote: > On Tue, Apr 24, 2018 at 3:34 AM, Stefan Schake wrote: > > On Tue, Apr 24, 2018 at 10:09 AM, Alexandru-Cosmin Gheorghe > > wrote: > >> On Mon, Apr 23, 2018 at

Re: [RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-24 Thread John Stultz
On Tue, Apr 24, 2018 at 3:34 AM, Stefan Schake wrote: > On Tue, Apr 24, 2018 at 10:09 AM, Alexandru-Cosmin Gheorghe > wrote: >> On Mon, Apr 23, 2018 at 05:06:44PM -0700, John Stultz wrote: >>> @@ -695,6 +704,15 @@ HWC2::Error >>>

Re: [RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-24 Thread Stefan Schake
On Tue, Apr 24, 2018 at 10:09 AM, Alexandru-Cosmin Gheorghe wrote: > On Mon, Apr 23, 2018 at 05:06:44PM -0700, John Stultz wrote: >> If the gl precompositor isn't being used, we cannot accept >> every layer as a device composited layer. >> >> Thus this patch

Re: [RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-24 Thread Alexandru-Cosmin Gheorghe
On Mon, Apr 23, 2018 at 05:06:44PM -0700, John Stultz wrote: > If the gl precompositor isn't being used, we cannot accept > every layer as a device composited layer. > > Thus this patch adds some extra logic in the validate function > to try to map layers to available device planes, falling back

Re: [RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-23 Thread John Stultz
On Mon, Apr 23, 2018 at 5:06 PM, John Stultz wrote: > If the gl precompositor isn't being used, we cannot accept > every layer as a device composited layer. > > Thus this patch adds some extra logic in the validate function > to try to map layers to available device

[RFC][PATCH 2/2] drm_hwcomposer: Fall back to client compositon if the gl precompostior fails

2018-04-23 Thread John Stultz
If the gl precompositor isn't being used, we cannot accept every layer as a device composited layer. Thus this patch adds some extra logic in the validate function to try to map layers to available device planes, falling back to client side compositing if we run-out of planes. Credit to Rob