summaryrefslogtreecommitdiff
path: root/autolock.cpp
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-04-26 12:05:57 -0700
committerRobert Foss <robert.foss@collabora.com>2018-04-27 14:22:23 +0200
commitacc4dcf1787b9fc43c5748ce06e79f045e07a3ff (patch)
tree8fccc0ea0b2935e2d5dd8c0256dc04b5d43568aa /autolock.cpp
parent3b0c69d3477d3601b1dbcb75fdd748254e297e7e (diff)
drm_hwcomposer: Fall back to client compositon if the gl precompostior fails
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 fall back to client side compositing if the gl precompositor did not initialize properly. This does force everything to a single plane even if we have a few available, but a deeper rework of the validate step planning is needed before we can reliably make use of them. Credit to Rob Herring, who's single plane patch was what this was originally based on. Cc: Marissa Wall <marissaw@google.com> Cc: Sean Paul <seanpaul@google.com> Cc: Dmitry Shmidt <dimitrysh@google.com> Cc: Robert Foss <robert.foss@collabora.com> Cc: Matt Szczesiak <matt.szczesiak@arm.com> Cc: Liviu Dudau <Liviu.Dudau@arm.com> Cc: David Hanna <david.hanna11@gmail.com> Cc: Rob Herring <rob.herring@linaro.org> Cc: Alexandru-Cosmin Gheorghe <Alexandru-Cosmin.Gheorghe@arm.com> Cc: Alistair Strachan <astrachan@google.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'autolock.cpp')
0 files changed, 0 insertions, 0 deletions